Feature: Purchase land multiple tiles at a time
[openttd-github.git] / src / gui.h
blob4eb2fb7f66b039bc103f06ae30747f57da777fdf
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 */
8 /** @file gui.h GUI functions that shouldn't be here. */
10 #ifndef GUI_H
11 #define GUI_H
13 #include "vehicle_type.h"
14 #include "economy_type.h"
15 #include "tile_type.h"
16 #include "transport_type.h"
17 #include "story_type.h"
18 #include "company_type.h"
20 struct Window;
22 /* main_gui.cpp */
23 void InitializeGUI();
25 /* settings_gui.cpp */
26 void ShowGameOptions();
27 void ShowGameSettings();
29 /* train_gui.cpp */
30 void ShowOrdersWindow(const Vehicle *v);
32 /* dock_gui.cpp */
33 Window *ShowBuildDocksToolbar();
34 Window *ShowBuildDocksScenToolbar();
36 /* airport_gui.cpp */
37 Window *ShowBuildAirToolbar();
39 /* tgp_gui.cpp */
40 void ShowGenerateLandscape();
41 void ShowHeightmapLoad();
43 /* misc_gui.cpp */
44 void ShowLandInfo(TileIndex tile);
45 void ShowAboutWindow();
46 void ShowBuildTreesToolbar();
47 void ShowTownDirectory();
48 void ShowIndustryDirectory();
49 void ShowIndustryCargoesWindow();
50 void ShowSubsidiesList();
51 void ShowGoalsList(CompanyID company);
52 void ShowGoalQuestion(uint16 id, byte type, uint32 button_mask, const char *question);
53 void ShowStoryBook(CompanyID company, uint16 page_id = INVALID_STORY_PAGE);
55 void ShowEstimatedCostOrIncome(Money cost, int x, int y);
57 void ShowExtraViewportWindow(TileIndex tile = INVALID_TILE);
58 void ShowExtraViewportWindowForTileUnderCursor();
60 /* bridge_gui.cpp */
61 void ShowBuildBridgeWindow(TileIndex start, TileIndex end, TransportType transport_type, byte bridge_type);
63 void ShowBuildIndustryWindow();
64 void ShowFoundTownWindow();
65 void ShowMusicWindow();
67 #endif /* GUI_H */