![]() |
Blamite Game Engine - blam!
00263.10.17.20.0001.blamite
The core library for the Blamite Game Engine.
|
#include "engine_text.h"
#include <fstream>
#include "components/3rdparty/rapidxml/rapidxml.hpp"
#include "components/core/utils/converters/converters.h"
#include "components/core/utils/io/io.h"
#include "components/core/utils/res/res.h"
#include "components/diagnostics/logger/logger.h"
#include "components/settings/config/config.h"
#include "res/resource.h"
Functions | |
bool | try_parse_xml_string (rapidxml::xml_node<> *string_node, BlamString *_string) |
Attempts to parse an XML node into a BlamString, and add it to game_engine_text. More... | |
void | generate_engine_text_file () |
Variables | |
std::map< std::string, BlamString > | game_engine_text |
Map containing all game engine text. More... | |
std::map< int, BlamString * > | error_strings |
Map containing a list of all error strings. More... | |
void generate_engine_text_file | ( | ) |
bool try_parse_xml_string | ( | rapidxml::xml_node<> * | string_node, |
BlamString * | _string | ||
) |
Attempts to parse an XML node into a BlamString, and add it to game_engine_text.
string_node | - The XML node to try and parse. |
_string | - If the XML node was parsed successfully, this will be set to the resulting BlamString. |
true
if the string was added, otherwise returns false
. std::map<int, BlamString*> error_strings |
Map containing a list of all error strings.
std::map<std::string, BlamString> game_engine_text |
Map containing all game engine text.