|
OpenTTD
|
Container for the raw (unencoded) language strings of a language. More...
#include <game_text.hpp>
Public Member Functions | |
| LanguageStrings (const char *language, const char *end=NULL) | |
| Create a new container for language strings. | |
| ~LanguageStrings () | |
| Free everything. | |
Data Fields | |
| const char * | language |
| Name of the language (base filename). | |
| StringList | lines |
| The lines of the file to pass into the parser/encoder. | |
Container for the raw (unencoded) language strings of a language.
Definition at line 25 of file game_text.hpp.
| LanguageStrings::LanguageStrings | ( | const char * | language, |
| const char * | end = NULL |
||
| ) |
Create a new container for language strings.
| language | The language name. |
| end | If not NULL, terminate language at this position. |
Definition at line 67 of file game_text.cpp.
References stredup().
| LanguageStrings::~LanguageStrings | ( | ) |
1.8.1.2