 |
Blamite Game Engine - blam!
00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
6 #define PLACEHOLDERS_FILE_NAME "placeholders.xml"
26 namespace Placeholders
Namespace surrounding all major engine components.
Definition: blam_api.h:18
std::string id
The ID of the placeholder.
Definition: placeholders.h:33
std::string value_parsed
The value of the placeholder after having environment variables expanded.
Definition: placeholders.h:35
bool reserved
Whether or not the placeholder's value is reserved and unmodifiable.
Definition: placeholders.h:36
#define BLAM
Definition: placeholders.h:9
bool parse_env_var
Whether or not to parse environment variables from the placeholder.
Definition: placeholders.h:37
BLAM std::string ApplyPlaceholders(std::string string)
Replaces any and all placeholder tags in the specified string with their evaulated values.
Definition: placeholders.cpp:22
BLAM Placeholder GetAt(int i)
Retrieves the placeholder at the specified index.
Definition: placeholders.cpp:43
BLAM int LoadPlaceholders()
Load placeholder data from placeholders.xml.
Definition: placeholders.cpp:67
Structure to contain Placeholder data.
Definition: placeholders.h:31
BLAM int GetCount()
Retrieves the amount of placeholders loaded.
Definition: placeholders.cpp:38
std::string value_raw
The raw value of the placeholder.
Definition: placeholders.h:34