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