OpenTTD
|
Container for all the game strings. More...
#include <game_text.hpp>
Public Member Functions | |
void | Compile () |
Compile the language. More... | |
Data Fields | |
uint | version |
The version of the language strings. | |
std::shared_ptr< LanguageStrings > | cur_language |
The current (compiled) language. | |
std::vector< std::unique_ptr< LanguageStrings > > | raw_strings |
The raw strings per language, first must be English/the master language!. | |
std::vector< std::shared_ptr< LanguageStrings > > | compiled_strings |
The compiled strings per language, first must be English/the master language!. | |
StringList | string_names |
The names of the compiled strings. | |
Container for all the game strings.
Definition at line 29 of file game_text.hpp.
void GameStrings::Compile | ( | ) |
Compile the language.
Definition at line 303 of file game_text.cpp.
References StringReader::ParseFile().