1 /* 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/>. 6 */ 7 8 /** @file script_townlist.hpp List all the towns. */ 9 10 #ifndef SCRIPT_TOWNLIST_HPP 11 #define SCRIPT_TOWNLIST_HPP 12 13 #include "script_list.hpp" 14 15 /** 16 * Creates a list of towns that are currently on the map. 17 * @api ai game 18 * @ingroup ScriptList 19 */ 20 class ScriptTownList : public ScriptList { 21 public: 22 ScriptTownList(); 23 }; 24 25 /** 26 * Creates a list of all TownEffects known in the game. 27 * @api ai game 28 * @ingroup ScriptList 29 */ 30 class ScriptTownEffectList : public ScriptList { 31 public: 32 ScriptTownEffectList(); 33 }; 34 35 #endif /* SCRIPT_TOWNLIST_HPP */ 36