OpenTTD Source: src/table/newgrf_debug_data.h File Reference

OpenTTD Source 15.3

Data Structures | Macros | Variables
newgrf_debug_data.h File Reference

Data 'tables' for NewGRF debugging. More...

`#include "../newgrf_house.h"`
`#include "../newgrf_engine.h"`
`#include "../newgrf_roadtype.h"`
`#include "../newgrf_roadstop.h"`

Go to the source code of this file.

## Data Structures
class | NIHVehicle
class | NIHStation
class | NIHHouse
class | NIHIndustryTile
class | NIHIndustry
class | NIHObject
class | NIHRailType
class | NIHAirportTile
class | NIHAirport
class | NIHTown
class | NIHRoadType< TRoadTramType >
class | NIHRoadStop

## Macros
#define | NIP(prop, base_class, variable, type, name) { name, [] (const void *b) -> uint32_t { return static_cast<const base_class *>(b)->variable; }, prop, type }
#define | NIC(cb_id, base_class, variable, bit) { #cb_id, [] (const void *b) -> uint32_t { return static_cast<const base_class *>(b)->variable.base(); }, bit, cb_id }
#define | NIV(var, name) { name, var }
#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_class, slot, type, name) { name, [] (const void *b) -> uint32_t { return static_cast<const base_class *>(b)->GetProduced(slot).cargo; }, prop, type }
#define | NIP_ACCEPTED_CARGO(prop, base_class, slot, type, name) { name, [] (const void *b) -> uint32_t { return static_cast<const base_class *>(b)->GetAccepted(slot).cargo; }, 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)

## Variables
static const NICallback | _nic_vehicles []
static const NIVariable | _niv_vehicles []
static const NIFeature | _nif_vehicle
static const NICallback | _nic_stations []
static const NIVariable | _niv_stations []
static const NIFeature | _nif_station
static const NICallback | _nic_house []
static const NIVariable | _niv_house []
static const NIFeature | _nif_house
static const NICallback | _nic_industrytiles []
static const NIVariable | _niv_industrytiles []
static const NIFeature | _nif_industrytile
static const NIProperty | _nip_industries []
static const NICallback | _nic_industries []
static const NIVariable | _niv_industries []
static const NIFeature | _nif_industry
static const NICallback | _nic_objects []
static const NIVariable | _niv_objects []
static const NIFeature | _nif_object
static const NIVariable | _niv_railtypes []
static const NIFeature | _nif_railtype
static const NICallback | _nic_airporttiles []
static const NIFeature | _nif_airporttile
static const NIVariable | _niv_airports []
static const NIFeature | _nif_airport
static const NIVariable | _niv_towns []
static const NIFeature | _nif_town
static const NIVariable | _niv_roadtypes []
static const NIFeature | _nif_roadtype
static const NIFeature | _nif_tramtype
static const NICallback | _nic_roadstops []
static const NIVariable | _nif_roadstops []
static const NIFeature | _nif_roadstop
static const NIFeature *const | _nifeatures []
| Table with all NIFeatures.

## Detailed Description

Data 'tables' for NewGRF debugging.

Definition in file newgrf_debug_data.h.

## Macro Definition Documentation

## ◆ NIC

#define NIC | ( |  | cb_id,
|  |  | base_class,
|  |  | variable,
|  |  | bit
| ) |  | { #cb_id, [] (const void *b) -> uint32_t { return static_cast<const base_class *>(b)->variable.base(); }, bit, cb_id }

Definition at line 19 of file newgrf_debug_data.h.

## ◆ NICAT

#define NICAT | ( |  | cb_id,
|  |  | bit
| ) |  | NIC(cb_id, AirportTileSpec, callback_mask, bit)

Definition at line 485 of file newgrf_debug_data.h.

## ◆ NICH

#define NICH | ( |  | cb_id,
|  |  | bit
| ) |  | NIC(cb_id, HouseSpec, callback_mask, bit)

Definition at line 159 of file newgrf_debug_data.h.

## ◆ NICI

#define NICI | ( |  | cb_id,
|  |  | bit
| ) |  | NIC(cb_id, IndustrySpec, callback_mask, bit)

Definition at line 314 of file newgrf_debug_data.h.

## ◆ NICIT

#define NICIT | ( |  | cb_id,
|  |  | bit
| ) |  | NIC(cb_id, IndustryTileSpec, callback_mask, bit)

Definition at line 224 of file newgrf_debug_data.h.

## ◆ NICO

#define NICO | ( |  | cb_id,
|  |  | bit
| ) |  | NIC(cb_id, ObjectSpec, callback_mask, bit)

Definition at line 393 of file newgrf_debug_data.h.

## ◆ NICRS

#define NICRS | ( |  | cb_id,
|  |  | bit
| ) |  | NIC(cb_id, RoadStopSpec, callback_mask, bit)

Definition at line 665 of file newgrf_debug_data.h.

## ◆ NICS

#define NICS | ( |  | cb_id,
|  |  | bit
| ) |  | NIC(cb_id, StationSpec, callback_mask, bit)

Definition at line 95 of file newgrf_debug_data.h.

## ◆ NICV

#define NICV | ( |  | cb_id,
|  |  | bit
| ) |  | NIC(cb_id, Engine, info.callback_mask, bit)

Definition at line 27 of file newgrf_debug_data.h.

## ◆ NIP

