Creates a list of waypoints of which you are the owner. More...
#include <script_waypointlist.hpp>
Public Member Functions | |
ScriptWaypointList (ScriptWaypoint::WaypointType waypoint_type) |
Creates a list of waypoints of which you are the owner.
ai
Definition at line 23 of file script_waypointlist.hpp.
ScriptWaypointList::ScriptWaypointList | ( | ScriptWaypoint::WaypointType | waypoint_type | ) |
waypoint_type | The type of waypoint to make a list of waypoints for. |
Definition at line 19 of file script_waypointlist.cpp.
References _current_company, ScriptList::AddItem(), BaseStation::facilities, FOR_ALL_WAYPOINTS, Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem< Tpool >::index, BaseStation::owner, and OWNER_NONE.