Difference between revisions of "Main Page"

From GRFSpecs
Jump to navigationJump to search
m (Action3 works on more features than just vehicles)
(Add a table for Action3 entries)
Line 97: Line 97:
   
 
* [[Callbacks]] - List of available callbacks
 
* [[Callbacks]] - List of available callbacks
  +
 
;[[Action3]] - Associates features (Action0 IDs) with graphics set IDs
 
;[[Action3]] - Associates features (Action0 IDs) with graphics set IDs
  +
:{| |-
  +
|colspan=5| [[Action3 | Vehicles]]
  +
|-
  +
| [[Action3 | Stations]]
  +
| [[Action3/Canals | Canals & Rivers]]
  +
| ''Bridges''
  +
| [[Action3 | Houses]]
  +
| ''Global Variables''
  +
|-
  +
| [[Action3 | Industry Tiles]]
  +
| [[Action3 | Industries]]
  +
| [[Action3 | Cargos]]
  +
| ''Sound Effects''
  +
| [[Action3 | Airports]]
  +
|-
  +
| [[Action3 | Signals]]
  +
| [[Action3 | Objects]]
  +
| [[Action3 | Railtypes]]
  +
| [[Action3 | Airport Tiles]]
  +
| ''Towns''
  +
|}
 
: [[Action3LiveryOverride]] - Change wagon livery to match the engine
 
: [[Action3LiveryOverride]] - Change wagon livery to match the engine
 
;[[Action4]] - Defines text strings
 
;[[Action4]] - Defines text strings

Revision as of 18:04, 27 August 2011

Sprite types

Action0 - Defines new graphics feature properties
Vehicles Trains RoadVehicles Ships Aircraft
Stations Canals & Rivers Bridges Houses Global Variables
Industry Tiles Industries Cargos Sound Effects Airports
Signals Objects Railtypes Airport Tiles Towns
Action1 - Defines a set of real sprites
Action2 - Defines graphics set IDs
  • Basic Action2
Vehicles
Stations Canals & Rivers Bridges Houses Global Variables
Industry Tiles Industries Cargos Sound Effects Airports
Signals Objects Railtypes Airport Tiles Towns
VarAction2Advanced - Advanced features of Variational Action 2
Vehicles
Stations Canals & Rivers Bridges Houses Global Variables
Industry Tiles Industries Cargos Sound Effects Airports
Signals Objects Railtypes Airport Tiles Towns
Vehicles
Stations Canals & Rivers Bridges Houses Global Variables
Industry Tiles Industries Cargos Sound Effects Airports
Signals Objects Railtypes Airport Tiles Towns
Action3 - Associates features (Action0 IDs) with graphics set IDs
Vehicles
Stations Canals & Rivers Bridges Houses Global Variables
Industry Tiles Industries Cargos Sound Effects Airports
Signals Objects Railtypes Airport Tiles Towns
Action3LiveryOverride - Change wagon livery to match the engine
Action4 - Defines text strings
Action5 - Defines specific base graphics sets
Action6 - Modifies the contents of the following sprite
Action7 - Conditionally skips sprites or jumps to a label
GameConfigFlags - Configuration flags for Action 7/9 Variable 85
Action8 - Defines GRFID, Name and Description
Action9 - (see action 7 above)
ActionA - Replaces TTD base set sprites
ActionB - Generates an error message
ActionC - Does nothing.
ActionD - Assigns parameters and calculates results
ActionE - Deactivates a NewGRF file
ActionF - Defines new town name styles
Action10 - Defines GOTO label for action 7/9
Action11 - Defines new sound data
Action12 - Load font glyphs
Action13 - Translates GRF-specific strings
Action14 - Static NewGRF Information (OpenTTD only)
RealSprites - Sprites that actually get drawn on the screen
RecolorSprites - Changing how other sprites are drawn

Graphics properties

TTD defaults

NewGRF commons

Misc

Game mechanics