summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-04-24 07:30:08 +0000
committerrubidium <rubidium@openttd.org>2010-04-24 07:30:08 +0000
commitcdfd81405e76b0a35feb2ca1512628fcc3569a93 (patch)
treee792f9533f3e177a988e24e7ff95e78a8a6fb3dc
parentca9a015984fa7c0c49ddb587635cd65b594c723a (diff)
downloadopenttd-cdfd81405e76b0a35feb2ca1512628fcc3569a93.tar.xz
(svn r19702) -Add: {HEX} to strgen
-rw-r--r--src/table/strgen_tables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/table/strgen_tables.h b/src/table/strgen_tables.h
index 42a30230d..b657f80ac 100644
--- a/src/table/strgen_tables.h
+++ b/src/table/strgen_tables.h
@@ -94,6 +94,7 @@ static const CmdStruct _cmd_structs[] = {
{"NUM", EmitSingleChar, SCC_NUM, 1, C_NONE}, // Signed number
{"ZEROFILL_NUM", EmitSingleChar, SCC_ZEROFILL_NUM, 2, C_NONE}, // Unsigned number with zero fill, e.g. "02". First parameter is number, second minimum length
{"BYTES", EmitSingleChar, SCC_BYTES, 1, C_NONE}, // Unsigned number with "bytes", i.e. "1.02 MiB or 123 KiB"
+ {"HEX", EmitSingleChar, SCC_HEX, 1, C_NONE}, // Hexadecimally printed number
{"CURRENCY", EmitSingleChar, SCC_CURRENCY, 1, C_NONE},