Difference between revisions of "NML:Main"

From GRFSpecs
Jump to navigationJump to search
(stations use spritegroups)
(stations have both spritegroups and spritelayouts)
Line 24: Line 24:
 
**;Aranging and grouping sprites:
 
**;Aranging and grouping sprites:
 
***[[NML:Spritegroup|Spritegroup]] (Vehicles, stations)
 
***[[NML:Spritegroup|Spritegroup]] (Vehicles, stations)
***[[NML:Spritelayout|Spritelayout]] (Houses, industries, airports, objects)
+
***[[NML:Spritelayout|Spritelayout]] (Houses, industries, airports, objects, stations)
 
***[[NML:Recolour sprites|Recolour sprites]]
 
***[[NML:Recolour sprites|Recolour sprites]]
   

Revision as of 13:29, 11 September 2022

Preface
Changes between NML 0.2 and head / 0.3
Changes between NML 0.3 and head / 0.4
Changes between NML 0.4 and head / 0.5
Getting started
Graphics files
Language structure and block syntax
  • GRF and its parameters
  • Item (Properties, graphics, livery overrides)
Units
Expressions
Language files
Lists of properties, variables and callbacks
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
Roadtypes properties variables callbacks FEAT_ROADTYPES
Tramtypes properties variables callbacks FEAT_TRAMTYPES
Signals FEAT_SIGNALS


Compiler Warnings
Additional references
NewGRF compatibility
Old-style callbacks


Manual of style