#include "economy_type.h"
#include "rail_type.h"
#include "cargo_type.h"
#include "vehicle_type.h"
#include "gfx_type.h"
#include "date_type.h"
#include "sound_type.h"
#include "company_type.h"
#include "strings_type.h"
Go to the source code of this file.
Data Structures | |
struct | RailVehicleInfo |
struct | ShipVehicleInfo |
struct | AircraftVehicleInfo |
struct | RoadVehicleInfo |
struct | EngineInfo |
Information about a vehicle. More... | |
Typedefs | |
typedef uint16 | EngineID |
Enumerations | |
enum | RailVehicleTypes { RAILVEH_SINGLEHEAD, RAILVEH_MULTIHEAD, RAILVEH_WAGON } |
enum | EngineClass { EC_STEAM, EC_DIESEL, EC_ELECTRIC, EC_MONORAIL, EC_MAGLEV } |
enum | { AIR_HELI = 0, AIR_CTOL = 1, AIR_FAST = 2 } |
enum | { EF_RAIL_TILTS = 0, EF_ROAD_TRAM = 0, EF_USES_2CC = 1, EF_RAIL_IS_MU = 2 } |
EngineInfo.misc_flags is a bitmask, with the following values. More... | |
enum | { ENGINE_AVAILABLE = 1, ENGINE_EXCLUSIVE_PREVIEW = 2, ENGINE_OFFER_WINDOW_OPEN = 4 } |
Engine.flags is a bitmask, with the following values. More... | |
enum | { NUM_VEHICLE_TYPES = 6, MAX_LENGTH_ENGINE_NAME_BYTES = 31, MAX_LENGTH_ENGINE_NAME_PIXELS = 160 } |
Variables | |
static const EngineID | INVALID_ENGINE = 0xFFFF |
Definition in file engine_type.h.
anonymous enum |
Definition at line 77 of file engine_type.h.
anonymous enum |
EngineInfo.misc_flags is a bitmask, with the following values.
Definition at line 131 of file engine_type.h.
anonymous enum |
Engine.flags is a bitmask, with the following values.
Definition at line 141 of file engine_type.h.
anonymous enum |
MAX_LENGTH_ENGINE_NAME_BYTES | The maximum length of an engine name in bytes including ''. |
MAX_LENGTH_ENGINE_NAME_PIXELS | The maximum length of an engine name in pixels. |
Definition at line 147 of file engine_type.h.
enum RailVehicleTypes |
RAILVEH_SINGLEHEAD | indicates a "standalone" locomotive |
RAILVEH_MULTIHEAD | indicates a combination of two locomotives |
RAILVEH_WAGON | simple wagon, not motorized |
Definition at line 29 of file engine_type.h.