#define NIP | ( |  | prop,
|  |  | base_class,
|  |  | variable,
|  |  | type,
|  |  | name
| ) |  | { name, [] (const void *b) -> uint32_t { return static_cast<const base_class *>(b)->variable; }, prop, type }

Definition at line 16 of file newgrf_debug_data.h.

## ◆ NIP_ACCEPTED_CARGO

#define NIP_ACCEPTED_CARGO | ( |  | prop,
|  |  | base_class,
|  |  | slot,
|  |  | type,
|  |  | name
| ) |  | { name, [] (const void *b) -> uint32_t { return static_cast<const base_class *>(b)->GetAccepted(slot).cargo; }, prop, type }

Definition at line 274 of file newgrf_debug_data.h.

## ◆ NIP_PRODUCED_CARGO

#define NIP_PRODUCED_CARGO | ( |  | prop,
|  |  | base_class,
|  |  | slot,
|  |  | type,
|  |  | name
| ) |  | { name, [] (const void *b) -> uint32_t { return static_cast<const base_class *>(b)->GetProduced(slot).cargo; }, prop, type }

Definition at line 273 of file newgrf_debug_data.h.

## ◆ NIV

#define NIV | ( |  | var,
|  |  | name
| ) |  | { name, var }

Definition at line 22 of file newgrf_debug_data.h.

## Variable Documentation

## ◆ _nic_airporttiles

const NICallback _nic_airporttiles[]
| static

Initial value:
= {
NICAT(CBID_AIRPTILE_DRAW_FOUNDATIONS, AirportTileCallbackMask::DrawFoundations),
NICAT(CBID_AIRPTILE_ANIMATION_TRIGGER, std::monostate{}),
NICAT(CBID_AIRPTILE_ANIMATION_NEXT_FRAME, AirportTileCallbackMask::AnimationNextFrame),
NICAT(CBID_AIRPTILE_ANIMATION_SPEED, AirportTileCallbackMask::AnimationSpeed),
}
AirportTileCallbackMask::DrawFoundations
@ DrawFoundations
decides if default foundations need to be drawn
AirportTileCallbackMask::AnimationNextFrame
@ AnimationNextFrame
decides next animation frame
AirportTileCallbackMask::AnimationSpeed
@ AnimationSpeed
decides animation speed
CBID_AIRPTILE_DRAW_FOUNDATIONS
@ CBID_AIRPTILE_DRAW_FOUNDATIONS
Called to determine the type (if any) of foundation to draw for an airport tile.
Definition newgrf_callbacks.h:235
CBID_AIRPTILE_ANIMATION_TRIGGER
@ CBID_AIRPTILE_ANIMATION_TRIGGER
Called for periodically starting or stopping the animation.
Definition newgrf_callbacks.h:238
CBID_AIRPTILE_ANIMATION_SPEED
@ CBID_AIRPTILE_ANIMATION_SPEED
Called to indicate how long the current animation frame should last.
Definition newgrf_callbacks.h:244
CBID_AIRPTILE_ANIMATION_NEXT_FRAME
@ CBID_AIRPTILE_ANIMATION_NEXT_FRAME
Called to determine airport tile next animation frame.
Definition newgrf_callbacks.h:241

Definition at line 486 of file newgrf_debug_data.h.

## ◆ _nic_house

const NICallback _nic_house[]
| static

