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 SCRIPT_VEHICLELIST_HPP 00013 #define SCRIPT_VEHICLELIST_HPP 00014 00015 #include "script_list.hpp" 00016 #include "script_vehicle.hpp" 00017 00023 class ScriptVehicleList : public ScriptList { 00024 public: 00025 ScriptVehicleList(); 00026 }; 00027 00033 class ScriptVehicleList_Station : public ScriptList { 00034 public: 00039 ScriptVehicleList_Station(StationID station_id); 00040 }; 00041 00051 class ScriptVehicleList_Depot : public ScriptList { 00052 public: 00056 ScriptVehicleList_Depot(TileIndex tile); 00057 }; 00058 00064 class ScriptVehicleList_SharedOrders : public ScriptList { 00065 public: 00069 ScriptVehicleList_SharedOrders(VehicleID vehicle_id); 00070 }; 00071 00077 class ScriptVehicleList_Group : public ScriptList { 00078 public: 00082 ScriptVehicleList_Group(GroupID group_id); 00083 }; 00084 00090 class ScriptVehicleList_DefaultGroup : public ScriptList { 00091 public: 00095 ScriptVehicleList_DefaultGroup(ScriptVehicle::VehicleType vehicle_type); 00096 }; 00097 00098 #endif /* SCRIPT_VEHICLELIST_HPP */