Blamite Game Engine - blam!  00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
engine_text.h File Reference
#include <string>
#include <map>
#include <Strings/components/resources/strings/strings.h>

Go to the source code of this file.

Namespaces

 Blam
 Namespace surrounding all major engine components.
 
 Blam::EngineText
 Namespace for things related to game engine strings.
 

Macros

#define ENGINE_TEXT(string_id)   Blam::EngineText::LookupString(string_id)
 
#define GAME_ENGINE_TEXT_FILE   "game_engine_text.xml"
 The file used to read game engine strings from. More...
 
#define BLAM
 

Functions

BLAM bool Blam::EngineText::LoadGameEngineStrings ()
 Loads all strings from the default game engine text file. More...
 
BLAM std::string Blam::EngineText::LookupString (std::string id)
 Finds a string with a given ID. More...
 
BLAM std::string Blam::EngineText::LookupErrorString (int error_code)
 Finds a string message associated with a given error code. More...
 
BLAM std::map< std::string, BlamEngineString > * Blam::EngineText::GetEngineStrings ()
 Retrieves the list of all loaded engine strings. More...
 
BLAM std::map< int, BlamEngineString * > * Blam::EngineText::GetErrorStrings ()
 Retrieves the list of all loaded error code strings. More...
 
BLAM bool Blam::EngineText::StringExists (std::string id)
 Looks through the list of loaded engine strings to see if a given string has been loaded. More...
 

Macro Definition Documentation

◆ BLAM

#define BLAM

◆ ENGINE_TEXT

#define ENGINE_TEXT (   string_id)    Blam::EngineText::LookupString(string_id)

◆ GAME_ENGINE_TEXT_FILE

#define GAME_ENGINE_TEXT_FILE   "game_engine_text.xml"

The file used to read game engine strings from.