Add ScriptStoryPageElementList to get the contents of a page
[openttd/fttd.git] / src / station_gui.h
blob8778e19b3453c7dfb0ed7711be9854549ef95b3d
1 /* $Id$ */
3 /*
4 * This file is part of OpenTTD.
5 * 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.
6 * 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.
7 * 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 */
10 /** @file station_gui.h Contains enums and function declarations connected with stations GUI */
12 #ifndef STATION_GUI_H
13 #define STATION_GUI_H
15 #include "command_type.h"
16 #include "map/tilearea.h"
17 #include "window_type.h"
20 /** Types of cargo to display for station coverage. */
21 enum StationCoverageType {
22 SCT_PASSENGERS_ONLY, ///< Draw only passenger class cargoes.
23 SCT_NON_PASSENGERS_ONLY, ///< Draw all non-passenger class cargoes.
24 SCT_ALL, ///< Draw all cargoes.
27 int DrawStationCoverageAreaText(int left, int right, int top, StationCoverageType sct, int rad, bool supplies);
28 void CheckRedrawStationCoverage(const Window *w);
30 void ShowSelectStationIfNeeded(const CommandContainer &cmd, TileArea ta);
31 void ShowSelectWaypointIfNeeded(const CommandContainer &cmd, TileArea ta);
33 #endif /* STATION_GUI_H */