mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
(svn r25192) -Change: [strgen] Allow any number of colour codes in translations.
This commit is contained in:
parent
b09bf08044
commit
bcd5038af9
@ -40,23 +40,23 @@ static const CmdStruct _cmd_structs[] = {
|
||||
{"BIG_FONT", EmitSingleChar, SCC_BIGFONT, 0, C_NONE},
|
||||
|
||||
/* Colours */
|
||||
{"BLUE", EmitSingleChar, SCC_BLUE, 0, C_NONE},
|
||||
{"SILVER", EmitSingleChar, SCC_SILVER, 0, C_NONE},
|
||||
{"GOLD", EmitSingleChar, SCC_GOLD, 0, C_NONE},
|
||||
{"RED", EmitSingleChar, SCC_RED, 0, C_NONE},
|
||||
{"PURPLE", EmitSingleChar, SCC_PURPLE, 0, C_NONE},
|
||||
{"LTBROWN", EmitSingleChar, SCC_LTBROWN, 0, C_NONE},
|
||||
{"ORANGE", EmitSingleChar, SCC_ORANGE, 0, C_NONE},
|
||||
{"GREEN", EmitSingleChar, SCC_GREEN, 0, C_NONE},
|
||||
{"YELLOW", EmitSingleChar, SCC_YELLOW, 0, C_NONE},
|
||||
{"DKGREEN", EmitSingleChar, SCC_DKGREEN, 0, C_NONE},
|
||||
{"CREAM", EmitSingleChar, SCC_CREAM, 0, C_NONE},
|
||||
{"BROWN", EmitSingleChar, SCC_BROWN, 0, C_NONE},
|
||||
{"WHITE", EmitSingleChar, SCC_WHITE, 0, C_NONE},
|
||||
{"LTBLUE", EmitSingleChar, SCC_LTBLUE, 0, C_NONE},
|
||||
{"GRAY", EmitSingleChar, SCC_GRAY, 0, C_NONE},
|
||||
{"DKBLUE", EmitSingleChar, SCC_DKBLUE, 0, C_NONE},
|
||||
{"BLACK", EmitSingleChar, SCC_BLACK, 0, C_NONE},
|
||||
{"BLUE", EmitSingleChar, SCC_BLUE, 0, C_DONTCOUNT},
|
||||
{"SILVER", EmitSingleChar, SCC_SILVER, 0, C_DONTCOUNT},
|
||||
{"GOLD", EmitSingleChar, SCC_GOLD, 0, C_DONTCOUNT},
|
||||
{"RED", EmitSingleChar, SCC_RED, 0, C_DONTCOUNT},
|
||||
{"PURPLE", EmitSingleChar, SCC_PURPLE, 0, C_DONTCOUNT},
|
||||
{"LTBROWN", EmitSingleChar, SCC_LTBROWN, 0, C_DONTCOUNT},
|
||||
{"ORANGE", EmitSingleChar, SCC_ORANGE, 0, C_DONTCOUNT},
|
||||
{"GREEN", EmitSingleChar, SCC_GREEN, 0, C_DONTCOUNT},
|
||||
{"YELLOW", EmitSingleChar, SCC_YELLOW, 0, C_DONTCOUNT},
|
||||
{"DKGREEN", EmitSingleChar, SCC_DKGREEN, 0, C_DONTCOUNT},
|
||||
{"CREAM", EmitSingleChar, SCC_CREAM, 0, C_DONTCOUNT},
|
||||
{"BROWN", EmitSingleChar, SCC_BROWN, 0, C_DONTCOUNT},
|
||||
{"WHITE", EmitSingleChar, SCC_WHITE, 0, C_DONTCOUNT},
|
||||
{"LTBLUE", EmitSingleChar, SCC_LTBLUE, 0, C_DONTCOUNT},
|
||||
{"GRAY", EmitSingleChar, SCC_GRAY, 0, C_DONTCOUNT},
|
||||
{"DKBLUE", EmitSingleChar, SCC_DKBLUE, 0, C_DONTCOUNT},
|
||||
{"BLACK", EmitSingleChar, SCC_BLACK, 0, C_DONTCOUNT},
|
||||
|
||||
{"REV", EmitSingleChar, SCC_REVISION, 0, C_NONE}, // openttd revision string
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user