12 #ifndef CONTROL_CODES_H 13 #define CONTROL_CODES_H 20 SCC_CONTROL_START = 0xE000,
21 SCC_CONTROL_END = 0xE1FF,
23 SCC_SPRITE_START = 0xE200,
24 SCC_SPRITE_END = SCC_SPRITE_START + 0xFF,
27 SCC_ENCODED = SCC_CONTROL_START,
92 SCC_RAW_STRING_POINTER,
162 SCC_LESS_THAN = SCC_SPRITE_START + 0x3C,
163 SCC_GREATER_THAN = SCC_SPRITE_START + 0x3E,
164 SCC_UP_ARROW = SCC_SPRITE_START + 0xA0,
165 SCC_DOWN_ARROW = SCC_SPRITE_START + 0xAA,
166 SCC_CHECKMARK = SCC_SPRITE_START + 0xAC,
167 SCC_CROSS = SCC_SPRITE_START + 0xAD,
168 SCC_RIGHT_ARROW = SCC_SPRITE_START + 0xAF,
169 SCC_TRAIN = SCC_SPRITE_START + 0xB4,
170 SCC_LORRY = SCC_SPRITE_START + 0xB5,
171 SCC_BUS = SCC_SPRITE_START + 0xB6,
172 SCC_PLANE = SCC_SPRITE_START + 0xB7,
173 SCC_SHIP = SCC_SPRITE_START + 0xB8,
174 SCC_SUPERSCRIPT_M1 = SCC_SPRITE_START + 0xB9,
175 SCC_SMALL_UP_ARROW = SCC_SPRITE_START + 0xBC,
176 SCC_SMALL_DOWN_ARROW = SCC_SPRITE_START + 0xBD,
9A 17: Read 4 bytes from the stack as base 0 date
9A 03: Pushes 2 bytes onto the stack
Inline another string at the current position, StringID is encoded in the string. ...
StringControlCode
List of string control codes used for string formatting, displaying, and by strgen to generate the la...
83: Read 2 bytes from the stack as base 1920 date
86: Rotate the top 4 words of the stack (W4 W1 W2 W3)
82: Read 2 bytes from the stack as base 1920 date
9A 1C: Read 2 + 2 bytes from the stack as cargo type (translated) and unsigned cargo amount ...
9A 04: "Unprints" the given number of bytes from the string
The next variables are part of a NewGRF subsystem for creating text strings.
9A 0C: Read 2 bytes from the stack as station name
9A 07: Read 2 bytes from the stack and print it as hex
Switch to monospaced font.
9A 1B: Read 2 + 2 bytes from the stack as cargo type (translated) and unsigned cargo amount ...
9A 18: Read 2 bytes from the stack as unsigned power
9A 1A: Read 2 bytes from the stack as short unsigned weight
81: Read 2 bytes from the stack as String ID
87: Read 2 bytes from the stack as long signed volume
9A 08: Read 4 bytes from the stack and print it as hex
9A 0B: Read 8 bytes from the stack and print it as hex
9A 1E: Read 2 bytes from the stack as cargo name
7C: Read 2 bytes from the stack as signed value
85: Discard the next two bytes
9A 16: Read 4 bytes from the stack as base 0 date
7D: Read 1 byte from the stack as signed value
7B: Read 4 bytes from the stack
Switch to normal size font.
8F: Read 4 bytes from the stack as currency
9A 01: Read 8 bytes from the stack as currency
84: Read 2 bytes from the stack as signed speed
9A 0D: Read 2 bytes from the stack as long unsigned weight
9A 06: Read 1 byte from the stack and print it as hex
7E: Read 2 bytes from the stack as unsigned value
9A 19: Read 2 bytes from the stack as short signed volume
9A 1D: Read 2 + 2 bytes from the stack as cargo type (translated) and unsigned cargo amount ...