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 ShowOperatingProfitGraph();
00034 void ShowIncomeGraph();
00035 void ShowDeliveredCargoGraph();
00036 void ShowPerformanceHistoryGraph();
00037 void ShowCompanyValueGraph();
00038 void ShowCargoPaymentRates();
00039 void ShowCompanyLeagueTable();
00040 void ShowPerformanceRatingDetail();
00041
00042
00043 void ShowOrdersWindow(const Vehicle *v);
00044
00045
00046 void ShowBuildDocksToolbar();
00047 void ShowBuildDocksScenToolbar();
00048
00049
00050 void ShowBuildAirToolbar();
00051
00052
00053 void ShowGenerateLandscape();
00054 void ShowHeightmapLoad();
00055
00056
00057 void PlaceLandBlockInfo();
00058 void ShowAboutWindow();
00059 void ShowBuildTreesToolbar();
00060 void ShowTownDirectory();
00061 void ShowIndustryDirectory();
00062 void ShowSubsidiesList();
00063
00064 void ShowEstimatedCostOrIncome(Money cost, int x, int y);
00065 void ShowErrorMessage(StringID summary_msg, StringID detailed_msg, int x, int y, bool no_timeout = false);
00066
00067 void ShowSmallMap();
00068 void ShowExtraViewPortWindow(TileIndex tile = INVALID_TILE);
00069
00070 void BuildFileList();
00071 void SetFiosType(const byte fiostype);
00072
00073
00074 extern const TextColour _fios_colours[];
00075
00076
00077 void ShowBuildBridgeWindow(TileIndex start, TileIndex end, TransportType transport_type, byte bridge_type);
00078
00079 void ShowBuildIndustryWindow();
00080 void ShowFoundTownWindow();
00081 void ShowMusicWindow();
00082
00083
00084 #endif