forked from mirror/OpenTTD
(svn r4126) - Feature: A new multi-lingual multi-measuring-unit system:
- Replace miles/kilometres game option with a general measuring units option. - Add {POWER}, {WEIGHT}, {WEIGHT_S} and {VOLUME_S} (_S for short) tags to the language/string system. - Add SI as option for measuring units. Language file updates to use the system will come soon.
This commit is contained in:
@@ -438,6 +438,10 @@ static const CmdStruct _cmd_structs[] = {
|
||||
{"VOLUME", EmitEscapedByte, 12, 1, 0},
|
||||
{"DATE_TINY", EmitEscapedByte, 14, 1, 0},
|
||||
{"CARGO", EmitEscapedByte, 15, 2, 0},
|
||||
{"POWER", EmitEscapedByte, 16, 1, 0},
|
||||
{"VOLUME_S", EmitEscapedByte, 17, 1, 0},
|
||||
{"WEIGHT", EmitEscapedByte, 18, 1, 0},
|
||||
{"WEIGHT_S", EmitEscapedByte, 19, 1, 0},
|
||||
|
||||
{"P", EmitPlural, 0, 0, C_DONTCOUNT}, // plural specifier
|
||||
{"G", EmitGender, 0, 0, C_DONTCOUNT}, // gender specifier
|
||||
|
Reference in New Issue
Block a user