summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-05-04 22:04:28 +0000
committerrubidium <rubidium@openttd.org>2010-05-04 22:04:28 +0000
commitb11dfa8cb835692a8136120c4ee32ee2608d7f80 (patch)
treef1775ab693acf4a0a293e512614896d0275e7b5a /src/table
parent5db70ad649129bc9cbdbed58cc62c34f0ee1d376 (diff)
downloadopenttd-b11dfa8cb835692a8136120c4ee32ee2608d7f80.tar.xz
(svn r19758) -Add: {HEIGHT} string command
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 29ad80b26..4df3badee 100644
--- a/src/table/control_codes.h
+++ b/src/table/control_codes.h
@@ -56,6 +56,7 @@ enum StringControlCode {
SCC_WEIGHT_SHORT,
SCC_FORCE,
SCC_VELOCITY,
+ SCC_HEIGHT,
SCC_DATE_TINY,
SCC_DATE_SHORT,
diff --git a/src/table/strgen_tables.h b/src/table/strgen_tables.h
index b657f80ac..c0271434a 100644
--- a/src/table/strgen_tables.h
+++ b/src/table/strgen_tables.h
@@ -77,6 +77,7 @@ static const CmdStruct _cmd_structs[] = {
{"WEIGHT_S", EmitSingleChar, SCC_WEIGHT_SHORT, 1, C_NONE},
{"FORCE", EmitSingleChar, SCC_FORCE, 1, C_NONE},
{"VELOCITY", EmitSingleChar, SCC_VELOCITY, 1, C_NONE},
+ {"HEIGHT", EmitSingleChar, SCC_HEIGHT, 1, C_NONE},
{"P", EmitPlural, 0, 0, C_DONTCOUNT}, // plural specifier
{"G", EmitGender, 0, 0, C_DONTCOUNT}, // gender specifier