summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-04-17 18:22:37 +0000
committerfrosch <frosch@openttd.org>2013-04-17 18:22:37 +0000
commitbcd5038af94d194aedf0ddfd28f06491dc279150 (patch)
tree5ae7b7824790ef175d11de9875fbc759d73c2103 /src/table
parentb09bf0804440b71ef12b5e3c1e7151dfe2acdce1 (diff)
downloadopenttd-bcd5038af94d194aedf0ddfd28f06491dc279150.tar.xz
(svn r25192) -Change: [strgen] Allow any number of colour codes in translations.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/strgen_tables.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/table/strgen_tables.h b/src/table/strgen_tables.h
index 274d70abf..8e97ea32b 100644
--- a/src/table/strgen_tables.h
+++ b/src/table/strgen_tables.h
@@ -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