diff options
author | frosch <frosch@openttd.org> | 2012-01-15 15:49:01 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-01-15 15:49:01 +0000 |
commit | 0011f9ce45438075bdc4101054fec9b107cb37be (patch) | |
tree | 04588b7d38f76a5ce372e13e93246e9bd62f34ef /src/table | |
parent | 15292fa08091e138d9a325ca75a2209225b699b1 (diff) | |
download | openttd-0011f9ce45438075bdc4101054fec9b107cb37be.tar.xz |
(svn r23805) -Add: {STRING6} and {STRING7}.
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/control_codes.h | 3 | ||||
-rw-r--r-- | src/table/strgen_tables.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/table/control_codes.h b/src/table/control_codes.h index 2237a51d4..28266c155 100644 --- a/src/table/control_codes.h +++ b/src/table/control_codes.h @@ -65,11 +65,14 @@ enum StringControlCode { SCC_DATE_LONG, SCC_DATE_ISO, + /* Must be consecutive */ SCC_STRING1, SCC_STRING2, SCC_STRING3, SCC_STRING4, SCC_STRING5, + SCC_STRING6, + SCC_STRING7, SCC_ENCODED, diff --git a/src/table/strgen_tables.h b/src/table/strgen_tables.h index 64a6da87e..276a94cce 100644 --- a/src/table/strgen_tables.h +++ b/src/table/strgen_tables.h @@ -65,6 +65,8 @@ static const CmdStruct _cmd_structs[] = { {"STRING3", EmitSingleChar, SCC_STRING3, 4, C_CASE | C_GENDER}, // included string that consumes the string id and THREE arguments {"STRING4", EmitSingleChar, SCC_STRING4, 5, C_CASE | C_GENDER}, // included string that consumes the string id and FOUR arguments {"STRING5", EmitSingleChar, SCC_STRING5, 6, C_CASE | C_GENDER}, // included string that consumes the string id and FIVE arguments + {"STRING6", EmitSingleChar, SCC_STRING6, 7, C_CASE | C_GENDER}, // included string that consumes the string id and SIX arguments + {"STRING7", EmitSingleChar, SCC_STRING7, 8, C_CASE | C_GENDER}, // included string that consumes the string id and SEVEN arguments {"STATION_FEATURES", EmitSingleChar, SCC_STATION_FEATURES, 1, C_NONE}, // station features string, icons of the features {"INDUSTRY", EmitSingleChar, SCC_INDUSTRY_NAME, 1, C_CASE | C_GENDER}, // industry, takes an industry #, can have cases |