NML:Main
From GRFSpecs
Jump to navigationJump to search- Preface
- Changes between NML 0.2 and head / 0.3
- Changes between NML 0.3 and head / 0.4
- Getting started
- Graphics files
- Defining sprites
- Realsprites
- Template
- Base Graphics
- Spriteset
- Replacing sprites
- Replace TTD sprites
- Replace new sprites
- Add font glyphs
- Alternative sprites (32bpp, zoom levels)
- Aranging and grouping sprites
- Spritegroup (Vehicles)
- Spritelayout (Houses, industries, stations, airports, objects)
- Recolour sprites
- Flow control
- Global scope
- Interaction with other grfs
| Type | Properties | Variables | Callbacks | Feature |
|---|---|---|---|---|
| General | variables | FEAT_GLOBALVARS | ||
| Vehicles | common properties | variables | callbacks | |
| train properties | FEAT_TRAINS | |||
| road vehicle properties | FEAT_ROADVEHS | |||
| ship properties | FEAT_SHIPS | |||
| aircraft properties | FEAT_AIRCRAFT | |||
| Stations | properties | variables | callbacks | FEAT_STATIONS |
| Canals | properties | variables | callbacks | FEAT_CANALS |
| Bridges | properties | variables | callbacks | FEAT_BRIDGES |
| Towns | ||||
| Houses | properties | variables | callbacks | FEAT_HOUSES |
| Industries | common variables | |||
| industry properties | industry variables | industry callbacks | FEAT_INDUSTRIES | |
| tile properties | tile variables | tile callbacks | FEAT_INDUSTRYTILES | |
| Cargos | properties | variables | callbacks | FEAT_CARGOS |
| Airports | properties | variables | callbacks | FEAT_AIRPORTS |
| tile properties | tile variables | tile callbacks | FEAT_AIRPORTTILES | |
| Objects | properties | variables | callbacks | FEAT_OBJECTS |
| Railtypes | properties | variables | callbacks | FEAT_RAILTYPES |
| Signals | FEAT_SIGNALS |
- Animation speed
- Default industries
- Default industry tiles
- Base cost table
- List of sound effects
- List of default vehicle IDs
- List of default house properties
- List of town zones
- List of tile classes
- List of default colour translation palettes
- List of direction constants
- List of tile slopes
- List of tiles
- Default TTD strings
- Deprecated syntax