Initial value:
= {
NICH(CBID_HOUSE_ALLOW_CONSTRUCTION, HouseCallbackMask::AllowConstruction),
NICH(CBID_HOUSE_ANIMATION_NEXT_FRAME, HouseCallbackMask::AnimationNextFrame),
NICH(CBID_HOUSE_ANIMATION_TRIGGER_TILE_LOOP, HouseCallbackMask::AnimationTriggerTileLoop),
NICH(CBID_HOUSE_ANIMATION_TRIGGER_CONSTRUCTION_STAGE_CHANGED, HouseCallbackMask::AnimationTriggerConstructionStageChanged),
NICH(CBID_HOUSE_COLOUR, HouseCallbackMask::Colour),
NICH(CBID_HOUSE_CARGO_ACCEPTANCE, HouseCallbackMask::CargoAcceptance),
NICH(CBID_HOUSE_ANIMATION_SPEED, HouseCallbackMask::AnimationSpeed),
NICH(CBID_HOUSE_DESTRUCTION, HouseCallbackMask::Destruction),
NICH(CBID_HOUSE_ACCEPT_CARGO, HouseCallbackMask::AcceptCargo),
NICH(CBID_HOUSE_PRODUCE_CARGO, HouseCallbackMask::ProduceCargo),
NICH(CBID_HOUSE_DENY_DESTRUCTION, HouseCallbackMask::DenyDestruction),
NICH(CBID_HOUSE_ANIMATION_TRIGGER_WATCHED_CARGO_ACCEPTED, std::monostate{}),
NICH(CBID_HOUSE_CUSTOM_NAME, std::monostate{}),
NICH(CBID_HOUSE_DRAW_FOUNDATIONS, HouseCallbackMask::DrawFoundations),
NICH(CBID_HOUSE_AUTOSLOPE, HouseCallbackMask::Autoslope),
}
CBID_HOUSE_ANIMATION_TRIGGER_WATCHED_CARGO_ACCEPTED
@ CBID_HOUSE_ANIMATION_TRIGGER_WATCHED_CARGO_ACCEPTED
Called when a cargo type specified in property 20 is accepted.
Definition newgrf_callbacks.h:211
CBID_HOUSE_ANIMATION_TRIGGER_TILE_LOOP
@ CBID_HOUSE_ANIMATION_TRIGGER_TILE_LOOP
Called for periodically starting or stopping the animation.
Definition newgrf_callbacks.h:68
CBID_HOUSE_COLOUR
@ CBID_HOUSE_COLOUR
Called to determine the colour of a town building.
Definition newgrf_callbacks.h:77
CBID_HOUSE_DRAW_FOUNDATIONS
@ CBID_HOUSE_DRAW_FOUNDATIONS
Called to determine the type (if any) of foundation to draw for house tile.
Definition newgrf_callbacks.h:229
CBID_HOUSE_CARGO_ACCEPTANCE
@ CBID_HOUSE_CARGO_ACCEPTANCE
Called to decide how much cargo a town building can accept.
Definition newgrf_callbacks.h:80
CBID_HOUSE_ANIMATION_SPEED
@ CBID_HOUSE_ANIMATION_SPEED
Called to indicate how long the current animation frame should last.
Definition newgrf_callbacks.h:83
CBID_HOUSE_AUTOSLOPE
@ CBID_HOUSE_AUTOSLOPE
Called to determine if one can alter the ground below a house tile.
Definition newgrf_callbacks.h:232
CBID_HOUSE_ANIMATION_NEXT_FRAME
@ CBID_HOUSE_ANIMATION_NEXT_FRAME
Determine the next animation frame for a house.
Definition newgrf_callbacks.h:65
CBID_HOUSE_CUSTOM_NAME
@ CBID_HOUSE_CUSTOM_NAME
Called on the Get Tile Description for an house tile.
Definition newgrf_callbacks.h:226
CBID_HOUSE_DENY_DESTRUCTION
@ CBID_HOUSE_DENY_DESTRUCTION
Called to determine whether a town building can be destroyed.
Definition newgrf_callbacks.h:196
CBID_HOUSE_ALLOW_CONSTRUCTION
@ CBID_HOUSE_ALLOW_CONSTRUCTION
Determine whether the house can be built on the specified tile.
Definition newgrf_callbacks.h:56
CBID_HOUSE_ACCEPT_CARGO
@ CBID_HOUSE_ACCEPT_CARGO
Called to determine which cargoes a town building should accept.
Definition newgrf_callbacks.h:116
CBID_HOUSE_PRODUCE_CARGO
@ CBID_HOUSE_PRODUCE_CARGO
Called to determine how much cargo a town building produces.
Definition newgrf_callbacks.h:131
CBID_HOUSE_ANIMATION_TRIGGER_CONSTRUCTION_STAGE_CHANGED
@ CBID_HOUSE_ANIMATION_TRIGGER_CONSTRUCTION_STAGE_CHANGED
Called whenever the construction stage of a house changes.
Definition newgrf_callbacks.h:71
CBID_HOUSE_DESTRUCTION
@ CBID_HOUSE_DESTRUCTION
Called periodically to determine if a house should be destroyed.
Definition newgrf_callbacks.h:86
HouseCallbackMask::AllowConstruction
@ AllowConstruction
decide whether the house can be built on a given tile
HouseCallbackMask::AcceptCargo
@ AcceptCargo
decides accepted types
HouseCallbackMask::Destruction
@ Destruction
trigger destruction of building
HouseCallbackMask::CargoAcceptance
@ CargoAcceptance
decides amount of cargo acceptance
HouseCallbackMask::DrawFoundations
@ DrawFoundations
decides if default foundations need to be drawn
HouseCallbackMask::ProduceCargo
@ ProduceCargo
custom cargo production
HouseCallbackMask::Autoslope
@ Autoslope
decides allowance of autosloping
HouseCallbackMask::AnimationNextFrame
@ AnimationNextFrame
decides next animation frame
HouseCallbackMask::DenyDestruction
@ DenyDestruction
conditional protection
HouseCallbackMask::AnimationSpeed
@ AnimationSpeed
decides animation speed
HouseCallbackMask::Colour
@ Colour
decide the colour of the building
HouseCallbackMask::AnimationTriggerConstructionStageChanged
@ AnimationTriggerConstructionStageChanged
change animation when construction stage changes
HouseCallbackMask::AnimationTriggerTileLoop
@ AnimationTriggerTileLoop
periodically start/stop the animation

Definition at line 160 of file newgrf_debug_data.h.

## ◆ _nic_industries

const NICallback _nic_industries[]
| static

