OpenTTD Source
20240919-master-gdf0233f4c2
|
Go to the source code of this file.
|
#define | NIP(prop, base, variable, type, name) { name, [] (const void *b) -> const void * { return std::addressof(static_cast<const base *>(b)->variable); }, cpp_sizeof(base, variable), prop, type } |
|
#define | NIP_END() { nullptr, 0, 0, 0, 0 } |
|
#define | NIC(cb_id, base, variable, bit) { #cb_id, [] (const void *b) -> const void * { return std::addressof(static_cast<const base *>(b)->variable); }, cpp_sizeof(base, variable), bit, cb_id } |
|
#define | NIC_END() { nullptr, 0, 0, 0, 0 } |
|
#define | NIV(var, name) { name, var } |
|
#define | NIV_END() { nullptr, 0 } |
|
#define | NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) |
|
#define | NICS(cb_id, bit) NIC(cb_id, StationSpec, callback_mask, bit) |
|
#define | NICH(cb_id, bit) NIC(cb_id, HouseSpec, callback_mask, bit) |
|
#define | NICIT(cb_id, bit) NIC(cb_id, IndustryTileSpec, callback_mask, bit) |
|
#define | NIP_PRODUCED_CARGO(prop, base, slot, type, name) { name, [] (const void *b) -> const void * { return std::addressof(static_cast<const base *>(b)->GetProduced(slot).cargo); }, sizeof(CargoID), prop, type } |
|
#define | NIP_ACCEPTED_CARGO(prop, base, slot, type, name) { name, [] (const void *b) -> const void * { return std::addressof(static_cast<const base *>(b)->GetAccepted(slot).cargo); }, sizeof(CargoID), prop, type } |
|
#define | NICI(cb_id, bit) NIC(cb_id, IndustrySpec, callback_mask, bit) |
|
#define | NICO(cb_id, bit) NIC(cb_id, ObjectSpec, callback_mask, bit) |
|
#define | NICAT(cb_id, bit) NIC(cb_id, AirportTileSpec, callback_mask, bit) |
|
#define | NICRS(cb_id, bit) NIC(cb_id, RoadStopSpec, callback_mask, bit) |
|
Data 'tables' for NewGRF debugging.
Definition in file newgrf_debug_data.h.
◆ _nic_airporttiles
◆ _nic_house
◆ _nic_industries
◆ _nic_industrytiles
◆ _nic_objects
◆ _nic_roadstops
◆ _nic_stations
◆ _nic_vehicles
◆ _nif_airport
◆ _nif_airporttile
Initial value:= {
nullptr,
_nic_airporttiles,
_niv_industrytiles,
}
Definition at line 514 of file newgrf_debug_data.h.
◆ _nif_house
◆ _nif_industry
Initial value:= {
_nip_industries,
_nic_industries,
_niv_industries,
}
Definition at line 389 of file newgrf_debug_data.h.
◆ _nif_industrytile
Initial value:= {
nullptr,
_nic_industrytiles,
_niv_industrytiles,
}
Definition at line 268 of file newgrf_debug_data.h.
◆ _nif_object
◆ _nif_railtype
◆ _nif_roadstop
Initial value:= {
nullptr,
_nic_roadstops,
_nif_roadstops,
}
Definition at line 714 of file newgrf_debug_data.h.
◆ _nif_roadstops
Initial value:= {
NIV(0x40, "view/rotation"),
NIV(0x41, "stop type"),
NIV(0x42, "terrain type"),
NIV(0x43, "road type"),
NIV(0x44, "tram type"),
NIV(0x45, "town zone and Manhattan distance of town"),
NIV(0x46, "square of Euclidean distance of town"),
NIV(0x47, "player info"),
NIV(0x48, "bitmask of accepted cargoes"),
NIV(0x49, "current animation frame"),
NIV(0x60, "amount of cargo waiting"),
NIV(0x61, "time since last cargo pickup"),
NIV(0x62, "rating of cargo"),
NIV(0x63, "time spent on route"),
NIV(0x64, "information about last vehicle picking cargo up"),
NIV(0x65, "amount of cargo acceptance"),
NIV(0x66, "animation frame of nearby tile"),
NIV(0x67, "land info of nearby tiles"),
NIV(0x68, "road stop info of nearby tiles"),
NIV(0x69, "information about cargo accepted in the past"),
NIV(0x6A, "GRFID of nearby road stop tiles"),
NIV(0x6B, "road stop ID of nearby tiles"),
NIV_END(),
}
Definition at line 671 of file newgrf_debug_data.h.
◆ _nif_roadtype
◆ _nif_station
Initial value:= {
nullptr,
_nic_stations,
_niv_stations,
}
Definition at line 153 of file newgrf_debug_data.h.
◆ _nif_town
◆ _nif_tramtype
◆ _nif_vehicle
Initial value:= {
nullptr,
_nic_vehicles,
_niv_vehicles,
}
Definition at line 89 of file newgrf_debug_data.h.
◆ _nifeatures
Initial value:= {
&_nif_vehicle,
&_nif_vehicle,
&_nif_vehicle,
&_nif_vehicle,
&_nif_station,
nullptr,
nullptr,
&_nif_house,
nullptr,
&_nif_industrytile,
&_nif_industry,
nullptr,
nullptr,
&_nif_airport,
nullptr,
&_nif_object,
&_nif_railtype,
&_nif_airporttile,
&_nif_roadtype,
&_nif_tramtype,
&_nif_roadstop,
&_nif_town,
}
Table with all NIFeatures.
Definition at line 722 of file newgrf_debug_data.h.
Referenced by GetFeature().
◆ _niv_airports
Initial value:= {
NIV(0x40, "Layout number"),
NIV(0x48, "bitmask of accepted cargoes"),
NIV(0x60, "amount of cargo waiting"),
NIV(0x61, "time since last cargo pickup"),
NIV(0x62, "rating of cargo"),
NIV(0x63, "time spent on route"),
NIV(0x64, "information about last vehicle picking cargo up"),
NIV(0x65, "amount of cargo acceptance"),
NIV(0x69, "information about cargo accepted in the past"),
NIV(0xF1, "type of the airport"),
NIV(0xF6, "airport block status"),
NIV(0xFA, "built date"),
}
Definition at line 524 of file newgrf_debug_data.h.
◆ _niv_house
Initial value:= {
NIV(0x40, "construction state of tile and pseudo-random value"),
NIV(0x41, "age of building in years"),
NIV(0x42, "town zone"),
NIV(0x43, "terrain type"),
NIV(0x44, "building counts"),
NIV(0x45, "town expansion bits"),
NIV(0x46, "current animation frame"),
NIV(0x47, "xy coordinate of the building"),
NIV(0x60, "other building counts (old house type)"),
NIV(0x61, "other building counts (new house type)"),
NIV(0x62, "land info of nearby tiles"),
NIV(0x63, "current animation frame of nearby house tile"),
NIV(0x64, "cargo acceptance history of nearby stations"),
NIV(0x65, "distance of nearest house matching a given criterion"),
NIV(0x66, "class and ID of nearby house tile"),
NIV(0x67, "GRFID of nearby house tile"),
}
Definition at line 183 of file newgrf_debug_data.h.
◆ _niv_industries
Initial value:= {
NIV(0x40, "waiting cargo 0"),
NIV(0x41, "waiting cargo 1"),
NIV(0x42, "waiting cargo 2"),
NIV(0x43, "distance to closest dry/land tile"),
NIV(0x44, "layout number"),
NIV(0x45, "player info"),
NIV(0x46, "industry construction date"),
NIV(0x60, "get industry tile ID at offset"),
NIV(0x61, "get random tile bits at offset"),
NIV(0x62, "land info of nearby tiles"),
NIV(0x63, "animation stage of nearby tiles"),
NIV(0x64, "distance on nearest industry with given type"),
NIV(0x65, "get town zone and Manhattan distance of closest town"),
NIV(0x66, "get square of Euclidean distance of closes town"),
NIV(0x67, "count of industry and distance of closest instance"),
NIV(0x68, "count of industry and distance of closest instance with layout filter"),
NIV(0x69, "produced cargo waiting"),
NIV(0x6A, "cargo produced this month"),
NIV(0x6B, "cargo transported this month"),
NIV(0x6C, "cargo produced last month"),
NIV(0x6D, "cargo transported last month"),
NIV(0x6E, "date since cargo was delivered"),
NIV(0x6F, "waiting input cargo"),
NIV(0x70, "production rate"),
NIV(0x71, "percentage of cargo transported last month"),
}
Definition at line 337 of file newgrf_debug_data.h.
◆ _niv_industrytiles
Initial value:= {
NIV(0x40, "construction state of tile"),
NIV(0x41, "ground type"),
NIV(0x42, "current town zone in nearest town"),
NIV(0x43, "relative position"),
NIV(0x44, "animation frame"),
NIV(0x60, "land info of nearby tiles"),
NIV(0x61, "animation stage of nearby tiles"),
NIV(0x62, "get industry or airport tile ID at offset"),
}
Definition at line 241 of file newgrf_debug_data.h.
◆ _niv_objects
Initial value:= {
NIV(0x40, "relative position"),
NIV(0x41, "tile information"),
NIV(0x42, "construction date"),
NIV(0x43, "animation counter"),
NIV(0x44, "object founder"),
NIV(0x45, "get town zone and Manhattan distance of closest town"),
NIV(0x46, "get square of Euclidean distance of closes town"),
NIV(0x47, "colour"),
NIV(0x48, "view"),
NIV(0x60, "get object ID at offset"),
NIV(0x61, "get random tile bits at offset"),
NIV(0x62, "land info of nearby tiles"),
NIV(0x63, "animation stage of nearby tiles"),
NIV(0x64, "distance on nearest object with given type"),
}
Definition at line 411 of file newgrf_debug_data.h.
◆ _niv_railtypes
Initial value:= {
NIV(0x40, "terrain type"),
NIV(0x41, "enhanced tunnels"),
NIV(0x42, "level crossing status"),
NIV(0x43, "construction date"),
NIV(0x44, "town zone"),
}
Definition at line 454 of file newgrf_debug_data.h.
◆ _niv_roadtypes
Initial value:= {
NIV(0x40, "terrain type"),
NIV(0x41, "enhanced tunnels"),
NIV(0x42, "level crossing status"),
NIV(0x43, "construction date"),
NIV(0x44, "town zone"),
}
Definition at line 622 of file newgrf_debug_data.h.
◆ _niv_stations
Initial value:= {
NIV(0x40, "platform info and relative position"),
NIV(0x41, "platform info and relative position for individually built sections"),
NIV(0x42, "terrain and track type"),
NIV(0x43, "player info"),
NIV(0x44, "path signalling info"),
NIV(0x45, "rail continuation info"),
NIV(0x46, "platform info and relative position from middle"),
NIV(0x47, "platform info and relative position from middle for individually built sections"),
NIV(0x48, "bitmask of accepted cargoes"),
NIV(0x49, "platform info and relative position of same-direction section"),
NIV(0x4A, "current animation frame"),
NIV(0x60, "amount of cargo waiting"),
NIV(0x61, "time since last cargo pickup"),
NIV(0x62, "rating of cargo"),
NIV(0x63, "time spent on route"),
NIV(0x64, "information about last vehicle picking cargo up"),
NIV(0x65, "amount of cargo acceptance"),
NIV(0x66, "animation frame of nearby tile"),
NIV(0x67, "land info of nearby tiles"),
NIV(0x68, "station info of nearby tiles"),
NIV(0x69, "information about cargo accepted in the past"),
NIV(0x6A, "GRFID of nearby station tiles"),
NIV(0x6B, "station ID of nearby tiles"),
}
Definition at line 111 of file newgrf_debug_data.h.
◆ _niv_towns
Initial value:= {
NIV(0x40, "larger town effect on this town"),
NIV(0x41, "town index"),
NIV(0x82, "population"),
NIV(0x94, "zone radius 0"),
NIV(0x96, "zone radius 1"),
NIV(0x98, "zone radius 2"),
NIV(0x9A, "zone radius 3"),
NIV(0x9C, "zone radius 4"),
NIV(0xB6, "number of buildings"),
}
Definition at line 573 of file newgrf_debug_data.h.
◆ _niv_vehicles
Initial value:= {
NIV(0x40, "position in consist and length"),
NIV(0x41, "position and length of chain of same vehicles"),
NIV(0x42, "transported cargo types"),
NIV(0x43, "player info"),
NIV(0x44, "aircraft info"),
NIV(0x45, "curvature info"),
NIV(0x46, "motion counter"),
NIV(0x47, "vehicle cargo info"),
NIV(0x48, "vehicle type info"),
NIV(0x49, "year of construction"),
NIV(0x4A, "current rail/road type info"),
NIV(0x4B, "long date of last service"),
NIV(0x4C, "current max speed"),
NIV(0x4D, "position in articulated vehicle"),
NIV(0x60, "count vehicle id occurrences"),
NIV(0x62, "curvature/position difference to other vehicle"),
NIV(0x63, "tile compatibility wrt. track-type"),
}
Definition at line 51 of file newgrf_debug_data.h.
@ CBID_OBJECT_COLOUR
Called to determine the colour of a town building.
@ CBM_OBJ_ANIMATION_SPEED
decides animation speed
@ CBM_IND_CARGO_SUFFIX
cargo sub-type display
@ CBM_AIRT_ANIM_NEXT_FRAME
decides next animation frame
@ CBID_OBJECT_LAND_SLOPE_CHECK
Callback done for each tile of an object to check the slope.
@ CBID_OBJECT_ANIMATION_NEXT_FRAME
Determine the next animation frame for a house.
@ CBM_HOUSE_CARGO_ACCEPTANCE
decides amount of cargo acceptance
@ CBID_VEHICLE_START_STOP_CHECK
Called when the company (or AI) tries to start or stop a vehicle.
static const int CBM_NO_BIT
Mask to show no bit needs to be enabled for the callback.
@ CBID_VEHICLE_VISUAL_EFFECT
Visual effects and wagon power.
@ CBID_VEHICLE_ARTIC_ENGINE
Builds articulated engines for trains and RVs.
@ CBID_HOUSE_ANIMATION_SPEED
Called to indicate how long the current animation frame should last.
@ CBID_VEHICLE_CARGO_SUFFIX
Determine the cargo "suffixes" for each refit possibility of a cargo.
@ CBM_OBJ_ANIMATION_NEXT_FRAME
decides next animation frame
@ CBID_INDUSTRY_PRODUCTION_CHANGE
Called on production changes, so it can be adjusted.
@ CBID_STATION_AVAILABILITY
Determine whether a newstation should be made available to build.
@ CBID_VEHICLE_MODIFY_PROPERTY
Called to modify various vehicle properties.
@ CBID_INDTILE_CARGO_ACCEPTANCE
Called to query the cargo acceptance of the industry tile.
@ CBM_INDT_SHAPE_CHECK
decides slope suitability
@ CBM_VEHICLE_SOUND_EFFECT
Vehicle uses custom sound effects.
@ CBID_HOUSE_WATCHED_CARGO_ACCEPTED
Called when a cargo type specified in property 20 is accepted.
@ CBID_INDUSTRY_PROBABILITY
Called to determine if the given industry type is available.
@ CBM_STATION_SLOPE_CHECK
Check slope of new station tiles.
@ CBID_HOUSE_CUSTOM_NAME
Called on the Get Tile Description for an house tile.
@ CBM_INDT_ACCEPT_CARGO
decides accepted types
@ CBM_STATION_ANIMATION_NEXT_FRAME
Use a custom next frame callback.
@ CBID_INDTILE_ANIM_START_STOP
Called for periodically starting or stopping the animation.
@ CBID_INDTILE_DRAW_FOUNDATIONS
Called to determine the type (if any) of foundation to draw for industry tile.
@ CBM_HOUSE_DESTRUCTION
trigger destruction of building
@ CBM_VEHICLE_CARGO_SUFFIX
Show suffix after cargo name.
@ CBID_HOUSE_DRAW_FOUNDATIONS
Called to determine the type (if any) of foundation to draw for house tile.
@ CBID_STATION_DRAW_TILE_LAYOUT
Choose a tile layout to draw, instead of the standard range.
@ CBID_INDUSTRY_OUTPUT_CARGO_TYPES
Customize the output cargo types of a newly build industry.
@ CBID_INDTILE_ACCEPT_CARGO
Called to determine which cargoes an industry should accept.
@ CBM_VEHICLE_ARTIC_ENGINE
Add articulated engines (trains and road vehicles)
@ CBID_INDUSTRY_SPECIAL_EFFECT
Called to determine industry special effects.
@ CBM_INDT_AUTOSLOPE
decides allowance of autosloping
@ CBM_HOUSE_PRODUCE_CARGO
custom cargo production
@ CBM_IND_FUND_MORE_TEXT
additional text in fund window
@ CBM_HOUSE_CONSTRUCTION_STATE_CHANGE
change animation when construction state changes
@ CBID_INDUSTRY_FUND_MORE_TEXT
Called to determine more text in the fund industry window.
@ CBM_IND_PROBABILITY
industry availability/probability callback
@ CBID_VEHICLE_ADDITIONAL_TEXT
This callback is called from vehicle purchase lists.
@ CBM_VEHICLE_NAME
Engine name.
@ CBM_STATION_DRAW_TILE_LAYOUT
Use callback to select a tile layout to use when drawing.
@ CBM_VEHICLE_LENGTH
Vehicle length (trains and road vehicles)
@ CBID_INDUSTRY_LOCATION
Called to determine if the given industry can be built on specific area.
@ CBM_HOUSE_ANIMATION_NEXT_FRAME
decides next animation frame
@ CBM_OBJ_FUND_MORE_TEXT
additional text in fund window
@ CBID_HOUSE_COLOUR
Called to determine the colour of a town building.
@ CBM_ROAD_STOP_ANIMATION_SPEED
Customize the animation speed of the road stop.
@ CBID_HOUSE_DESTRUCTION
Called periodically to determine if a house should be destroyed.
@ CBM_VEHICLE_LOAD_AMOUNT
Load amount.
@ CBM_ROAD_STOP_ANIMATION_NEXT_FRAME
Use a custom next frame callback.
@ CBID_STATION_LAND_SLOPE_CHECK
Callback done for each tile of a station to check the slope.
@ CBID_STATION_BUILD_TILE_LAYOUT
Called when building a station to customize the tile layout.
@ CBM_STATION_ANIMATION_SPEED
Customize the animation speed of the station.
@ CBID_AIRPTILE_ANIM_NEXT_FRAME
Called to determine airport tile next animation frame.
@ CBID_VEHICLE_SOUND_EFFECT
Called to play a special sound effect.
@ CBID_VEHICLE_AUTOREPLACE_SELECTION
Return the vehicles this given vehicle can be "upgraded" to.
@ CBM_IND_PRODUCTION_CHANGE
controls random production change
@ CBID_HOUSE_ALLOW_CONSTRUCTION
Determine whether the house can be built on the specified tile.
@ CBM_HOUSE_ACCEPT_CARGO
decides accepted types
@ CBID_INDUSTRY_MONTHLYPROD_CHANGE
Called monthly on production changes, so it can be adjusted more frequently.
@ CBID_HOUSE_CONSTRUCTION_STATE_CHANGE
Called whenever the construction state of a house changes.
@ CBM_INDT_DRAW_FOUNDATIONS
decides if default foundations need to be drawn
@ CBM_IND_LOCATION
check industry construction on given area
@ CBM_IND_INPUT_CARGO_TYPES
customize the cargoes the industry requires
@ CBID_INDUSTRY_INPUT_CARGO_TYPES
Customize the input cargo types of a newly build industry.
@ CBM_OBJ_COLOUR
decide the colour of the building
@ CBM_HOUSE_COLOUR
decide the colour of the building
@ CBM_HOUSE_ANIMATION_SPEED
decides animation speed
@ CBID_HOUSE_ANIMATION_START_STOP
Called for periodically starting or stopping the animation.
@ CBM_IND_SPECIAL_EFFECT
control special effects
@ CBID_INDUSTRY_CARGO_SUFFIX
Called to determine text to display after cargo name.
@ CBM_STATION_AVAIL
Availability of station in construction window.
@ CBID_STATION_ANIM_NEXT_FRAME
Called to determine station tile next animation frame.
@ CBID_HOUSE_CARGO_ACCEPTANCE
Called to decide how much cargo a town building can accept.
@ CBM_HOUSE_ANIMATION_START_STOP
periodically start/stop the animation
@ CBM_VEHICLE_REFIT_CAPACITY
Cargo capacity after refit.
@ CBM_INDT_ANIM_NEXT_FRAME
decides next animation frame
@ CBID_OBJECT_AUTOSLOPE
Called to determine if one can alter the ground below an object tile.
@ CBM_INDT_ANIM_SPEED
decides animation speed
@ CBID_INDTILE_ANIM_NEXT_FRAME
Called to determine industry tile next animation frame.
@ CBID_VEHICLE_COLOUR_MAPPING
Called to determine if a specific colour map should be used for a vehicle instead of the default live...
@ CBM_IND_MONTHLYPROD_CHANGE
controls monthly random production change
@ CBID_INDUSTRY_PROD_CHANGE_BUILD
Called when industry is built to set initial production level.
@ CBID_INDUSTRY_REFUSE_CARGO
Called to determine if the industry can still accept or refuse more cargo arrival.
@ CBM_OBJ_SLOPE_CHECK
decides slope suitability
@ CBM_AIRT_DRAW_FOUNDATIONS
decides if default foundations need to be drawn
@ CBID_AIRPTILE_ANIM_START_STOP
Called for periodically starting or stopping the animation.
@ CBID_AIRPTILE_DRAW_FOUNDATIONS
Called to determine the type (if any) of foundation to draw for an airport tile.
@ CBM_VEHICLE_VISUAL_EFFECT
Visual effects and wagon power (trains, road vehicles and ships)
@ CBID_STATION_ANIM_START_STOP
Called for periodically starting or stopping the animation.
@ CBM_INDT_CARGO_ACCEPTANCE
decides amount of cargo acceptance
@ CBM_OBJ_AUTOSLOPE
decides allowance of autosloping
@ CBM_HOUSE_DENY_DESTRUCTION
conditional protection
@ CBM_IND_REFUSE_CARGO
option out of accepting cargo
@ CBID_OBJECT_ANIMATION_START_STOP
Called for periodically starting or stopping the animation.
@ CBID_INDTILE_AUTOSLOPE
Called to determine if industry can alter the ground below industry tile.
@ CBID_STATION_ANIMATION_SPEED
Called to indicate how long the current animation frame should last.
@ CBM_IND_WINDOW_MORE_TEXT
additional text in industry window
@ CBID_OBJECT_ANIMATION_SPEED
Called to indicate how long the current animation frame should last.
@ CBID_HOUSE_PRODUCE_CARGO
Called to determine how much cargo a town building produces.
@ CBID_VEHICLE_REFIT_CAPACITY
Refit capacity, the passed vehicle needs to have its ->cargo_type set to the cargo we are refitting t...
@ CBID_INDUSTRY_DECIDE_COLOUR
Called to determine the colour of an industry.
@ CBM_ROAD_STOP_AVAIL
Availability of road stop in construction window.
@ CBID_VEHICLE_32DAY_CALLBACK
Called for every vehicle every 32 days (not all on same date though).
@ CBM_HOUSE_AUTOSLOPE
decides allowance of autosloping
@ CBID_INDUSTRY_WINDOW_MORE_TEXT
Called to determine more text in the industry window.
@ CBM_IND_DECIDE_COLOUR
give a custom colour to newly build industries
@ CBID_VEHICLE_LOAD_AMOUNT
Determine the amount of cargo to load per unit of time when using gradual loading.
@ CBID_VEHICLE_LENGTH
Vehicle length, returns the amount of 1/8's the vehicle is shorter for trains and RVs.
@ CBM_IND_PROD_CHANGE_BUILD
initialise production level on construction
@ CBM_VEHICLE_COLOUR_REMAP
Change colour mapping of vehicle.
@ CBM_HOUSE_DRAW_FOUNDATIONS
decides if default foundations need to be drawn
@ CBID_AIRPTILE_ANIMATION_SPEED
Called to indicate how long the current animation frame should last.
@ CBID_INDTILE_ANIMATION_SPEED
Called to indicate how long the current animation frame should last.
@ CBM_HOUSE_ALLOW_CONSTRUCTION
decide whether the house can be built on a given tile
@ CBID_HOUSE_DENY_DESTRUCTION
Called to determine whether a town building can be destroyed.
@ CBID_HOUSE_ACCEPT_CARGO
Called to determine which cargoes a town building should accept.
@ CBID_VEHICLE_NAME
Called to determine the engine name to show.
@ CBID_HOUSE_ANIMATION_NEXT_FRAME
Determine the next animation frame for a house.
@ CBM_IND_OUTPUT_CARGO_TYPES
customize the cargoes the industry produces
@ CBID_HOUSE_AUTOSLOPE
Called to determine if one can alter the ground below a house tile.
@ CBID_INDTILE_SHAPE_CHECK
Called to determine if the given industry tile can be built on specific tile.
@ CBID_TRAIN_ALLOW_WAGON_ATTACH
Determine whether a wagon can be attached to an already existing train.
@ CBID_OBJECT_FUND_MORE_TEXT
Called to determine more text in the fund object window.
@ CBM_AIRT_ANIM_SPEED
decides animation speed