OpenTTD Source  12.0-beta2
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  WagonOverride
 
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 EngineInfoEngInfo (EngineID e)
 
static const RailVehicleInfoRailVehInfo (EngineID e)
 
static const RoadVehicleInfoRoadVehInfo (EngineID e)
 
static const ShipVehicleInfoShipVehInfo (EngineID e)
 
static const AircraftVehicleInfoAircraftVehInfo (EngineID e)
 

Variables

EnginePool _engine_pool
 
EngineOverrideManager _engine_mngr
 

Detailed Description

Base class for engines.

Definition in file engine_base.h.