Helper structure for mapping choice lists.
More...
|
|
StringControlCode | type |
| | The type of choice list.
|
| |
|
int | offset |
| | The offset for the plural/gender form.
|
| |
|
std::map< byte, std::stringstream > | strings |
| | Mapping of NewGRF supplied ID to the different strings in the choice list.
|
| |
Helper structure for mapping choice lists.
Definition at line 108 of file newgrf_text.cpp.
◆ UnmappedChoiceList()
Initialise the mapping.
- Parameters
-
| type | The type of mapping. |
| offset | The offset to get the plural/gender from. |
Definition at line 114 of file newgrf_text.cpp.
◆ Flush()
| void UnmappedChoiceList::Flush |
( |
const LanguageMap * |
lm, |
|
|
std::ostringstream & |
dest |
|
) |
| |
|
inline |
Flush this choice list into the destination string.
- Parameters
-
| lm | The current language mapping. |
| dest | Target to write to. |
Definition at line 130 of file newgrf_text.cpp.
The documentation for this struct was generated from the following file: