NewGRF Support
From OpenTTD
Contents |
[edit] Action 0
| # | Feature | Supported | Unsupported |
|---|---|---|---|
| 0 | Trains | 00 02 03 04 05 06 07 08 09 0B 0D 0E 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 21 22 23 24 25 26 27 28 29 2A | 20 |
| 1 | Road Vehicles | 00 02 03 04 06 07 08 09 0E 0F 10 11 12 16 17 1A 1B 1C 1D 1E 1F | 0A 13 14 15 18 19 |
| 2 | Ships | 00 02 03 04 06 07 08 09 0A 0B 0C 0D 0F 10 11 12 13 16 17 18 19 1A | 14 15 |
| 3 | Aircraft | 00 02 03 04 06 07 08 09 0A 0B 0C 0D 0E 0F 11 12 13 14 15 16 17 18 19 1A | |
| 4 | Stations | 08 09 0A 0B 0C 0D 0E 0F 10 13 14 15 | 11 12 16 17 18 |
| 6 | Bridges | 08 09 0A 0B 0C 0D 0E 0F 10 11 12 | |
| 7 | Houses | 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F | |
| 8 | General Variables | 08 09 0A 0B 0C 0D 0E 0F 10 | |
| 9 | Industry Tiles | 08 09 0A 0B 0C 0D 0E 0F 10 11 12 | |
| A | Industries | 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 | 24 |
| B | Cargos | 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A | |
| C | Sound Effects | 08 09 0A | |
| D | Airports | None | |
| E | Signals | None | |
| F | New Objects | None |
[edit] Action 1
Supported for trains, road vehicles, ships, aircraft, stations, houses, industry tiles and cargoes.
[edit] Action 2
[edit] Basic
Supported for trains, road vehicles, ships, aircraft, canals, stations, houses, industry tiles, industries and cargoes.
[edit] Variational
Supported for trains, road vehicles, ships, aircraft, canals, stations, houses, industry tiles, industries and cargoes, and town variables when it is the parent type.
| # | Feature | Supported | Unsupported |
|---|---|---|---|
| All | General | 00 - 03, 06, 09 - 10, 12, 18, 1A - 1E, 20 - 21 | 11 (always 0), 13 - 17, 1F |
| 0-3 | Vehicles | 40 41 42 43 44 45 46 47 48 60 F2 | |
| 4 | Stations | 40 41 42 43 45 46 47 48 49 60 61 62 63 64 65 | 44 (always 2) |
| 5 | Canals | 80 81 | |
| 7 | Houses | 40 41 42 43 44 45 46 60 61 62 | |
| 9 | Industry Tiles | 40 41 42 43 44 60 61 62 | |
| A | Industries | 40 41 42 43 44 45 60 61 62 63 64 65 66 67 68 A7 B0 B3 B4 | |
| B | Cargoes | ||
| E | New Signals | None | |
| n/a | Towns | 40 41 |
[edit] Randomised
Supported only for trains, road vehicles, ships, and aircraft, stations and houses.
[edit] Action 3
[edit] Action 4
| # | Feature | Supported |
|---|---|---|
| 0-3 | Vehicles | Yes |
| 4 | Stations | Yes |
| 5 | Canals | No [0] |
| 6 | Bridges | No [0] |
| 7 | Houses | Yes |
| A | Industries | Yes |
| B | Cargoes | No [0] |
| 48 | generic strings | Yes [1] |
[0] Note that Strings D0xx and DCxx are implicitly supported. So even if noted as not supported, it might end up been used as such
[1] This is not a direct feature as such. But it's kind of supported
[edit] Action 5
| # | Type | Supported | Version |
|---|---|---|---|
| 04 | Pre-signal graphics | 48, 112 and 240 sprites | |
| 05 | Overhead wires and pylon graphics | Yes | |
| 06 | Foundations | 74 and 90 sprites | |
| 07 | GUI sprites | No | |
| 08 | Canals | Yes | |
| 09 | One-way road arrows | Yes | r9999 |
| 0A | Two company colour translation maps | Yes | |
| 0B | Tram tracks | Yes | r9923 |
| 0C | Snowy temperate trees | No | |
| 0D | Coast Tile graphics | Yes | r11947 |
| 0E | New Signals | No | |
| 0F | Tracks for slopes | No | |
| 10 | Additional airport graphics | Yes | r9645 |
| 11 | Road stop graphics | Yes | r9645 |
| 12 | Aqueduct graphics | Yes | r13464 |
| 13 | Autorail sprites | Yes | r11433 |
| 14,94 | Flag sprites | Yes | r11433 |
| 15,95 | OpenTTD GUI sprites | Yes | r11433 |
[edit] Action 6
[edit] Action 7
[edit] Supported conditions
00 - 0C
[edit] Supported variables
80 - 86, 88 - 8B, 8D - 8F, 92, 9A - 9B, 9D - 9E, A0 - A1
[edit] Unsupported variables
91 (always 0), 93 - 97, 99, 9F
[edit] Action 8
Yes.
[edit] Action 9
[edit] Action A
[edit] Action B
[edit] Action C
[edit] Action D
[edit] Sources
see Action7
[edit] Supported operators
00 - 0C
[edit] Supported targets
8E - 8F, 9E (not all bits are used though)
[edit] Unsupported targets
93 - 97, 99, 9F
[edit] Action E
[edit] Action F
Yes, since r10211
[edit] Action 10
[edit] Action 11
[edit] Action 12
[edit] Action 13
[edit] Callbacks
[edit] Supported
10 - 17, 19 - 33, 35, 36, 38 - 3D, 143, 14A - 14C
[edit] Unsupported
18, 34, 37, 140 - 142, 144 - 149,
|
