#include <newgrf_config.h>

Public Member Functions | |
| bool | IsOpenTTDBaseGRF () const |
| Checks whether this GRF is a OpenTTD base graphic GRF. | |
Data Fields | |
| char * | filename |
| Filename - either with or without full path. | |
| char * | name |
| NOSAVE: GRF name (Action 0x08). | |
| char * | info |
| NOSAVE: GRF info (author, copyright, ...) (Action 0x08). | |
| GRFError * | error |
| NOSAVE: Error/Warning during GRF loading (Action 0x0B). | |
| uint8 | flags |
| NOSAVE: GCF_Flags, bitset. | |
| GRFStatus | status |
| NOSAVE: GRFStatus, enum. | |
| uint32 | grf_bugs |
| NOSAVE: bugs in this GRF in this run,. | |
| uint32 | param [0x80] |
| GRF parameters. | |
| uint8 | num_params |
| Number of used parameters. | |
| bool | windows_paletted |
| Whether the NewGRF is Windows paletted or not. | |
| struct GRFConfig * | next |
| NOSAVE: Next item in the linked list. | |
Definition at line 61 of file newgrf_config.h.
| bool GRFConfig::IsOpenTTDBaseGRF | ( | ) | const |
Checks whether this GRF is a OpenTTD base graphic GRF.
Definition at line 489 of file newgrf_config.cpp.
Referenced by NewGRFWindow::OnPaint(), and NewGRFAddWindow::OnPaint().
| uint32 GRFConfig::grf_bugs |
NOSAVE: bugs in this GRF in this run,.
Definition at line 69 of file newgrf_config.h.
Referenced by RailVehicleLengthChanged(), and ShowNewGrfVehicleError().
1.5.6