gui.h
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 "strings_type.h"
00020 #include "transport_type.h"
00021
00022
00023 void HandleOnEditText(const char *str);
00024 void InitializeGUI();
00025
00026
00027 void ShowGameOptions();
00028 void ShowGameDifficulty();
00029 void ShowGameSettings();
00030 void DrawArrowButtons(int x, int y, Colours button_colour, byte state, bool clickable_left, bool clickable_right);
00031
00032
00033 void ShowOrdersWindow(const Vehicle *v);
00034
00035
00036 void ShowBuildDocksToolbar();
00037 void ShowBuildDocksScenToolbar();
00038
00039
00040 void ShowBuildAirToolbar();
00041
00042
00043 void ShowGenerateLandscape();
00044 void ShowHeightmapLoad();
00045
00046
00047 void PlaceLandBlockInfo();
00048 void ShowAboutWindow();
00049 void ShowBuildTreesToolbar();
00050 void ShowTownDirectory();
00051 void ShowIndustryDirectory();
00052 void ShowSubsidiesList();
00053
00054 void ShowEstimatedCostOrIncome(Money cost, int x, int y);
00055 void ShowErrorMessage(StringID summary_msg, StringID detailed_msg, int x, int y, bool no_timeout = false);
00056
00057 void ShowExtraViewPortWindow(TileIndex tile = INVALID_TILE);
00058
00059 void BuildFileList();
00060 void SetFiosType(const byte fiostype);
00061
00062
00063 extern const TextColour _fios_colours[];
00064
00065
00066 void ShowBuildBridgeWindow(TileIndex start, TileIndex end, TransportType transport_type, byte bridge_type);
00067
00068 void ShowBuildIndustryWindow();
00069 void ShowFoundTownWindow();
00070 void ShowMusicWindow();
00071
00072
00073 #endif