|
OpenTTD
|
Tables of commands for strgen. More...
#include "../core/enum_type.hpp"Go to the source code of this file.
Data Structures | |
| struct | CmdStruct |
| struct | PluralForm |
| Description of a plural form. More... | |
Typedefs | |
| typedef void(* | ParseCmdProc )(Buffer *buffer, char *buf, int value) |
Enumerations | |
| enum | CmdFlags { C_NONE = 0x0, C_DONTCOUNT = 0x1, C_CASE = 0x2, C_GENDER = 0x4 } |
Functions | |
| void | EmitSingleChar (Buffer *buffer, char *buf, int value) |
| void | EmitPlural (Buffer *buffer, char *buf, int value) |
| void | EmitGender (Buffer *buffer, char *buf, int value) |
Variables | |
| static const CmdStruct | _cmd_structs [] |
| static const int | MAX_PLURALS = 5 |
| The maximum number of plurals. | |
| static const PluralForm | _plural_forms [] |
| All plural forms used. | |
| static const char *const | _pragmas [][4] |
| All pragmas used. | |
Tables of commands for strgen.
Definition in file strgen_tables.h.
| enum CmdFlags |
| C_NONE |
Nothing special about this command. |
| C_DONTCOUNT |
These commands aren't counted for comparison. |
| C_CASE |
These commands support cases. |
| C_GENDER |
These commands support genders. |
Definition at line 14 of file strgen_tables.h.
|
static |
All plural forms used.
Definition at line 162 of file strgen_tables.h.
Referenced by HeaderFileWriter::Finalise(), and StringReader::HandlePragma().
|
static |
All pragmas used.
Definition at line 192 of file strgen_tables.h.
|
static |
The maximum number of plurals.
Definition at line 159 of file strgen_tables.h.
1.8.1.2