OpenTTD Source: GameStrings Struct Reference

OpenTTD Source 13.1

Public Member Functions | Data Fields
GameStrings Struct Reference

Container for all the game strings. More...

`#include <game_text.hpp>`

## Public Member Functions
void | Compile ()
| Compile the language.
| GameStrings (const GameStrings &)=delete
| GameStrings (GameStrings &&)=delete
GameStrings & | operator= (const GameStrings &)=delete
GameStrings & | operator= (GameStrings &&)=delete

## Data Fields
uint | version
| The version of the language strings.
LanguageStrings * | cur_language
| The current (compiled) language.
std::vector< LanguageStrings > | raw_strings
| The raw strings per language, first must be English/the master language!.
std::vector< LanguageStrings > | compiled_strings
| The compiled strings per language, first must be English/the master language!.
StringList | string_names
| The names of the compiled strings.

## Detailed Description

Container for all the game strings.

Definition at line 33 of file game_text.hpp.

The documentation for this struct was generated from the following files:

- src/game/game_text.hpp
- src/game/game_text.cpp