Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00012 #ifndef GUI_H
00013 #define GUI_H
00014
00015 #include "vehicle_type.h"
00016 #include "gfx_type.h"
00017 #include "economy_type.h"
00018 #include "tile_type.h"
00019 #include "transport_type.h"
00020
00021 struct Window;
00022
00023
00024 void HandleOnEditText(const char *str);
00025 void InitializeGUI();
00026
00027
00028 void ShowGameOptions();
00029 void ShowGameDifficulty();
00030 void ShowGameSettings();
00031 void DrawArrowButtons(int x, int y, Colours button_colour, byte state, bool clickable_left, bool clickable_right);
00032
00033
00034 void ShowOrdersWindow(const Vehicle *v);
00035
00036
00037 Window *ShowBuildDocksToolbar();
00038 Window *ShowBuildDocksScenToolbar();
00039
00040
00041 Window *ShowBuildAirToolbar();
00042
00043
00044 void ShowGenerateLandscape();
00045 void ShowHeightmapLoad();
00046
00047
00048 void ShowLandInfo(TileIndex tile);
00049 void ShowAboutWindow();
00050 void ShowBuildTreesToolbar();
00051 void ShowTownDirectory();
00052 void ShowIndustryDirectory();
00053 void ShowSubsidiesList();
00054 void ShowGoalsList();
00055 void ShowGoalQuestion(uint16 id, uint32 button_mask, const char *question);
00056
00057 void ShowEstimatedCostOrIncome(Money cost, int x, int y);
00058
00059 void ShowExtraViewPortWindow(TileIndex tile = INVALID_TILE);
00060 void ShowExtraViewPortWindowForTileUnderCursor();
00061
00062
00063 void ShowBuildBridgeWindow(TileIndex start, TileIndex end, TransportType transport_type, byte bridge_type);
00064
00065 void ShowBuildIndustryWindow();
00066 void ShowFoundTownWindow();
00067 void ShowMusicWindow();
00068
00069 #endif