/* $Id$ *//* * 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 */voidHandleOnEditText(constchar*str);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();voidShowBuildTreesToolbar();voidShowTownDirectory();voidShowIndustryDirectory();voidShowIndustryCargoesWindow();voidShowSubsidiesList();voidShowGoalsList(CompanyIDcompany);voidShowGoalQuestion(uint16id,bytetype,uint32button_mask,constchar*question);voidShowStoryBook(CompanyIDcompany,uint16page_id=INVALID_STORY_PAGE);voidShowEstimatedCostOrIncome(Moneycost,intx,inty);voidShowExtraViewPortWindow(TileIndextile=INVALID_TILE);voidShowExtraViewPortWindowForTileUnderCursor();/* bridge_gui.cpp */voidShowBuildBridgeWindow(TileIndexstart,TileIndexend,TransportTypetransport_type,bytebridge_type);voidShowBuildIndustryWindow();voidShowFoundTownWindow();voidShowMusicWindow();#endif /* GUI_H */