OpenTTD Source
1.11.2
|
Container for the different cases of a string. More...
#include <strgen.h>
Public Member Functions | |
Case (int caseidx, const char *string, Case *next) | |
Create a new case. More... | |
~Case () | |
Free everything we allocated. | |
Data Fields | |
int | caseidx |
The index of the case. | |
char * | string |
The translation of the case. | |
Case * | next |
The next, chained, case. | |
Case::Case | ( | int | caseidx, |
const char * | string, | ||
Case * | next | ||
) |
Create a new case.
caseidx | The index of the case. |
string | The translation of the case. |
next | The next chained case. |
Definition at line 40 of file strgen_base.cpp.