Main Page: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Frosch-bot (talk | contribs) more compact layout |
|||
| Line 1: | Line 1: | ||
== Sprite types == |
== Sprite types == |
||
;[[Action0]] - Defines new graphics feature properties |
|||
:{| |- |
|||
** [[Action0General| Action0Vehicles]] - Action 0 properties common to all vehicle types |
|||
| [[Action0/Vehicles | Vehicles]] |
|||
*** [[Action0Trains]] - Action 0 properties for trains |
|||
| [[Action0/Vehicles/Trains | Trains]] |
|||
*** [[Action0RoadVehicles]] - Action 0 properties for road vehicles |
|||
| [[Action0/Vehicles/RoadVehicles | RoadVehicles]] |
|||
*** [[Action0Ships]] - Action 0 properties for ships |
|||
| [[Action0/Vehicles/Ships | Ships]] |
|||
*** [[Action0Planes]] - Action 0 properties for planes |
|||
| [[Action0/Vehicles/Planes | Planes]] |
|||
** [[Action0Stations]] - Action 0 properties for new stations |
|||
|- |
|||
** [[Action0Canals]] - Action 0 - Properties for canals / rivers |
|||
| [[Action0/Stations | Stations]] |
|||
** [[Action0Bridges]] - Action 0 properties of bridges |
|||
| [[Action0/Canals | Canals]] |
|||
** [[Action0Houses]] - Action 0 properties of houses |
|||
| [[Action0/Bridges | Bridges]] |
|||
** [[Action0GeneralVariables| Action0GlobalVariables]] - Action 0 properties for global variables |
|||
| [[Action0/Houses | Houses]] |
|||
** [[Action0IndustryTiles]] - Action 0 properties for industry tiles |
|||
| [[Action0/Global Variables | Global Variables]] |
|||
** [[Action0Industries]] - Action 0 properties for industries |
|||
|- |
|||
** [[Action0Cargos]] - Action 0 properties for cargo types |
|||
| [[Action0/Industry Tiles | Industry Tiles]] |
|||
** [[Action0SoundEffects]] - Action 0 properties for new sound effects |
|||
| [[Action0/Industries | Industries]] |
|||
** [[Action0Objects]] - Action 0 properties for new objects |
|||
| [[Action0/Cargos | Cargos]] |
|||
** [[Action0Railtypes]] - Action 0 properties for rail types |
|||
| [[Action0/Sound Effects | Sound Effects]] |
|||
** [[Action0AirportTiles]] - Action 0 properties for airport tiles |
|||
| [[Action0/Airport Tiles | Airport Tiles]] |
|||
** [[Action0Airports]] - Action 0 properties for airports |
|||
|- |
|||
*;[[Action1]] - Defines a set of real sprites |
|||
| [[Action0/Objects | Objects]] |
|||
*;[[Action2]] - Defines graphics set IDs |
|||
| [[Action0/Railtypes | Railtypes]] |
|||
** [[Action2Vehicles]] - Defining set-IDs for vehicles |
|||
| [[Action0/Airports | Airports]] |
|||
** [[Action2Stations]] - Defining station set-IDs |
|||
| |
|||
** [[Action2Canals]] - Defining an action2 for canals |
|||
| |
|||
** [[Action2HousesIndustryTiles]] - Defining an action 2 for houses, industry tiles and object |
|||
|} |
|||
** [[Action2Industries]] - Defining the industry production callback |
|||
;[[Action1]] - Defines a set of real sprites |
|||
;[[Action2]] - Defines graphics set IDs |
|||
** [[Action2Objects]] - Action2 for Objects |
|||
* Basic Action2 |
|||
:{| |- |
|||
** [[VariationalAction2]] - Variational Action 2 |
|||
| [[Action2Vehicles | Vehicles]] |
|||
*** [[VarAction2Advanced]] - Advanced features of Variational Action 2 |
|||
| [[Action2Stations | Stations]] |
|||
*** [[VarAction2Vehicles]] - Variational Action 2 Variables for Vehicles |
|||
| [[Action2Cargos | Canals]] |
|||
*** [[VarAction2Stations]] - Variational Action 2 Variables for Stations |
|||
| [[Action2HousesIndustryTiles | Houses]] |
|||
*** [[VarAction2 Towns]] - Variational Action 2 Variables for Towns |
|||
| [[Action2HousesIndustryTiles | Industry Tiles]] |
|||
*** [[VarAction2Canals]] - Variational Action 2 Variables for Canals |
|||
|- |
|||
*** [[VarAction2Bridges]] - Variational Action 2 Variables for Bridges |
|||
| [[Action2Industries | Industries]] |
|||
*** [[VarAction2Houses]] - Variational Action 2 Variables for Houses |
|||
| [[Action2Cargos | Cargos]] |
|||
*** [[VarAction2IndustryTiles]] - Variational Action 2 Variables for Industry and Airport Tiles |
|||
| [[Action2HousesIndustryTiles | Airport Tiles]] |
|||
*** [[VarAction2Industries]] - Variational Action 2 Variables for Industries |
|||
| [[Action2HousesIndustryTiles | Objects]] |
|||
*** [[VarAction2Cargos]] - Variational Action 2 Variables for cargos |
|||
| [[Action2Cargos | Railtypes]] |
|||
*** [[VarAction2NewSignals]] - Variational Action 2 Variables for New Signals |
|||
|} |
|||
*** [[VarAction2Objects]] - Variational Action 2 Variables for Objects |
|||
* [[VariationalAction2]] - Variational Action 2 |
|||
: [[VarAction2Advanced]] - Advanced features of Variational Action 2 |
|||
*** [[VarAction2IndustryTiles| VarAction2AirportTiles]] - Variational Action 2 Variables for Industry and Airport Tiles |
|||
:{| |- |
|||
** [[RandomAction2]] - Randomized Action 2 |
|||
| [[VariationalAction2/Vehicles | Vehicles]] |
|||
** [[Callbacks]] - List of available callbacks |
|||
| [[VariationalAction2/Stations | Stations]] |
|||
*;[[Action3]] - Associates vehicles with graphics set IDs |
|||
| [[VariationalAction2/Canals | Canals]] |
|||
** [[Action3LiveryOverride]] - Change wagon livery to match the engine |
|||
| [[VariationalAction2/Bridges | Bridges]] |
|||
*;[[Action4]] - Defines text strings |
|||
| [[VariationalAction2/Houses | Houses]] |
|||
*;[[Action5]] - Defines specific base graphics sets |
|||
|- |
|||
*;[[Action6]] - Modifies the contents of the following sprite |
|||
| [[VariationalAction2/Industry Tiles | Industry Tiles]] |
|||
*;[[Action7]] - Conditionally skips sprites or jumps to a label |
|||
| [[VariationalAction2/Industries | Industries]] |
|||
** [[TTDPatchFlags| GameConfigFlags]] - Configuration flags for Action 7/9 Variable 85 |
|||
| [[VariationalAction2/Cargos | Cargos]] |
|||
*;[[Action8]] - Defines GRFID, Name and Description |
|||
| [[VariationalAction2/Signals | Signals]] |
|||
*;[[Action9]] - (see action 7 above) |
|||
| [[VariationalAction2/Industry Tiles | Airport Tiles]] |
|||
*;[[ActionA]] - Replaces TTD base set sprites |
|||
|- |
|||
*;[[ActionB]] - Generates an error message |
|||
| [[VariationalAction2/Objects | Objects]] |
|||
*;[[ActionC]] - Does nothing. |
|||
| [[VariationalAction2/Railtypes | Railtypes]] |
|||
*;[[ActionD]] - Assigns parameters and calculates results |
|||
| [[VariationalAction2/Towns | Towns]] |
|||
** [[ReadingOtherGRFParameters]] - Reading another GRF file's parameters |
|||
| |
|||
** [[ReadingPatchVariables| ReadingGameSettings]] - Reading game configuration settings |
|||
| |
|||
** [[GRFResourceManagement]] - Preventing conflicts with limited resources |
|||
|} |
|||
*;[[ActionE]] - Deactivates a NewGRF file |
|||
* [[RandomAction2]] - Randomized Action 2 |
|||
*;[[ActionF]] - Defines new town name styles |
|||
* [[Callbacks]] - List of available callbacks |
|||
*;[[Action10]] - Defines GOTO label for action 7/9 |
|||
;[[Action3]] - Associates vehicles with graphics set IDs |
|||
*;[[Action11]] - Defines new sound data |
|||
: [[Action3LiveryOverride]] - Change wagon livery to match the engine |
|||
*;[[Action12]] - Load font glyphs |
|||
;[[Action4]] - Defines text strings |
|||
;[[Action5]] - Defines specific base graphics sets |
|||
*;[[Action14]] - Static NewGRF Information (OpenTTD only) |
|||
;[[Action6]] - Modifies the contents of the following sprite |
|||
;[[Action7]] - Conditionally skips sprites or jumps to a label |
|||
: [[TTDPatchFlags| 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 |
|||
* [[ReadingOtherGRFParameters]] - Reading another GRF file's parameters |
|||
* [[ReadingPatchVariables| ReadingGameSettings]] - Reading game configuration settings |
|||
* [[GRFResourceManagement]] - Preventing conflicts with limited resources |
|||
;[[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 == |
== Graphics properties == |
||
Revision as of 20:08, 17 June 2011
Sprite types
- Action0 - Defines new graphics feature properties
Vehicles Trains RoadVehicles Ships Planes Stations Canals Bridges Houses Global Variables Industry Tiles Industries Cargos Sound Effects Airport Tiles Objects Railtypes Airports
- Basic Action2
- VariationalAction2 - Variational Action 2
- VarAction2Advanced - Advanced features of Variational Action 2
Vehicles Stations Canals Bridges Houses Industry Tiles Industries Cargos Signals Airport Tiles Objects Railtypes Towns
- RandomAction2 - Randomized Action 2
- Callbacks - List of available callbacks
- Action3 - Associates vehicles with graphics set IDs
- 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
- ReadingOtherGRFParameters - Reading another GRF file's parameters
- ReadingGameSettings - Reading game configuration settings
- GRFResourceManagement - Preventing conflicts with limited resources
- 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
- Palettes - Palettes used by the game
- Coordinates - Coordinates used for sprite alignement
TTD defaults
- DefaultHouseProps - Default property values for TTD's houses
- IndustryTileDefaultProps - Default property values for TTD's industry tiles
- IndustryDefaultProps - Default properties values for TTD's industries
- IndustryTypes - Industry IDs
- CargoDefaultProps - Default property values for TTD's cargo types
- VehicleIDs - Default vehicle IDs
NewGRF commons
- Cargo classes - Commonly used cargo classes
- Cargo labels - Commonly used cargo labels
- Object classes - Commonly used object clases
- Railtype labels - Commonly used railtype labels
Misc
- Base Costs
- Vehicle Refitting
- GRF loading stages
- Storages
- String control codes
- Text IDs (TTD + TTDPatch + NewGRF defined)
- Syntax details
- Debugging NewGRFs
- TTDPatch error codes on loading NewGRFs