Difference between revisions of "NML:Main"

From GRFSpecs
Jump to navigationJump to search
(Add nav template for quick access and generally make the page look nicer and consistent with the other NML pages.)
(Re-order main menu)
Line 4: Line 4:
 
;[[NML:Getting started|Getting started]]
 
;[[NML:Getting started|Getting started]]
 
;[[NML:Graphic files|Graphics files]]
 
;[[NML:Graphic files|Graphics files]]
  +
;[[NML:Language structure|Language structure]]
+
;[[NML:Block syntax|Language structure and block syntax]]
*[[NML:Blocks|Blocks]]
 
*[[NML:Features|Features]]
+
*[[NML:GRF|GRF]] and its parameters
  +
*[[NML:Item|Item]] (Properties, graphics, livery overrides)
;[[NML:Block syntax|Block syntax]]
 
  +
*[[NML:GRF|GRF]]
 
  +
*;Defining sprites:
**[[NML:GRF parameters|GRF parameters]]
 
*[[NML:Item|Item]]
+
**[[NML:Realsprites|Realsprites]]
**[[NML:Property|Property]]
+
**[[NML:Template|Template]]
**[[NML:Graphics|Graphics]]
+
**[[NML:Spriteset|Spriteset]]
  +
**;Replacing sprites:
**[[NML:Livery override|Livery override]]
 
 
***[[NML:Replace TTD sprites|Replace TTD sprites]]
*[[NML:Realsprites|Realsprites]]
 
*[[NML:Recolour sprites|Recolour sprites]]
+
***[[NML:Replace new sprites|Replace new sprites]]
*[[NML:Template|Template]]
+
***[[NML:Add font glpyhs|Add font glpyhs]]
*[[NML:Spriteset|Spriteset]]
+
***[[NML:32bpp sprites|32bpp sprites]]
  +
**;Aranging and grouping sprites:
*[[NML:Spritegroup|Spritegroup]]
 
*[[NML:Spritelayout|Spritelayout]]
+
***[[NML:Spritegroup|Spritegroup]] (Vehicles)
  +
***[[NML:Spritelayout|Spritelayout]] (Houses, industries, stations, airports)
*[[NML:Tilelayout|Tilelayout]]
 
*[[NML:Switch|Switch]]
+
***[[NML:Recolour sprites|Recolour sprites]]
  +
*[[NML:Produce|Produce]]
 
  +
*;Flow control
*[[NML:Random switch|Random switch]]
 
*[[NML:Cargotable|Cargotable]]
+
**[[NML:Tilelayout|Tilelayout]]
*[[NML:Railtypetable|Railtypetable]]
+
**[[NML:Switch|Switch]]
*[[NML:If|If/else]]
+
**[[NML:Produce|Produce]]
*[[NML:While|While]]
+
**[[NML:Random switch|Random switch]]
  +
*[[NML:Error|Error]]
 
  +
*;Global scope
*[[NML:Disable items|Disable items]]
 
  +
**[[NML:Cargotable|Cargotable]]
*[[NML:Deactivate other NewGRFs|Deactivate other NewGRFs]]
 
  +
**[[NML:Railtypetable|Railtypetable]]
*[[NML:Testing for other NewGRFs|Testing for other NewGRFs]]
 
 
**[[NML:Snow line|Snow line]]
*[[NML:Overriding vehicles in other NewGRFs|Overriding vehicles in other NewGRFs]]
 
*[[NML:Sprite replacement|Sprite replacement]]
+
**[[NML:Setting base costs|Setting base costs]]
**[[NML:Replace TTD sprites|Replace TTD sprites]]
+
**[[NML:Parameter assignment|Parameter assignment]]
**[[NML:Replace new sprites|Replace new sprites]]
+
**[[NML:If|If/else]]
**[[NML:Add font glpyhs|Add font glpyhs]]
+
**[[NML:While|While]]
  +
*[[NML:32bpp sprites|32bpp sprites]]
 
  +
*;Interaction with other grfs
*[[NML:Town names|Town names]]
 
 
**[[NML:Error|Error]]
 
**[[NML:Disable items|Disable items]]
 
**[[NML:Deactivate other NewGRFs|Deactivate other NewGRFs]]
 
**[[NML:Testing for other NewGRFs|Testing for other NewGRFs]]
 
**[[NML:Overriding vehicles in other NewGRFs|Overriding vehicles in other NewGRFs]]
  +
  +
*;Misc
 
**[[NML:Town names|Town names]]
 
**[[NML:Town names parts|Town names parts]]
 
**[[NML:Town names parts|Town names parts]]
  +
*[[NML:Snow line|Snow line]]
 
*[[NML:Parameter assignment|Parameter assignment]]
 
*[[NML:Setting base costs|Setting base costs]]
 
 
;[[NML:Units|Units]]
 
;[[NML:Units|Units]]
 
;[[NML:Expressions|Expressions]]
 
;[[NML:Expressions|Expressions]]
Line 88: Line 94:
 
|[[NML:Railtypes|Railtypes]] || [[NML:Railtypes#Railtype properties|properties]] || [[NML:Railtypes#Railtype variables|variables]] || [[NML:Railtypes#Railtype callbacks|callbacks]]
 
|[[NML:Railtypes|Railtypes]] || [[NML:Railtypes#Railtype properties|properties]] || [[NML:Railtypes#Railtype variables|variables]] || [[NML:Railtypes#Railtype callbacks|callbacks]]
 
|}
 
|}
;[[NML:Warnings|Warnings]]
+
;[[NML:Warnings|Compiler Warnings]]
 
;[[NML:Additional references|Additional references]]
 
;[[NML:Additional references|Additional references]]
 
*[[NML:Animation speed|Animation speed]]
 
*[[NML:Animation speed|Animation speed]]

Revision as of 00:55, 9 September 2011

Preface
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
General variables
Vehicles common properties variables callbacks
train properties
road vehicle properties
ship properties
aircraft properties
Stations properties variables callbacks
Canals properties variables callbacks
Bridges properties variables callbacks
Towns
Houses properties variables callbacks
Industries common variables
industry properties industry variables industry callbacks
tile properties tile variables tile callbacks
Cargos properties variables callbacks
Airports properties variables callbacks
tile properties tile variables tile callbacks
Objects properties variables callbacks
Railtypes properties variables callbacks
Compiler Warnings
Additional references
NewGRF compatibility
Old-style callbacks


Manual of style