Create a list of engines based on a vehicle type. More...
#include <ai_enginelist.hpp>
Public Member Functions | |
AIEngineList (AIVehicle::VehicleType vehicle_type) | |
Static Public Member Functions | |
static const char * | GetClassName () |
Get the name of this class to identify it towards squirrel. |
Create a list of engines based on a vehicle type.
Definition at line 22 of file ai_enginelist.hpp.
AIEngineList::AIEngineList | ( | AIVehicle::VehicleType | vehicle_type | ) |
vehicle_type | The type of vehicle to make a list of engines for. |
Definition at line 18 of file ai_enginelist.cpp.
References _current_company, AIList::AddItem(), Engine::company_avail, HasBit(), and Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem< Tpool >::index.
static const char* AIEngineList::GetClassName | ( | ) | [inline, static] |
Get the name of this class to identify it towards squirrel.
Reimplemented from AIList.
Definition at line 25 of file ai_enginelist.hpp.