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.) |
Planetmaker (talk | contribs) (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: |
+ | ;[[NML:Block syntax|Language structure and block syntax]] |
⚫ | |||
− | *[[NML: |
+ | *[[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: |
+ | **[[NML:Realsprites|Realsprites]] |
− | **[[NML: |
+ | **[[NML:Template|Template]] |
− | **[[NML: |
+ | **[[NML:Spriteset|Spriteset]] |
+ | **;Replacing sprites: |
||
− | **[[NML:Livery override|Livery override]] |
||
⚫ | |||
− | *[[NML:Realsprites|Realsprites]] |
||
− | *[[NML: |
+ | ***[[NML:Replace new sprites|Replace new sprites]] |
− | *[[NML: |
+ | ***[[NML:Add font glpyhs|Add font glpyhs]] |
− | *[[NML: |
+ | ***[[NML:32bpp sprites|32bpp sprites]] |
+ | **;Aranging and grouping sprites: |
||
− | *[[NML:Spritegroup|Spritegroup]] |
||
− | *[[NML: |
+ | ***[[NML:Spritegroup|Spritegroup]] (Vehicles) |
+ | ***[[NML:Spritelayout|Spritelayout]] (Houses, industries, stations, airports) |
||
− | *[[NML:Tilelayout|Tilelayout]] |
||
− | *[[NML: |
+ | ***[[NML:Recolour sprites|Recolour sprites]] |
+ | |||
− | *[[NML:Produce|Produce]] |
||
+ | *;Flow control |
||
− | *[[NML:Random switch|Random switch]] |
||
− | *[[NML: |
+ | **[[NML:Tilelayout|Tilelayout]] |
− | *[[NML: |
+ | **[[NML:Switch|Switch]] |
− | *[[NML: |
+ | **[[NML:Produce|Produce]] |
− | *[[NML: |
+ | **[[NML:Random switch|Random switch]] |
+ | |||
− | *[[NML:Error|Error]] |
||
+ | *;Global scope |
||
⚫ | |||
+ | **[[NML:Cargotable|Cargotable]] |
||
⚫ | |||
+ | **[[NML:Railtypetable|Railtypetable]] |
||
⚫ | |||
⚫ | |||
⚫ | |||
− | *[[NML: |
+ | **[[NML:Setting base costs|Setting base costs]] |
− | **[[NML: |
+ | **[[NML:Parameter assignment|Parameter assignment]] |
− | **[[NML: |
+ | **[[NML:If|If/else]] |
− | **[[NML: |
+ | **[[NML:While|While]] |
+ | |||
⚫ | |||
+ | *;Interaction with other grfs |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
+ | |||
+ | *;Misc |
||
⚫ | |||
**[[NML:Town names parts|Town names parts]] |
**[[NML:Town names parts|Town names parts]] |
||
+ | |||
⚫ | |||
− | *[[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
- Defining sprites
- Realsprites
- Template
- Spriteset
- Replacing sprites
- Aranging and grouping sprites
- Spritegroup (Vehicles)
- Spritelayout (Houses, industries, stations, airports)
- Recolour sprites
- Flow control
- Global scope
- Interaction with other grfs
- 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
- Default TTD strings