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 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();
61 void ShowBuildBridgeWindow(TileIndex start
, TileIndex end
, TransportType transport_type
, byte bridge_type
);
63 void ShowBuildIndustryWindow();
64 void ShowFoundTownWindow();
65 void ShowMusicWindow();