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/>.
10 /** @file gui.h GUI functions that shouldn't be here. */
15 #include "map/coord.h"
16 #include "vehicle_type.h"
17 #include "economy_type.h"
18 #include "transport_type.h"
19 #include "story_type.h"
20 #include "company_type.h"
25 void HandleOnEditText(const char *str
);
28 /* settings_gui.cpp */
29 void ShowGameOptions();
30 void ShowGameSettings();
33 void ShowOrdersWindow(const Vehicle
*v
);
36 Window
*ShowBuildDocksToolbar();
37 Window
*ShowBuildDocksScenToolbar();
40 Window
*ShowBuildAirToolbar();
43 void ShowGenerateLandscape();
44 void ShowHeightmapLoad();
47 void ShowLandInfo(TileIndex tile
);
48 void ShowAboutWindow();
49 void ShowBuildTreesToolbar();
50 void ShowTownDirectory();
51 void ShowIndustryDirectory();
52 void ShowIndustryCargoesWindow();
53 void ShowSubsidiesList();
54 void ShowGoalsList(CompanyID company
);
55 void ShowGoalQuestion(uint16 id
, byte type
, uint32 button_mask
, const char *question
);
56 void ShowStoryBook(CompanyID company
, uint16 page_id
= INVALID_STORY_PAGE
);
58 void ShowEstimatedCostOrIncome(Money cost
, int x
, int y
);
60 void ShowExtraViewPortWindow(TileIndex tile
= INVALID_TILE
);
61 void ShowExtraViewPortWindowForTileUnderCursor();
64 void ShowBuildBridgeWindow(TileIndex start
, TileIndex end
, TransportType transport_type
, byte bridge_type
);
66 void ShowBuildIndustryWindow();
67 void ShowFoundTownWindow();
68 void ShowMusicWindow();