OpenXcom
1.0
Open-source clone of the original X-Com
|
For adding a set of extra strings to the game. More...
#include <ExtraStrings.h>
Public Member Functions | |
ExtraStrings () | |
Creates a blank external strings set. More... | |
virtual | ~ExtraStrings () |
Cleans up the external strings set. More... | |
void | load (const YAML::Node &node) |
Loads the data from YAML. More... | |
std::map< std::string, std::string > * | getStrings () |
Gets the list of strings defined by this mod. More... | |
For adding a set of extra strings to the game.
OpenXcom::ExtraStrings::ExtraStrings | ( | ) |
Creates a blank external strings set.
Creates a blank set of extra strings data.
|
virtual |
Cleans up the external strings set.
Cleans up the extra strings set.
std::map< std::string, std::string > * OpenXcom::ExtraStrings::getStrings | ( | ) |
Gets the list of strings defined by this mod.
Gets the list of strings defined my this mod.
void OpenXcom::ExtraStrings::load | ( | const YAML::Node & | node | ) |
Loads the data from YAML.
Loads the extra strings set from YAML.
node | YAML node. |