/* * This file is part of OpenTTD. * 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. * 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. * 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/>. *//** @file gui.h GUI functions that shouldn't be here. */#ifndef GUI_H#define GUI_H#include"vehicle_type.h"#include"economy_type.h"#include"tile_type.h"#include"transport_type.h"#include"story_type.h"#include"company_type.h"structWindow;/* main_gui.cpp */voidInitializeGUI();/* settings_gui.cpp */voidShowGameOptions();voidShowGameSettings();/* train_gui.cpp */voidShowOrdersWindow(constVehicle*v);/* dock_gui.cpp */Window*ShowBuildDocksToolbar();Window*ShowBuildDocksScenToolbar();/* airport_gui.cpp */Window*ShowBuildAirToolbar();/* tgp_gui.cpp */voidShowGenerateLandscape();voidShowHeightmapLoad();/* misc_gui.cpp */voidShowLandInfo(TileIndextile);voidShowAboutWindow();voidShowEstimatedCostOrIncome(Moneycost,intx,inty);/* tree_gui.cpp */voidShowBuildTreesToolbar();/* town_gui.cpp */voidShowTownDirectory();voidShowFoundTownWindow();/* industry_gui.cpp */voidShowIndustryDirectory();voidShowIndustryCargoesWindow();voidShowBuildIndustryWindow();/* subsidy_gui.cpp */voidShowSubsidiesList();/* goal_gui.cpp */voidShowGoalsList(CompanyIDcompany);voidShowGoalQuestion(uint16_tid,bytetype,uint32_tbutton_mask,conststd::string&question);/* story_gui.cpp */voidShowStoryBook(CompanyIDcompany,uint16_tpage_id=INVALID_STORY_PAGE);/* viewport_gui.cpp */voidShowExtraViewportWindow(TileIndextile=INVALID_TILE);voidShowExtraViewportWindowForTileUnderCursor();/* bridge_gui.cpp */voidShowBuildBridgeWindow(TileIndexstart,TileIndexend,TransportTypetransport_type,bytebridge_type);/* music_gui.cpp */voidShowMusicWindow();#endif /* GUI_H */