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 "window_type.h"
00016 #include "vehicle_type.h"
00017 #include "gfx_type.h"
00018 #include "economy_type.h"
00019 #include "tile_type.h"
00020 #include "strings_type.h"
00021 #include "transport_type.h"
00022
00023
00024 void CcPlaySound10(bool success, TileIndex tile, uint32 p1, uint32 p2);
00025 void CcBuildCanal(bool success, TileIndex tile, uint32 p1, uint32 p2);
00026 void HandleOnEditText(const char *str);
00027 void InitializeGUI();
00028
00029
00030 void ShowGameOptions();
00031 void ShowGameDifficulty();
00032 void ShowGameSettings();
00033 void DrawArrowButtons(int x, int y, Colours button_colour, byte state, bool clickable_left, bool clickable_right);
00034
00035
00036 void ShowOperatingProfitGraph();
00037 void ShowIncomeGraph();
00038 void ShowDeliveredCargoGraph();
00039 void ShowPerformanceHistoryGraph();
00040 void ShowCompanyValueGraph();
00041 void ShowCargoPaymentRates();
00042 void ShowCompanyLeagueTable();
00043 void ShowPerformanceRatingDetail();
00044
00045
00046 void ShowOrdersWindow(const Vehicle *v);
00047
00048
00049 void ShowBuildDocksToolbar();
00050 void ShowBuildDocksScenToolbar();
00051
00052
00053 void ShowBuildAirToolbar();
00054
00055
00056 void ShowGenerateLandscape();
00057 void ShowHeightmapLoad();
00058
00059
00060 void PlaceLandBlockInfo();
00061 void ShowAboutWindow();
00062 void ShowBuildTreesToolbar();
00063 void ShowTownDirectory();
00064 void ShowIndustryDirectory();
00065 void ShowSubsidiesList();
00066
00067 void ShowEstimatedCostOrIncome(Money cost, int x, int y);
00068 void ShowErrorMessage(StringID summary_msg, StringID detailed_msg, int x, int y, bool no_timeout = false);
00069
00070 void ShowSmallMap();
00071 void ShowExtraViewPortWindow(TileIndex tile = INVALID_TILE);
00072
00073 void BuildFileList();
00074 void SetFiosType(const byte fiostype);
00075
00076
00077 extern const TextColour _fios_colours[];
00078
00079
00080 void ShowBuildBridgeWindow(TileIndex start, TileIndex end, TransportType transport_type, byte bridge_type);
00081
00082 void ShowBuildIndustryWindow();
00083 void ShowFoundTownWindow();
00084 void ShowMusicWindow();
00085
00086
00087 #endif