|
OpenTTD Source 20251117-master-g7398d2e290
|
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) |
Data 'tables' for NewGRF debugging.
Definition in file newgrf_debug_data.h.
| #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.
| #define NICAT | ( | cb_id, | |
| bit | |||
| ) | NIC(cb_id, AirportTileSpec, callback_mask, bit) |
Definition at line 485 of file newgrf_debug_data.h.
| #define NICH | ( | cb_id, | |
| bit | |||
| ) | NIC(cb_id, HouseSpec, callback_mask, bit) |
Definition at line 159 of file newgrf_debug_data.h.
| #define NICI | ( | cb_id, | |
| bit | |||
| ) | NIC(cb_id, IndustrySpec, callback_mask, bit) |
Definition at line 314 of file newgrf_debug_data.h.
| #define NICIT | ( | cb_id, | |
| bit | |||
| ) | NIC(cb_id, IndustryTileSpec, callback_mask, bit) |
Definition at line 224 of file newgrf_debug_data.h.
| #define NICO | ( | cb_id, | |
| bit | |||
| ) | NIC(cb_id, ObjectSpec, callback_mask, bit) |
Definition at line 393 of file newgrf_debug_data.h.
| #define NICRS | ( | cb_id, | |
| bit | |||
| ) | NIC(cb_id, RoadStopSpec, callback_mask, bit) |
Definition at line 665 of file newgrf_debug_data.h.
| #define NICS | ( | cb_id, | |
| bit | |||
| ) | NIC(cb_id, StationSpec, callback_mask, bit) |
Definition at line 95 of file newgrf_debug_data.h.
| #define NICV | ( | cb_id, | |
| bit | |||
| ) | NIC(cb_id, Engine, info.callback_mask, bit) |
Definition at line 27 of file newgrf_debug_data.h.
| #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.
| #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.
| #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.
| #define NIV | ( | var, | |
| name | |||
| ) | { name, var } |
Definition at line 22 of file newgrf_debug_data.h.
|
static |
Definition at line 486 of file newgrf_debug_data.h.
|
static |
Definition at line 160 of file newgrf_debug_data.h.
|
static |
Definition at line 315 of file newgrf_debug_data.h.
|
static |
Definition at line 225 of file newgrf_debug_data.h.
|
static |
Definition at line 394 of file newgrf_debug_data.h.
|
static |
Definition at line 666 of file newgrf_debug_data.h.
|
static |
Definition at line 96 of file newgrf_debug_data.h.
|
static |
Definition at line 28 of file newgrf_debug_data.h.
|
static |
Definition at line 559 of file newgrf_debug_data.h.
|
static |
Definition at line 510 of file newgrf_debug_data.h.
|
static |
Definition at line 214 of file newgrf_debug_data.h.
|
static |
Definition at line 383 of file newgrf_debug_data.h.
|
static |
Definition at line 264 of file newgrf_debug_data.h.
|
static |
Definition at line 438 of file newgrf_debug_data.h.
|
static |
Definition at line 475 of file newgrf_debug_data.h.
|
static |
Definition at line 716 of file newgrf_debug_data.h.
|
static |
Definition at line 673 of file newgrf_debug_data.h.
|
static |
Definition at line 651 of file newgrf_debug_data.h.
|
static |
Definition at line 149 of file newgrf_debug_data.h.
|
static |
Definition at line 609 of file newgrf_debug_data.h.
|
static |
Definition at line 658 of file newgrf_debug_data.h.
|
static |
Definition at line 85 of file newgrf_debug_data.h.
|
static |
Table with all NIFeatures.
Definition at line 724 of file newgrf_debug_data.h.
Referenced by GetFeature().
|
static |
Definition at line 276 of file newgrf_debug_data.h.
|
static |
Definition at line 520 of file newgrf_debug_data.h.
|
static |
Definition at line 178 of file newgrf_debug_data.h.
|
static |
Definition at line 331 of file newgrf_debug_data.h.
|
static |
Definition at line 236 of file newgrf_debug_data.h.
|
static |
Definition at line 404 of file newgrf_debug_data.h.
|
static |
Definition at line 448 of file newgrf_debug_data.h.
|
static |
Definition at line 618 of file newgrf_debug_data.h.
|
static |
Definition at line 106 of file newgrf_debug_data.h.
|
static |
Definition at line 569 of file newgrf_debug_data.h.
|
static |
Definition at line 47 of file newgrf_debug_data.h.