Initial value:
= {
NICI(CBID_INDUSTRY_PROBABILITY, IndustryCallbackMask::Probability),
NICI(CBID_INDUSTRY_LOCATION, IndustryCallbackMask::Location),
NICI(CBID_INDUSTRY_PRODUCTION_CHANGE, IndustryCallbackMask::ProductionChange),
NICI(CBID_INDUSTRY_MONTHLYPROD_CHANGE, IndustryCallbackMask::MonthlyProdChange),
NICI(CBID_INDUSTRY_CARGO_SUFFIX, IndustryCallbackMask::CargoSuffix),
NICI(CBID_INDUSTRY_FUND_MORE_TEXT, IndustryCallbackMask::FundMoreText),
NICI(CBID_INDUSTRY_WINDOW_MORE_TEXT, IndustryCallbackMask::WindowMoreText),
NICI(CBID_INDUSTRY_SPECIAL_EFFECT, IndustryCallbackMask::SpecialEffect),
NICI(CBID_INDUSTRY_REFUSE_CARGO, IndustryCallbackMask::RefuseCargo),
NICI(CBID_INDUSTRY_DECIDE_COLOUR, IndustryCallbackMask::DecideColour),
NICI(CBID_INDUSTRY_INPUT_CARGO_TYPES, IndustryCallbackMask::InputCargoTypes),
NICI(CBID_INDUSTRY_OUTPUT_CARGO_TYPES, IndustryCallbackMask::OutputCargoTypes),
NICI(CBID_INDUSTRY_PROD_CHANGE_BUILD, IndustryCallbackMask::ProdChangeBuild),
}
IndustryCallbackMask::Probability
@ Probability
industry availability/probability callback
IndustryCallbackMask::WindowMoreText
@ WindowMoreText
additional text in industry window
IndustryCallbackMask::FundMoreText
@ FundMoreText
additional text in fund window
IndustryCallbackMask::InputCargoTypes
@ InputCargoTypes
customize the cargoes the industry requires
IndustryCallbackMask::ProductionChange
@ ProductionChange
controls random production change
IndustryCallbackMask::DecideColour
@ DecideColour
give a custom colour to newly build industries
IndustryCallbackMask::SpecialEffect
@ SpecialEffect
control special effects
IndustryCallbackMask::ProdChangeBuild
@ ProdChangeBuild
initialise production level on construction
IndustryCallbackMask::Location
@ Location
check industry construction on given area
IndustryCallbackMask::MonthlyProdChange
@ MonthlyProdChange
controls monthly random production change
IndustryCallbackMask::CargoSuffix
@ CargoSuffix
cargo sub-type display
IndustryCallbackMask::RefuseCargo
@ RefuseCargo
option out of accepting cargo
IndustryCallbackMask::OutputCargoTypes
@ OutputCargoTypes
customize the cargoes the industry produces
CBID_INDUSTRY_OUTPUT_CARGO_TYPES
@ CBID_INDUSTRY_OUTPUT_CARGO_TYPES
Customize the output cargo types of a newly build industry.
Definition newgrf_callbacks.h:223
CBID_INDUSTRY_SPECIAL_EFFECT
@ CBID_INDUSTRY_SPECIAL_EFFECT
Called to determine industry special effects.
Definition newgrf_callbacks.h:176
CBID_INDUSTRY_PROBABILITY
@ CBID_INDUSTRY_PROBABILITY
Called to determine if the given industry type is available.
Definition newgrf_callbacks.h:89
CBID_INDUSTRY_DECIDE_COLOUR
@ CBID_INDUSTRY_DECIDE_COLOUR
Called to determine the colour of an industry.
Definition newgrf_callbacks.h:217
CBID_INDUSTRY_WINDOW_MORE_TEXT
@ CBID_INDUSTRY_WINDOW_MORE_TEXT
Called to determine more text in the industry window.
Definition newgrf_callbacks.h:173
CBID_INDUSTRY_PRODUCTION_CHANGE
@ CBID_INDUSTRY_PRODUCTION_CHANGE
Called on production changes, so it can be adjusted.
Definition newgrf_callbacks.h:113
CBID_INDUSTRY_CARGO_SUFFIX
@ CBID_INDUSTRY_CARGO_SUFFIX
Called to determine text to display after cargo name.
Definition newgrf_callbacks.h:164
CBID_INDUSTRY_REFUSE_CARGO
@ CBID_INDUSTRY_REFUSE_CARGO
Called to determine if the industry can still accept or refuse more cargo arrival.
Definition newgrf_callbacks.h:182
CBID_INDUSTRY_MONTHLYPROD_CHANGE
@ CBID_INDUSTRY_MONTHLYPROD_CHANGE
Called monthly on production changes, so it can be adjusted more frequently.
Definition newgrf_callbacks.h:155
CBID_INDUSTRY_FUND_MORE_TEXT
@ CBID_INDUSTRY_FUND_MORE_TEXT
Called to determine more text in the fund industry window.
Definition newgrf_callbacks.h:167
CBID_INDUSTRY_PROD_CHANGE_BUILD
@ CBID_INDUSTRY_PROD_CHANGE_BUILD
Called when industry is built to set initial production level.
Definition newgrf_callbacks.h:280
CBID_INDUSTRY_LOCATION
@ CBID_INDUSTRY_LOCATION
Called to determine if the given industry can be built on specific area.
Definition newgrf_callbacks.h:110
CBID_INDUSTRY_INPUT_CARGO_TYPES
@ CBID_INDUSTRY_INPUT_CARGO_TYPES
Customize the input cargo types of a newly build industry.
Definition newgrf_callbacks.h:220

Definition at line 315 of file newgrf_debug_data.h.

## ◆ _nic_industrytiles

const NICallback _nic_industrytiles[]
| static

