MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / addSound

Method addSound

src/Engine/SoundSet.cpp:178–182  ·  view source on GitHub ↗

* Creates and returns a particular wave in the sound set. * @param i Sound number in the set. * @return Pointer to the respective sound. */

Source from the content-addressed store, hash-verified

176 * @return Pointer to the respective sound.
177 */
178Sound *SoundSet::addSound(unsigned int i)
179{
180 _sounds[i] = new Sound();
181 return _sounds[i];
182}
183
184/**
185 * Returns the total amount of sounds currently

Callers 1

XcomResourcePackMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected