OpenXcom
1.0
Open-source clone of the original X-Com
|
For adding a set of extra sound data to the game. More...
#include <ExtraSounds.h>
Public Member Functions | |
ExtraSounds () | |
Creates a blank external sound set. More... | |
virtual | ~ExtraSounds () |
Cleans up the external sound set. More... | |
void | load (const YAML::Node &node, int modIndex) |
Loads the data from yaml. More... | |
std::map< int, std::string > * | getSounds () |
Gets the list of sounds defined by this mod. More... | |
int | getModIndex () |
get the mod index for this external sound set. More... | |
For adding a set of extra sound data to the game.
OpenXcom::ExtraSounds::ExtraSounds | ( | ) |
Creates a blank external sound set.
Creates a blank set of extra sound data.
|
virtual |
Cleans up the external sound set.
Cleans up the extra sound set.
int OpenXcom::ExtraSounds::getModIndex | ( | ) |
get the mod index for this external sound set.
Gets the mod index for this external sounds set.
std::map< int, std::string > * OpenXcom::ExtraSounds::getSounds | ( | ) |
Gets the list of sounds defined by this mod.
void OpenXcom::ExtraSounds::load | ( | const YAML::Node & | node, |
int | modIndex | ||
) |
Loads the data from yaml.
Loads the extra sound set from YAML.
node | YAML node. |
modIndex | The internal index of the associated mod. |