Initial value:
= {
NICIT(CBID_INDTILE_ANIMATION_TRIGGER, std::monostate{}),
NICIT(CBID_INDTILE_ANIMATION_NEXT_FRAME, IndustryTileCallbackMask::AnimationNextFrame),
NICIT(CBID_INDTILE_ANIMATION_SPEED, IndustryTileCallbackMask::AnimationSpeed),
NICIT(CBID_INDTILE_CARGO_ACCEPTANCE, IndustryTileCallbackMask::CargoAcceptance),
NICIT(CBID_INDTILE_ACCEPT_CARGO, IndustryTileCallbackMask::AcceptCargo),
NICIT(CBID_INDTILE_SHAPE_CHECK, IndustryTileCallbackMask::ShapeCheck),
NICIT(CBID_INDTILE_DRAW_FOUNDATIONS, IndustryTileCallbackMask::DrawFoundations),
NICIT(CBID_INDTILE_AUTOSLOPE, IndustryTileCallbackMask::Autoslope),
}
CBID_INDTILE_ANIMATION_SPEED
@ CBID_INDTILE_ANIMATION_SPEED
Called to indicate how long the current animation frame should last.
Definition newgrf_callbacks.h:107
CBID_INDTILE_SHAPE_CHECK
@ CBID_INDTILE_SHAPE_CHECK
Called to determine if the given industry tile can be built on specific tile.
Definition newgrf_callbacks.h:134
CBID_INDTILE_AUTOSLOPE
@ CBID_INDTILE_AUTOSLOPE
Called to determine if industry can alter the ground below industry tile.
Definition newgrf_callbacks.h:179
CBID_INDTILE_DRAW_FOUNDATIONS
@ CBID_INDTILE_DRAW_FOUNDATIONS
Called to determine the type (if any) of foundation to draw for industry tile.
Definition newgrf_callbacks.h:137
CBID_INDTILE_ANIMATION_TRIGGER
@ CBID_INDTILE_ANIMATION_TRIGGER
Called for periodically starting or stopping the animation.
Definition newgrf_callbacks.h:101
CBID_INDTILE_CARGO_ACCEPTANCE
@ CBID_INDTILE_CARGO_ACCEPTANCE
Called to query the cargo acceptance of the industry tile.
Definition newgrf_callbacks.h:119
CBID_INDTILE_ACCEPT_CARGO
@ CBID_INDTILE_ACCEPT_CARGO
Called to determine which cargoes an industry should accept.
Definition newgrf_callbacks.h:122
CBID_INDTILE_ANIMATION_NEXT_FRAME
@ CBID_INDTILE_ANIMATION_NEXT_FRAME
Called to determine industry tile next animation frame.
Definition newgrf_callbacks.h:104
IndustryTileCallbackMask::ShapeCheck
@ ShapeCheck
decides slope suitability
IndustryTileCallbackMask::AcceptCargo
@ AcceptCargo
decides accepted types
IndustryTileCallbackMask::CargoAcceptance
@ CargoAcceptance
decides amount of cargo acceptance
IndustryTileCallbackMask::DrawFoundations
@ DrawFoundations
decides if default foundations need to be drawn
IndustryTileCallbackMask::Autoslope
@ Autoslope
decides allowance of autosloping
IndustryTileCallbackMask::AnimationNextFrame
@ AnimationNextFrame
decides next animation frame
IndustryTileCallbackMask::AnimationSpeed
@ AnimationSpeed
decides animation speed

Definition at line 225 of file newgrf_debug_data.h.

## ◆ _nic_objects

const NICallback _nic_objects[]
| static

Initial value:
= {
NICO(CBID_OBJECT_LAND_SLOPE_CHECK, ObjectCallbackMask::SlopeCheck),
NICO(CBID_OBJECT_ANIMATION_NEXT_FRAME, ObjectCallbackMask::AnimationNextFrame),
NICO(CBID_OBJECT_ANIMATION_TRIGGER, std::monostate{}),
NICO(CBID_OBJECT_ANIMATION_SPEED, ObjectCallbackMask::AnimationSpeed),
NICO(CBID_OBJECT_COLOUR, ObjectCallbackMask::Colour),
NICO(CBID_OBJECT_FUND_MORE_TEXT, ObjectCallbackMask::FundMoreText),
NICO(CBID_OBJECT_AUTOSLOPE, ObjectCallbackMask::Autoslope),
}
CBID_OBJECT_FUND_MORE_TEXT
@ CBID_OBJECT_FUND_MORE_TEXT
Called to determine more text in the fund object window.
Definition newgrf_callbacks.h:271
CBID_OBJECT_LAND_SLOPE_CHECK
@ CBID_OBJECT_LAND_SLOPE_CHECK
Callback done for each tile of an object to check the slope.
Definition newgrf_callbacks.h:256
CBID_OBJECT_AUTOSLOPE
@ CBID_OBJECT_AUTOSLOPE
Called to determine if one can alter the ground below an object tile.
Definition newgrf_callbacks.h:274
CBID_OBJECT_ANIMATION_TRIGGER
@ CBID_OBJECT_ANIMATION_TRIGGER
Called for periodically starting or stopping the animation.
Definition newgrf_callbacks.h:262
CBID_OBJECT_ANIMATION_NEXT_FRAME
@ CBID_OBJECT_ANIMATION_NEXT_FRAME
Determine the next animation frame for a house.
Definition newgrf_callbacks.h:259
CBID_OBJECT_COLOUR
@ CBID_OBJECT_COLOUR
Called to determine the colour of a town building.
Definition newgrf_callbacks.h:268
CBID_OBJECT_ANIMATION_SPEED
@ CBID_OBJECT_ANIMATION_SPEED
Called to indicate how long the current animation frame should last.
Definition newgrf_callbacks.h:265
ObjectCallbackMask::FundMoreText
@ FundMoreText
additional text in fund window
ObjectCallbackMask::Autoslope
@ Autoslope
decides allowance of autosloping
ObjectCallbackMask::AnimationNextFrame
@ AnimationNextFrame
decides next animation frame
ObjectCallbackMask::AnimationSpeed
@ AnimationSpeed
decides animation speed
ObjectCallbackMask::Colour
@ Colour
decide the colour of the building
ObjectCallbackMask::SlopeCheck
@ SlopeCheck
decides slope suitability

