Difference between revisions of "Features"
From GRFSpecs
Jump to navigationJump to search (there is no such thing as feature 12) |
|||
Line 39: | Line 39: | ||
|- |
|- |
||
|11 || Airport Tiles || [[Action0/Airport Tiles | yes]] || [[Action1 | yes]] || [[Action2/Sprite Layout | yes]] || [[VariationalAction2/Airport Tiles | yes]] || [[RandomAction2#Stations | yes]] || [[Callbacks | yes]] || [[Action3 | yes]] || ''no'' |
|11 || Airport Tiles || [[Action0/Airport Tiles | yes]] || [[Action1 | yes]] || [[Action2/Sprite Layout | yes]] || [[VariationalAction2/Airport Tiles | yes]] || [[RandomAction2#Stations | yes]] || [[Callbacks | yes]] || [[Action3 | yes]] || ''no'' |
||
+ | |- |
||
+ | |13 || Roadtypes || [[Action0/Roadtypes | yes]] || [[Action1 | yes]] || [[Action2/Single Set | yes]] || [[VariationalAction2/Roadtypes | yes]] || [[RandomAction2#Road_types | yes]] || ''no'' || [[Action3 | yes]] || [[Action4 | yes]] |
||
+ | |- |
||
+ | |13 || Tramtypes || [[Action0/Roadtypes | yes]] || [[Action1 | yes]] || [[Action2/Single Set | yes]] || [[VariationalAction2/Roadtypes | yes]] || [[RandomAction2#Road_types | yes]] || ''no'' || [[Action3 | yes]] || [[Action4 | yes]] |
||
|- |
|- |
||
|N/A <!-- Towns have no feature. NML and OTTD assign a pseudo feature number, but this does not mean there is an actual feature number --> |
|N/A <!-- Towns have no feature. NML and OTTD assign a pseudo feature number, but this does not mean there is an actual feature number --> |
Revision as of 15:05, 5 May 2019
List of features and feature-specific Actions
Feature | Action0 | Action1 | Action2 | VarAction2 | RandomAction2 | Callbacks | Action3 | Action4 | |
---|---|---|---|---|---|---|---|---|---|
00 | Trains | yes | yes | yes | yes | yes | yes | yes | yes |
01 | Road Vehicles | yes | yes | yes | yes | yes | yes | yes | yes |
02 | Ships | yes | yes | yes | yes | yes | yes | yes | yes |
03 | Aircraft | yes | yes | yes | yes | yes | yes | yes | yes |
04 | Stations | yes | yes | yes | yes | yes | yes | yes | yes |
05 | Canals | yes | yes | yes | yes | yes | yes | yes | no |
06 | Bridges | yes | no | no | no-ish | no | no | no | yes-ish |
07 | Houses | yes | yes | yes | yes | yes | yes | yes | yes |
08 | Global Settings | yes | no | no | no | no | no | no | no |
09 | Industry Tiles | yes | yes | yes | yes | yes | yes | yes | no |
0A | Industries | yes | yes | yes | yes | yes | yes | yes | yes |
0B | Cargos | yes | yes | yes | yes-ish [1] | no | yes | yes | yes |
0C | Sound Effects | yes | no | yes-ish [2] | yes-ish [1] | no | yes | yes | no |
0D | Airports | yes | yes | yes | yes | yes | yes | yes | yes |
0E | Signals | no | Action5 | yes-ish [2] | yes | no | yes | yes | no |
0F | Objects | yes | yes | yes | yes | yes | yes | yes | yes |
10 | Railtypes | yes | yes | yes | yes | yes | no | yes | yes |
11 | Airport Tiles | yes | yes | yes | yes | yes | yes | yes | no |
13 | Roadtypes | yes | yes | yes | yes | yes | no | yes | yes |
13 | Tramtypes | yes | yes | yes | yes | yes | no | yes | yes |
N/A | Towns | no | no | no | yes | no | no | no | ActionF |
48 | Original Strings [3] | no | no | no | no | no | no | no | yes |
- ↑ 1.0 1.1 No feature specific variables though
- ↑ 2.0 2.1 Callback failure only
- ↑ This is a pseudo-feature only used in Action4 to assign original strings. The value 0x48 originates from the way old TTDPatch versions checked for switches enabling/disabling features. NewTrains (feature 0x00) are activated by switch 0x37. Adding 0x48 to that results in 0x7F - a switch which is always set when TTDPatch is active. Thus feature 0x48 was not disabled by any switch. (today TTDPatch does not depend on the switches being in order of the features)