| OpenTTD
    | 
Container for all the game strings. More...
#include <game_text.hpp>
| Public Member Functions | |
| void | Compile () | 
| Compile the language. | |
| Data Fields | |
| uint | version | 
| The version of the language strings. | |
| LanguageStrings * | cur_language | 
| The current (compiled) language. | |
| AutoDeleteSmallVector < LanguageStrings *, 4 > | raw_strings | 
| The raw strings per language, first must be English/the master language!. | |
| AutoDeleteSmallVector < LanguageStrings *, 4 > | 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 34 of file game_text.hpp.
| void GameStrings::Compile | ( | ) | 
Compile the language.
Definition at line 309 of file game_text.cpp.
References SmallVector< T, S >::Append(), SmallVector< T, S >::Begin(), compiled_strings, SmallVector< T, S >::End(), StringData::FreeTranslation(), LanguageStrings::lines, StringReader::ParseFile(), raw_strings, string_names, version, StringData::Version(), HeaderWriter::WriteHeader(), and LanguageWriter::WriteLang().
Referenced by LoadTranslations().
 1.8.1.2
 1.8.1.2