Definition at line 394 of file newgrf_debug_data.h.

## ◆ _nic_roadstops

const NICallback _nic_roadstops[]
| static

Initial value:
= {
NICRS(CBID_STATION_AVAILABILITY, RoadStopCallbackMask::Avail),
NICRS(CBID_STATION_ANIMATION_TRIGGER, std::monostate{}),
NICRS(CBID_STATION_ANIMATION_NEXT_FRAME, RoadStopCallbackMask::AnimationNextFrame),
NICRS(CBID_STATION_ANIMATION_SPEED, RoadStopCallbackMask::AnimationSpeed),
}
CBID_STATION_ANIMATION_TRIGGER
@ CBID_STATION_ANIMATION_TRIGGER
Called for periodically starting or stopping the animation.
Definition newgrf_callbacks.h:187
CBID_STATION_AVAILABILITY
@ CBID_STATION_AVAILABILITY
Determine whether a newstation should be made available to build.
Definition newgrf_callbacks.h:41
CBID_STATION_ANIMATION_NEXT_FRAME
@ CBID_STATION_ANIMATION_NEXT_FRAME
Called to determine station tile next animation frame.
Definition newgrf_callbacks.h:190
CBID_STATION_ANIMATION_SPEED
@ CBID_STATION_ANIMATION_SPEED
Called to indicate how long the current animation frame should last.
Definition newgrf_callbacks.h:193
RoadStopCallbackMask::Avail
@ Avail
Availability of road stop in construction window.
RoadStopCallbackMask::AnimationNextFrame
@ AnimationNextFrame
Use a custom next frame callback.
RoadStopCallbackMask::AnimationSpeed
@ AnimationSpeed
Customize the animation speed of the road stop.

Definition at line 666 of file newgrf_debug_data.h.

## ◆ _nic_stations

const NICallback _nic_stations[]
| static

Initial value:
= {
NICS(CBID_STATION_AVAILABILITY, StationCallbackMask::Avail),
NICS(CBID_STATION_DRAW_TILE_LAYOUT, StationCallbackMask::DrawTileLayout),
NICS(CBID_STATION_BUILD_TILE_LAYOUT,std::monostate{}),
NICS(CBID_STATION_ANIMATION_TRIGGER, std::monostate{}),
NICS(CBID_STATION_ANIMATION_NEXT_FRAME, StationCallbackMask::AnimationNextFrame),
NICS(CBID_STATION_ANIMATION_SPEED, StationCallbackMask::AnimationSpeed),
NICS(CBID_STATION_LAND_SLOPE_CHECK, StationCallbackMask::SlopeCheck),
}
StationCallbackMask::DrawTileLayout
@ DrawTileLayout
Use callback to select a tile layout to use when drawing.
StationCallbackMask::Avail
@ Avail
Availability of station in construction window.
StationCallbackMask::AnimationNextFrame
@ AnimationNextFrame
Use a custom next frame callback.
StationCallbackMask::AnimationSpeed
@ AnimationSpeed
Customize the animation speed of the station.
StationCallbackMask::SlopeCheck
@ SlopeCheck
Check slope of new station tiles.
CBID_STATION_BUILD_TILE_LAYOUT
@ CBID_STATION_BUILD_TILE_LAYOUT
Called when building a station to customize the tile layout.
Definition newgrf_callbacks.h:98
CBID_STATION_DRAW_TILE_LAYOUT
@ CBID_STATION_DRAW_TILE_LAYOUT
Choose a tile layout to draw, instead of the standard range.
Definition newgrf_callbacks.h:44
CBID_STATION_LAND_SLOPE_CHECK
@ CBID_STATION_LAND_SLOPE_CHECK
Callback done for each tile of a station to check the slope.
Definition newgrf_callbacks.h:214

Definition at line 96 of file newgrf_debug_data.h.

## ◆ _nic_vehicles

const NICallback _nic_vehicles[]
| static

