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 gui.h GUI functions that shouldn't be here. */
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"
25 /* settings_gui.cpp */
26 void ShowGameOptions();
27 void ShowGameSettings();
30 void ShowOrdersWindow(const Vehicle
*v
);
33 Window
*ShowBuildDocksToolbar();
34 Window
*ShowBuildDocksScenToolbar();
37 Window
*ShowBuildAirToolbar();
40 void ShowGenerateLandscape();
41 void ShowHeightmapLoad();
44 void ShowLandInfo(TileIndex tile
);
45 void ShowAboutWindow();
46 void ShowEstimatedCostOrIncome(Money cost
, int x
, int y
);
49 void ShowBuildTreesToolbar();
52 void ShowTownDirectory();
53 void ShowFoundTownWindow();
55 /* industry_gui.cpp */
56 void ShowIndustryDirectory();
57 void ShowIndustryCargoesWindow();
58 void ShowBuildIndustryWindow();
61 void ShowSubsidiesList();
64 void ShowGoalsList(CompanyID company
);
65 void ShowGoalQuestion(uint16_t id
, uint8_t type
, uint32_t button_mask
, const std::string
&question
);
68 void ShowStoryBook(CompanyID company
, uint16_t page_id
= INVALID_STORY_PAGE
, bool centered
= false);
70 /* viewport_gui.cpp */
71 void ShowExtraViewportWindow(TileIndex tile
= INVALID_TILE
);
72 void ShowExtraViewportWindowForTileUnderCursor();
75 void ShowBuildBridgeWindow(TileIndex start
, TileIndex end
, TransportType transport_type
, uint8_t bridge_type
);
78 void ShowMusicWindow();