OpenTTD Source  1.11.1
engine_base.h File Reference
#include "engine_type.h"
#include "vehicle_type.h"
#include "core/pool_type.hpp"
#include "newgrf_commons.h"

Go to the source code of this file.

Data Structures

struct  Engine
 
struct  Engine::EngineTypeFilter
 
struct  EngineIDMapping
 
struct  EngineOverrideManager
 Stores the mapping of EngineID to the internal id of newgrfs. More...
 

Typedefs

typedef Pool< Engine, EngineID, 64, 64000 > EnginePool
 

Functions

static const EngineInfo * EngInfo (EngineID e)
 
static const RailVehicleInfo * RailVehInfo (EngineID e)
 
static const RoadVehicleInfo * RoadVehInfo (EngineID e)
 
static const ShipVehicleInfo * ShipVehInfo (EngineID e)
 
static const AircraftVehicleInfo * AircraftVehInfo (EngineID e)
 

Variables

EnginePool _engine_pool
 
EngineOverrideManager _engine_mngr
 

Detailed Description

Base class for engines.

Definition in file engine_base.h.