VariationalAction2/Airports
From GRFSpecs
< VariationalAction2
Jump to navigationJump to searchRevision as of 20:40, 19 June 2011 by Frosch (talk | contribs) (moved VarAction2Airports to VariationalAction2/Airports: use subpages)
Introduction
Airports share a number of variables with (rail) stations. The common variables are documented on a separate page
Variables
Variable | Version | Size | Description |
---|---|---|---|
40 | D | Layout number |
For other 80+x variables confer the station structure. Note that you have to subtract 0x10 from the offsets there, or else the facility bit mask and construction date would not be accessible; instead you lose access to variables 00..0F which are meaningless anyway.
WARNING: Please do not use variables 8C..EB directly. The meaning of these variables changes if the newcargos switch is on. Use the variables 60..64 instead (common stations variables). Those always work correctly.
Description
Airport layout (40)
This variable returns the layout number of the airport