# ai_vehiclelist.hpp

Go to the documentation of this file.

    00001 /* $Id$ */
    00002
    00003 /*
    00004  * This file is part of OpenTTD.
    00005  * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
    00006  * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    00007  * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
    00008  */
    00009
    00012 #ifndef AI_VEHICLELIST_HPP
    00013 #define AI_VEHICLELIST_HPP
    00014
    00015 #include "ai_list.hpp"
    00016 #include "ai_vehicle.hpp"
    00017
    00022 class AIVehicleList : public AIList {
    00023 public:
    00025   static const char *GetClassName() { return "AIVehicleList"; }
    00026   AIVehicleList();
    00027 };
    00028
    00033 class AIVehicleList_Station : public AIList {
    00034 public:
    00036   static const char *GetClassName() { return "AIVehicleList_Station"; }
    00037
    00042   AIVehicleList_Station(StationID station_id);
    00043 };
    00044
    00053 class AIVehicleList_Depot : public AIList {
    00054 public:
    00056   static const char *GetClassName() { return "AIVehicleList_Depot"; }
    00057
    00061   AIVehicleList_Depot(TileIndex tile);
    00062 };
    00063
    00068 class AIVehicleList_SharedOrders : public AIList {
    00069 public:
    00071   static const char *GetClassName() { return "AIVehicleList_SharedOrders"; }
    00072
    00076   AIVehicleList_SharedOrders(VehicleID vehicle_id);
    00077 };
    00078
    00083 class AIVehicleList_Group : public AIList {
    00084 public:
    00086   static const char *GetClassName() { return "AIVehicleList_Group"; }
    00087
    00091   AIVehicleList_Group(GroupID group_id);
    00092 };
    00093
    00098 class AIVehicleList_DefaultGroup : public AIList {
    00099 public:
    00101   static const char *GetClassName() { return "AIVehicleList_DefaultGroup"; }
    00102
    00106   AIVehicleList_DefaultGroup(AIVehicle::VehicleType vehicle_type);
    00107 };
    00108
    00109 #endif /* AI_VEHICLELIST_HPP */