![]() |
Blamite Game Engine - Strings
00390.07.02.23.1947.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
#include <string>
#include <map>
#include <vector>
Go to the source code of this file.
Classes | |
struct | BlamStringAttribute |
Structure representing a Blamite string attribute. More... | |
class | BlamEngineString |
Class representing a Blamite string. More... | |
Namespaces | |
BlamStrings | |
Namespace for Blamite's shared C++ library. | |
BlamStrings::Resources | |
Functions used in loading and accessing resources. | |
BlamStrings::Resources::Strings | |
Namespace containing functions for Blamite string resources. | |
Macros | |
#define | STRING_TEXT(string_id) BlamStrings::Resources::Strings::LookupString(string_id) |
#define | ERROR_TEXT(error_code) BlamStrings::Resources::Strings::LookupErrorString(error_code) |
#define | STRINGS_API __declspec(dllimport) |
Enumerations | |
enum | BlamLanguage { en_US } |
Enum containing all supported languages within the engine. More... | |
Functions | |
STRINGS_API bool | BlamStrings::Resources::Strings::LoadCommonStrings (std::string base_dir) |
Loads the string tables editor_strings , error_strings , shared_strings , and config_strings . More... | |
STRINGS_API bool | BlamStrings::Resources::Strings::LoadStrings (std::string file_path) |
Loads all strings in the given file into the universal string list. More... | |
STRINGS_API bool | BlamStrings::Resources::Strings::LoadErrorStrings (std::string file_path) |
Loads all strings in the given file as error description strings. More... | |
STRINGS_API std::string | BlamStrings::Resources::Strings::LookupString (std::string id) |
Finds a string with a given ID. More... | |
STRINGS_API std::string | BlamStrings::Resources::Strings::LookupErrorString (int error_code) |
Finds a string message associated with a given error code. More... | |
STRINGS_API std::map< std::string, BlamEngineString > * | BlamStrings::Resources::Strings::GetUniversalStrings () |
Retrieves the list of all loaded strings. More... | |
STRINGS_API std::map< int, BlamEngineString * > * | BlamStrings::Resources::Strings::GetErrorStrings () |
Retrieves the list of all loaded error code strings. More... | |
STRINGS_API bool | BlamStrings::Resources::Strings::StringExists (std::string id) |
Looks through the list of loaded engine strings to see if a given string has been loaded. More... | |
STRINGS_API bool | BlamStrings::Resources::Strings::ErrorStringExists (int error_code) |
Looks through the list of loaded error strings to see if a given error string has been loaded. More... | |
#define ERROR_TEXT | ( | error_code | ) | BlamStrings::Resources::Strings::LookupErrorString(error_code) |
#define STRING_TEXT | ( | string_id | ) | BlamStrings::Resources::Strings::LookupString(string_id) |
#define STRINGS_API __declspec(dllimport) |
enum BlamLanguage |