strgen/strgen.c
changeset 2053 d8b10646ac16
parent 2052 56c0c2882ae8
child 2057 ea22eec10527
equal deleted inserted replaced
2052:56c0c2882ae8 2053:d8b10646ac16
   240 	// Numbers
   240 	// Numbers
   241 	{"COMMA32", EmitSingleByte, 0x7B}, // These all do the same thing nowadays
   241 	{"COMMA32", EmitSingleByte, 0x7B}, // These all do the same thing nowadays
   242 	{"COMMA16", EmitSingleByte, 0x7B},
   242 	{"COMMA16", EmitSingleByte, 0x7B},
   243 	{"COMMA8", EmitSingleByte, 0x7B},
   243 	{"COMMA8", EmitSingleByte, 0x7B},
   244 
   244 
   245 	{"NUMU16", EmitSingleByte, 0x7E},
   245 	{"NUMU16", EmitSingleByte, 0x7E}, // These two do the same thing nowadays
       
   246 	{"INT32", EmitSingleByte, 0x7E},	// signed 32 bit integer
   246 
   247 
   247 	{"CURRENCY", EmitSingleByte, 0x7F},
   248 	{"CURRENCY", EmitSingleByte, 0x7F},
   248 
   249 
   249 	// 0x85
   250 	// 0x85
   250 	{"CURRCOMPACT", EmitEscapedByte, 0},		// compact currency (32 bits)
   251 	{"CURRCOMPACT", EmitEscapedByte, 0},		// compact currency (32 bits)
   251 	{"INT32", EmitEscapedByte, 1},					// signed 32 bit integer
       
   252 	{"REV", EmitEscapedByte, 2},						// openttd revision string
   252 	{"REV", EmitEscapedByte, 2},						// openttd revision string
   253 	{"SHORTCARGO", EmitEscapedByte, 3},			// short cargo description, only ### tons, or ### litres
   253 	{"SHORTCARGO", EmitEscapedByte, 3},			// short cargo description, only ### tons, or ### litres
   254 	{"CURRCOMPACT64", EmitEscapedByte, 4},	// compact currency 64 bits
   254 	{"CURRCOMPACT64", EmitEscapedByte, 4},	// compact currency 64 bits
   255 
   255 
   256 	{"STRINL", EmitStringInl, 0x81},
   256 	{"STRINL", EmitStringInl, 0x81},