19 #ifndef OPENXCOM_SOUNDSET_H
20 #define OPENXCOM_SOUNDSET_H
38 std::map<int, Sound*> _sounds;
45 void loadCat(
const std::string &filename,
bool wav =
true);
Sound * getSound(unsigned int i)
Gets a particular sound from the set.
Definition: SoundSet.cpp:163
size_t getTotalSounds() const
Gets the total sounds in the set.
Definition: SoundSet.cpp:189
void loadCat(const std::string &filename, bool wav=true)
Loads an X-Com CAT set of sound files.
Definition: SoundSet.cpp:55
Container of a set of sounds.
Definition: SoundSet.h:35
Container for sound effects.
Definition: Sound.h:32
~SoundSet()
Cleans up the sound set.
Definition: SoundSet.cpp:38
SoundSet()
Crates a sound set.
Definition: SoundSet.cpp:30
Sound * addSound(unsigned int i)
Creates a new sound and returns a pointer to it.
Definition: SoundSet.cpp:178