Creates a list of vehicles that are in the default group. More...
#include <script_vehiclelist.hpp>
Public Member Functions | |
ScriptVehicleList_DefaultGroup (ScriptVehicle::VehicleType vehicle_type) |
Creates a list of vehicles that are in the default group.
ai
Definition at line 90 of file script_vehiclelist.hpp.
ScriptVehicleList_DefaultGroup::ScriptVehicleList_DefaultGroup | ( | ScriptVehicle::VehicleType | vehicle_type | ) |
vehicle_type | The VehicleType to get the list of vehicles for. |
Definition at line 120 of file script_vehiclelist.cpp.
References _current_company, ScriptList::AddItem(), FOR_ALL_VEHICLES, ScriptGroup::GROUP_DEFAULT, Vehicle::group_id, Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem< Tpool >::index, Vehicle::IsPrimaryVehicle(), Vehicle::owner, BaseVehicle::type, and ScriptVehicle::VT_AIR.