Initial value:
= {
NICV(CBID_VEHICLE_VISUAL_EFFECT, VehicleCallbackMask::VisualEffect),
NICV(CBID_VEHICLE_LENGTH, VehicleCallbackMask::Length),
NICV(CBID_VEHICLE_LOAD_AMOUNT, VehicleCallbackMask::LoadAmount),
NICV(CBID_VEHICLE_REFIT_CAPACITY, VehicleCallbackMask::RefitCapacity),
NICV(CBID_VEHICLE_ARTIC_ENGINE, VehicleCallbackMask::ArticEngine),
NICV(CBID_VEHICLE_CARGO_SUFFIX, VehicleCallbackMask::CargoSuffix),
NICV(CBID_TRAIN_ALLOW_WAGON_ATTACH, std::monostate{}),
NICV(CBID_VEHICLE_ADDITIONAL_TEXT, std::monostate{}),
NICV(CBID_VEHICLE_COLOUR_MAPPING, VehicleCallbackMask::ColourRemap),
NICV(CBID_VEHICLE_START_STOP_CHECK, std::monostate{}),
NICV(CBID_VEHICLE_32DAY_CALLBACK, std::monostate{}),
NICV(CBID_VEHICLE_SOUND_EFFECT, VehicleCallbackMask::SoundEffect),
NICV(CBID_VEHICLE_AUTOREPLACE_SELECTION, std::monostate{}),
NICV(CBID_VEHICLE_MODIFY_PROPERTY, std::monostate{}),
NICV(CBID_VEHICLE_NAME, VehicleCallbackMask::Name),
}
VehicleCallbackMask::VisualEffect
@ VisualEffect
Visual effects and wagon power (trains, road vehicles and ships)
VehicleCallbackMask::SoundEffect
@ SoundEffect
Vehicle uses custom sound effects.
VehicleCallbackMask::Name
@ Name
Engine name.
VehicleCallbackMask::RefitCapacity
@ RefitCapacity
Cargo capacity after refit.
VehicleCallbackMask::ArticEngine
@ ArticEngine
Add articulated engines (trains and road vehicles)
VehicleCallbackMask::Length
@ Length
Vehicle length (trains and road vehicles)
VehicleCallbackMask::ColourRemap
@ ColourRemap
Change colour mapping of vehicle.
VehicleCallbackMask::LoadAmount
@ LoadAmount
Load amount.
VehicleCallbackMask::CargoSuffix
@ CargoSuffix
Show suffix after cargo name.
CBID_VEHICLE_SOUND_EFFECT
@ CBID_VEHICLE_SOUND_EFFECT
Called to play a special sound effect.
Definition newgrf_callbacks.h:149
CBID_VEHICLE_AUTOREPLACE_SELECTION
@ CBID_VEHICLE_AUTOREPLACE_SELECTION
Return the vehicles this given vehicle can be "upgraded" to.
Definition newgrf_callbacks.h:152
CBID_VEHICLE_COLOUR_MAPPING
@ CBID_VEHICLE_COLOUR_MAPPING
Called to determine if a specific colour map should be used for a vehicle instead of the default live...
Definition newgrf_callbacks.h:128
CBID_VEHICLE_32DAY_CALLBACK
@ CBID_VEHICLE_32DAY_CALLBACK
Called for every vehicle every 32 days (not all on same date though).
Definition newgrf_callbacks.h:146
CBID_VEHICLE_NAME
@ CBID_VEHICLE_NAME
Called to determine the engine name to show.
Definition newgrf_callbacks.h:286
CBID_VEHICLE_CARGO_SUFFIX
@ CBID_VEHICLE_CARGO_SUFFIX
Determine the cargo "suffixes" for each refit possibility of a cargo.
Definition newgrf_callbacks.h:62
CBID_VEHICLE_LENGTH
@ CBID_VEHICLE_LENGTH
Vehicle length, returns the amount of 1/8's the vehicle is shorter for trains and RVs.
Definition newgrf_callbacks.h:35
CBID_VEHICLE_START_STOP_CHECK
@ CBID_VEHICLE_START_STOP_CHECK
Called when the company (or AI) tries to start or stop a vehicle.
Definition newgrf_callbacks.h:143
CBID_TRAIN_ALLOW_WAGON_ATTACH
@ CBID_TRAIN_ALLOW_WAGON_ATTACH
Determine whether a wagon can be attached to an already existing train.
Definition newgrf_callbacks.h:74
CBID_VEHICLE_MODIFY_PROPERTY
@ CBID_VEHICLE_MODIFY_PROPERTY
Called to modify various vehicle properties.
Definition newgrf_callbacks.h:161
CBID_VEHICLE_ADDITIONAL_TEXT
@ CBID_VEHICLE_ADDITIONAL_TEXT
This callback is called from vehicle purchase lists.
Definition newgrf_callbacks.h:95
CBID_VEHICLE_REFIT_CAPACITY
@ CBID_VEHICLE_REFIT_CAPACITY
Refit capacity, the passed vehicle needs to have its ->cargo_type set to the cargo we are refitting t...
Definition newgrf_callbacks.h:50
CBID_VEHICLE_LOAD_AMOUNT
@ CBID_VEHICLE_LOAD_AMOUNT
Determine the amount of cargo to load per unit of time when using gradual loading.
Definition newgrf_callbacks.h:38
CBID_VEHICLE_VISUAL_EFFECT
@ CBID_VEHICLE_VISUAL_EFFECT
Visual effects and wagon power.
Definition newgrf_callbacks.h:32
CBID_VEHICLE_ARTIC_ENGINE
@ CBID_VEHICLE_ARTIC_ENGINE
Builds articulated engines for trains and RVs.
Definition newgrf_callbacks.h:53

Definition at line 28 of file newgrf_debug_data.h.

## ◆ _nif_airport

const NIFeature _nif_airport
| static

Initial value:
= {
{},
{},
_niv_airports,
std::make_unique<NIHAirport>(),
}

Definition at line 559 of file newgrf_debug_data.h.

## ◆ _nif_airporttile

const NIFeature _nif_airporttile
| static

Initial value:
= {
{},
_nic_airporttiles,
_niv_industrytiles,
std::make_unique<NIHAirportTile>(),
}

