summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-11-23 16:04:28 +0000
committertruebrain <truebrain@openttd.org>2011-11-23 16:04:28 +0000
commit4e09cde6495f35a6d56cacc0dbf636df7bc94dbd (patch)
treefa1f58ed1e44a0481c4621fa8f955aacc9b8cfd2 /src/table
parent389ffec7dbd8ba69fddb477840fcb6f34221583c (diff)
downloadopenttd-4e09cde6495f35a6d56cacc0dbf636df7bc94dbd.tar.xz
(svn r23297) -Add: {CARGO_TINY} (Rubidium)
Diffstat (limited to 'src/table')
-rw-r--r--src/table/control_codes.h1
-rw-r--r--src/table/strgen_tables.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/table/control_codes.h b/src/table/control_codes.h
index 61399c834..a1cfe7576 100644
--- a/src/table/control_codes.h
+++ b/src/table/control_codes.h
@@ -50,6 +50,7 @@ enum StringControlCode {
SCC_CARGO_LONG,
SCC_CARGO_SHORT,
+ SCC_CARGO_TINY,
SCC_POWER,
SCC_VOLUME_LONG,
SCC_VOLUME_SHORT,
diff --git a/src/table/strgen_tables.h b/src/table/strgen_tables.h
index e3e9ec9df..12c9e17e4 100644
--- a/src/table/strgen_tables.h
+++ b/src/table/strgen_tables.h
@@ -69,6 +69,7 @@ static const CmdStruct _cmd_structs[] = {
{"INDUSTRY", EmitSingleChar, SCC_INDUSTRY_NAME, 1, C_CASE | C_GENDER}, // industry, takes an industry #, can have cases
{"CARGO_LONG", EmitSingleChar, SCC_CARGO_LONG, 2, C_NONE | C_GENDER},
{"CARGO_SHORT", EmitSingleChar, SCC_CARGO_SHORT, 2, C_NONE}, // short cargo description, only ### tons, or ### litres
+ {"CARGO_TINY", EmitSingleChar, SCC_CARGO_TINY, 2, C_NONE}, // tiny cargo description with only the amount, not a specifier for the amount or the actual cargo name
{"POWER", EmitSingleChar, SCC_POWER, 1, C_NONE},
{"VOLUME_LONG", EmitSingleChar, SCC_VOLUME_LONG, 1, C_NONE},
{"VOLUME_SHORT", EmitSingleChar, SCC_VOLUME_SHORT, 1, C_NONE},