OpenTTD
station_gui.h
Go to the documentation of this file.
1 /* $Id: station_gui.h 26083 2013-11-24 14:29:32Z rubidium $ */
2 
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  */
9 
12 #ifndef STATION_GUI_H
13 #define STATION_GUI_H
14 
15 #include "command_type.h"
16 #include "tilearea_type.h"
17 #include "window_type.h"
18 
19 
25 };
26 
27 int DrawStationCoverageAreaText(int left, int right, int top, StationCoverageType sct, int rad, bool supplies);
28 void CheckRedrawStationCoverage(const Window *w);
29 
32 
33 #endif /* STATION_GUI_H */
Draw all cargoes.
Definition: station_gui.h:24
Types related to windows.
Draw only passenger class cargoes.
Definition: station_gui.h:22
Types related to commands.
Data structure for an opened window.
Definition: window_gui.h:271
void ShowSelectWaypointIfNeeded(const CommandContainer &cmd, TileArea ta)
Show the waypoint selection window when needed.
void CheckRedrawStationCoverage(const Window *w)
Check whether we need to redraw the station coverage text.
Definition: station_gui.cpp:88
Structure for buffering the build command when selecting a station to join.
Definition: command_type.h:472
void ShowSelectStationIfNeeded(const CommandContainer &cmd, TileArea ta)
Show the station selection window when needed.
StationCoverageType
Types of cargo to display for station coverage.
Definition: station_gui.h:21
Represents the covered area of e.g.
Definition: tilearea_type.h:18
int DrawStationCoverageAreaText(int left, int right, int top, StationCoverageType sct, int rad, bool supplies)
Calculates and draws the accepted or supplied cargo around the selected tile(s)
Definition: station_gui.cpp:56
Draw all non-passenger class cargoes.
Definition: station_gui.h:23
Type for storing the &#39;area&#39; of something uses on the map.