gui.h

Go to the documentation of this file.
00001 /* $Id: gui.h 15428 2009-02-09 02:57:15Z rubidium $ */
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 /* main_gui.cpp */
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 /* settings_gui.cpp */
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 /* graph_gui.cpp */
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 /* train_gui.cpp */
00039 void ShowOrdersWindow(const Vehicle *v);
00040 
00041 /* dock_gui.cpp */
00042 void ShowBuildDocksToolbar();
00043 void ShowBuildDocksScenToolbar();
00044 
00045 /* aircraft_gui.cpp */
00046 void ShowBuildAirToolbar();
00047 
00048 /* tgp_gui.cpp */
00049 void ShowGenerateLandscape();
00050 void ShowHeightmapLoad();
00051 
00052 /* misc_gui.cpp */
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 /* FIOS_TYPE_FILE, FIOS_TYPE_OLDFILE etc. different colours */
00070 extern const TextColour _fios_colours[];
00071 
00072 /* bridge_gui.cpp */
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 /* GUI_H */

Generated on Sun Sep 13 08:19:16 2009 for OpenTTD by  doxygen 1.5.6