2 * This file is part of OpenTTD.
3 * 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.
4 * 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.
5 * 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/>.
8 /** @file script_depotlist.hpp List all the depots (you own). */
10 #ifndef SCRIPT_DEPOTLIST_HPP
11 #define SCRIPT_DEPOTLIST_HPP
13 #include "script_list.hpp"
14 #include "script_tile.hpp"
17 * Creates a list of the locations of the depots (and hangars) of which you are the owner.
21 class ScriptDepotList
: public ScriptList
{
24 * @param transport_type The type of transport to make a list of depots for.
26 ScriptDepotList(ScriptTile::TransportType transport_type
);
29 #endif /* SCRIPT_DEPOTLIST_HPP */