summaryrefslogtreecommitdiff
path: root/src/table/strgen_tables.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2010-12-19 20:15:32 +0000
committersmatz <smatz@openttd.org>2010-12-19 20:15:32 +0000
commit79681051c8e139b3358b92cbdd2d6741fe74b4fd (patch)
tree175c7c2c2bd9e426daf1842c5f59fd56ed6d3562 /src/table/strgen_tables.h
parent3b46cf50b9b14148c0ebea98699edd11ef1ed662 (diff)
downloadopenttd-79681051c8e139b3358b92cbdd2d6741fe74b4fd.tar.xz
(svn r21541) -Add: {DATE_SHORT} and {DATE_LONG} can now have cases
Diffstat (limited to 'src/table/strgen_tables.h')
-rw-r--r--src/table/strgen_tables.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/table/strgen_tables.h b/src/table/strgen_tables.h
index aeebfb903..ecc3bbedd 100644
--- a/src/table/strgen_tables.h
+++ b/src/table/strgen_tables.h
@@ -68,8 +68,8 @@ static const CmdStruct _cmd_structs[] = {
{"STRING5", EmitSingleChar, SCC_STRING5, 6, C_CASE | C_GENDER}, // included string that consumes the string id and FIVE arguments
{"STATIONFEATURES", EmitSingleChar, SCC_STATION_FEATURES, 1, C_NONE}, // station features string, icons of the features
- {"INDUSTRY", EmitSingleChar, SCC_INDUSTRY_NAME, 1, C_GENDER | C_CASE}, // industry, takes an industry #, can have cases
- {"CARGO", EmitSingleChar, SCC_CARGO, 2, C_GENDER},
+ {"INDUSTRY", EmitSingleChar, SCC_INDUSTRY_NAME, 1, C_CASE | C_GENDER}, // industry, takes an industry #, can have cases
+ {"CARGO", EmitSingleChar, SCC_CARGO, 2, C_NONE | C_GENDER},
{"POWER", EmitSingleChar, SCC_POWER, 1, C_NONE},
{"VOLUME", EmitSingleChar, SCC_VOLUME, 1, C_NONE},
{"VOLUME_S", EmitSingleChar, SCC_VOLUME_SHORT, 1, C_NONE},
@@ -83,8 +83,8 @@ static const CmdStruct _cmd_structs[] = {
{"G", EmitGender, 0, 0, C_DONTCOUNT}, // gender specifier
{"DATE_TINY", EmitSingleChar, SCC_DATE_TINY, 1, C_NONE},
- {"DATE_SHORT", EmitSingleChar, SCC_DATE_SHORT, 1, C_NONE},
- {"DATE_LONG", EmitSingleChar, SCC_DATE_LONG, 1, C_NONE},
+ {"DATE_SHORT", EmitSingleChar, SCC_DATE_SHORT, 1, C_CASE},
+ {"DATE_LONG", EmitSingleChar, SCC_DATE_LONG, 1, C_CASE},
{"DATE_ISO", EmitSingleChar, SCC_DATE_ISO, 1, C_NONE},
{"STRING", EmitSingleChar, SCC_STRING, 1, C_CASE | C_GENDER},