Difference between revisions of "NML:Features"
From GRFSpecs
Jump to navigationJump to searchPlanetmaker (talk | contribs) (add title line) |
(→Features: added road and tram types) |
||
Line 57: | Line 57: | ||
| FEAT_RAILTYPES |
| FEAT_RAILTYPES |
||
| Rail types |
| Rail types |
||
+ | |- |
||
+ | | FEAT_ROADTYPES |
||
+ | | Road types |
||
+ | |- |
||
+ | | FEAT_TRAMTYPES |
||
+ | | Tram types |
||
|- |
|- |
||
| FEAT_AIRPORTTILES |
| FEAT_AIRPORTTILES |
Revision as of 06:20, 22 December 2019
Features
NewGRFs can be used to modify various types of items. Examples include trains, stations and industries. Such a type of item is called a feature. The following table contains a list of features and their identifiers. These identifiers may be used to refer to the feature when needed.
Name | Description |
---|---|
FEAT_TRAINS | Trains |
FEAT_ROADVEHS | Road vehicles |
FEAT_SHIPS | Ships |
FEAT_AIRCRAFT | Aircraft |
FEAT_STATIONS | Train stations |
FEAT_CANALS | Canals |
FEAT_BRIDGES | Bridges |
FEAT_HOUSES | Town houses |
FEAT_GLOBALVARS | Various global variables |
FEAT_INDUSTRYTILES | Industry tiles (visible part of industries) |
FEAT_INDUSTRIES | Industries |
FEAT_CARGOS | Cargo types |
FEAT_SOUNDEFFECTS | Sound effects |
FEAT_AIRPORTS | Airports |
FEAT_SIGNALS | Train signals |
FEAT_OBJECTS | Non-interactive objects (example: lighthouse) |
FEAT_RAILTYPES | Rail types |
FEAT_ROADTYPES | Road types |
FEAT_TRAMTYPES | Tram types |
FEAT_AIRPORTTILES | Airport tiles (visible part of airports) |