Definition at line 510 of file newgrf_debug_data.h.

## ◆ _nif_house

const NIFeature _nif_house
| static

Initial value:
= {
{},
_nic_house,
_niv_house,
std::make_unique<NIHHouse>(),
}

Definition at line 214 of file newgrf_debug_data.h.

## ◆ _nif_industry

const NIFeature _nif_industry
| static

Initial value:
= {
_nip_industries,
_nic_industries,
_niv_industries,
std::make_unique<NIHIndustry>(),
}

Definition at line 383 of file newgrf_debug_data.h.

## ◆ _nif_industrytile

const NIFeature _nif_industrytile
| static

Initial value:
= {
{},
_nic_industrytiles,
_niv_industrytiles,
std::make_unique<NIHIndustryTile>(),
}

Definition at line 264 of file newgrf_debug_data.h.

## ◆ _nif_object

const NIFeature _nif_object
| static

Initial value:
= {
{},
_nic_objects,
_niv_objects,
std::make_unique<NIHObject>(),
}

Definition at line 438 of file newgrf_debug_data.h.

## ◆ _nif_railtype

const NIFeature _nif_railtype
| static

Initial value:
= {
{},
{},
_niv_railtypes,
std::make_unique<NIHRailType>(),
}

Definition at line 475 of file newgrf_debug_data.h.

## ◆ _nif_roadstop

const NIFeature _nif_roadstop
| static

Initial value:
= {
{},
_nic_roadstops,
_nif_roadstops,
std::make_unique<NIHRoadStop>(),
}

Definition at line 716 of file newgrf_debug_data.h.

## ◆ _nif_roadstops

const NIVariable _nif_roadstops[]
| static

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"),
}

Definition at line 673 of file newgrf_debug_data.h.

## ◆ _nif_roadtype

const NIFeature _nif_roadtype
| static

Initial value:
= {
{},
{},
_niv_roadtypes,
std::make_unique<NIHRoadType<RoadTramType::RTT_ROAD>>(),
}

Definition at line 651 of file newgrf_debug_data.h.

## ◆ _nif_station

const NIFeature _nif_station
| static

Initial value:
= {
{},
_nic_stations,
_niv_stations,
std::make_unique<NIHStation>(),
}

Definition at line 149 of file newgrf_debug_data.h.

## ◆ _nif_town

const NIFeature _nif_town
| static

Initial value:
= {
{},
{},
_niv_towns,
std::make_unique<NIHTown>(),
}

Definition at line 609 of file newgrf_debug_data.h.

## ◆ _nif_tramtype

const NIFeature _nif_tramtype
| static

Initial value:
= {
{},
{},
_niv_roadtypes,
std::make_unique<NIHRoadType<RoadTramType::RTT_TRAM>>(),
}

Definition at line 658 of file newgrf_debug_data.h.

## ◆ _nif_vehicle

const NIFeature _nif_vehicle
| static

Initial value:
= {
{},
_nic_vehicles,
_niv_vehicles,
std::make_unique<NIHVehicle>(),
}

Definition at line 85 of file newgrf_debug_data.h.

## ◆ _nifeatures

const NIFeature* const _nifeatures[]
| static

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,
nullptr,
}

Table with all NIFeatures.

Definition at line 724 of file newgrf_debug_data.h.

Referenced by GetFeature().

## ◆ _nip_industries

const NIProperty _nip_industries[]
| static

Definition at line 276 of file newgrf_debug_data.h.

## ◆ _niv_airports

const NIVariable _niv_airports[]
| static

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 520 of file newgrf_debug_data.h.

## ◆ _niv_house

const NIVariable _niv_house[]
| static

Initial value:
= {
NIV(0x40, "construction stage 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 178 of file newgrf_debug_data.h.

## ◆ _niv_industries

const NIVariable _niv_industries[]
| static

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 331 of file newgrf_debug_data.h.

## ◆ _niv_industrytiles

const NIVariable _niv_industrytiles[]
| static

Initial value:
= {
NIV(0x40, "construction stage 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 236 of file newgrf_debug_data.h.

## ◆ _niv_objects

const NIVariable _niv_objects[]
| static

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 404 of file newgrf_debug_data.h.

## ◆ _niv_railtypes

const NIVariable _niv_railtypes[]
| static

Initial value:
= {
NIV(0x40, "terrain type"),
NIV(0x41, "enhanced tunnels"),
NIV(0x42, "level crossing status"),
NIV(0x43, "construction date"),
NIV(0x44, "town zone"),
NIV(0x45, "track types"),
}

Definition at line 448 of file newgrf_debug_data.h.

## ◆ _niv_roadtypes

const NIVariable _niv_roadtypes[]
| static

Initial value:
= {
NIV(0x40, "terrain type"),
NIV(0x41, "enhanced tunnels"),
NIV(0x42, "level crossing status"),
NIV(0x43, "construction date"),
NIV(0x44, "town zone"),
NIV(0x45, "track types"),
}

Definition at line 618 of file newgrf_debug_data.h.

## ◆ _niv_stations

const NIVariable _niv_stations[]
| static

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 106 of file newgrf_debug_data.h.

## ◆ _niv_towns

const NIVariable _niv_towns[]
| static

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 569 of file newgrf_debug_data.h.

## ◆ _niv_vehicles

const NIVariable _niv_vehicles[]
| static

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 47 of file newgrf_debug_data.h.