gui.h
Go to the documentation of this file.00001
00002
00005 #ifndef GUI_H
00006 #define GUI_H
00007
00008 #include "window_type.h"
00009 #include "vehicle_type.h"
00010 #include "gfx_type.h"
00011 #include "economy_type.h"
00012 #include "tile_type.h"
00013 #include "strings_type.h"
00014 #include "transport_type.h"
00015
00016
00017 void CcPlaySound10(bool success, TileIndex tile, uint32 p1, uint32 p2);
00018 void CcBuildCanal(bool success, TileIndex tile, uint32 p1, uint32 p2);
00019 void HandleOnEditText(const char *str);
00020 void InitializeGUI();
00021
00022
00023 void ShowGameOptions();
00024 void ShowGameDifficulty();
00025 void ShowGameSettings();
00026 void DrawArrowButtons(int x, int y, Colours button_colour, byte state, bool clickable_left, bool clickable_right);
00027
00028
00029 void ShowOperatingProfitGraph();
00030 void ShowIncomeGraph();
00031 void ShowDeliveredCargoGraph();
00032 void ShowPerformanceHistoryGraph();
00033 void ShowCompanyValueGraph();
00034 void ShowCargoPaymentRates();
00035 void ShowCompanyLeagueTable();
00036 void ShowPerformanceRatingDetail();
00037
00038
00039 void ShowOrdersWindow(const Vehicle *v);
00040
00041
00042 void ShowBuildDocksToolbar();
00043 void ShowBuildDocksScenToolbar();
00044
00045
00046 void ShowBuildAirToolbar();
00047
00048
00049 void ShowGenerateLandscape();
00050 void ShowHeightmapLoad();
00051
00052
00053 void PlaceLandBlockInfo();
00054 void ShowAboutWindow();
00055 void ShowBuildTreesToolbar();
00056 void ShowTownDirectory();
00057 void ShowIndustryDirectory();
00058 void ShowSubsidiesList();
00059
00060 void ShowEstimatedCostOrIncome(Money cost, int x, int y);
00061 void ShowErrorMessage(StringID msg_1, StringID msg_2, int x, int y);
00062
00063 void ShowSmallMap();
00064 void ShowExtraViewPortWindow(TileIndex tile = INVALID_TILE);
00065
00066 void BuildFileList();
00067 void SetFiosType(const byte fiostype);
00068
00069
00070 extern const TextColour _fios_colours[];
00071
00072
00073 void ShowBuildBridgeWindow(TileIndex start, TileIndex end, TransportType transport_type, byte bridge_type);
00074
00075 void ShowBuildIndustryWindow();
00076 void ShowBuildTownWindow();
00077 void ShowMusicWindow();
00078
00079
00080 #endif