author | dominik |
Mon, 23 Aug 2004 10:59:03 +0000 | |
changeset 116 | ca4332a9ec1d |
parent 0 | 29654efe3188 |
child 152 | c3964b43943e |
permissions | -rw-r--r-- |
0 | 1 |
#ifndef GUI_H |
2 |
#define GUI_H |
|
3 |
||
4 |
/* main_gui.c */ |
|
5 |
void SetupColorsAndInitialWindow(); |
|
6 |
void CcPlaySound10(bool success, uint tile, uint32 p1, uint32 p2); |
|
7 |
void PlaceProc_Sign(uint tile); |
|
8 |
||
9 |
/* settings_gui.c */ |
|
10 |
void ShowGameOptions(); |
|
11 |
void ShowGameDifficulty(); |
|
12 |
void ShowPatchesSelection(); |
|
13 |
||
14 |
/* graph_gui.c */ |
|
15 |
void ShowOperatingProfitGraph(); |
|
16 |
void ShowIncomeGraph(); |
|
17 |
void ShowDeliveredCargoGraph(); |
|
18 |
void ShowPerformanceHistoryGraph(); |
|
19 |
void ShowCompanyValueGraph(); |
|
20 |
void ShowCargoPaymentRates(); |
|
21 |
void ShowCompanyLeagueTable(); |
|
116
ca4332a9ec1d
(svn r117) Feature: Performance details window in company league menu (TrueLight)
dominik
parents:
0
diff
changeset
|
22 |
void ShowPerformanceRatingDetail(); |
0 | 23 |
|
24 |
/* news_gui.c */ |
|
25 |
void ShowLastNewsMessage(); |
|
26 |
void ShowMessageOptions(); |
|
27 |
void ShowMessageHistory(); |
|
28 |
||
29 |
/* traintoolb_gui.c */ |
|
30 |
void ShowBuildRailToolbar(int index, int button); |
|
31 |
void PlaceProc_BuyLand(uint tile); |
|
32 |
||
33 |
/* train_gui.c */ |
|
34 |
void ShowPlayerTrains(int player); |
|
35 |
void ShowTrainViewWindow(Vehicle *v); |
|
36 |
void ShowTrainDetailsWindow(Vehicle *v); |
|
37 |
void ShowOrdersWindow(Vehicle *v); |
|
38 |
||
39 |
void ShowRoadVehViewWindow(Vehicle *v); |
|
40 |
||
41 |
/* road_gui.c */ |
|
42 |
void ShowBuildRoadToolbar(); |
|
43 |
void ShowBuildRoadScenToolbar(); |
|
44 |
void ShowPlayerRoadVehicles(int player); |
|
45 |
||
46 |
/* dock_gui.c */ |
|
47 |
void ShowBuildDocksToolbar(); |
|
48 |
void ShowPlayerShips(int player); |
|
49 |
||
50 |
void ShowShipViewWindow(Vehicle *v); |
|
51 |
||
52 |
/* aircraft_gui.c */ |
|
53 |
void ShowBuildAirToolbar(); |
|
54 |
void ShowPlayerAircraft(int player); |
|
55 |
||
56 |
/* terraform_gui.c */ |
|
57 |
void PlaceProc_DemolishArea(uint tile); |
|
58 |
void PlaceProc_LowerLand(uint tile); |
|
59 |
void PlaceProc_RaiseLand(uint tile); |
|
60 |
void PlaceProc_LevelLand(uint tile); |
|
61 |
void ShowTerraformToolbar(); |
|
62 |
||
63 |
/* misc_gui.c */ |
|
64 |
void PlaceLandBlockInfo(); |
|
65 |
void ShowAboutWindow(); |
|
66 |
void ShowBuildTreesToolbar(); |
|
67 |
void ShowBuildTreesScenToolbar(); |
|
68 |
void ShowTownDirectory(); |
|
69 |
void ShowIndustryDirectory(); |
|
70 |
void ShowSubsidiesList(); |
|
71 |
void ShowPlayerStations(int player); |
|
72 |
void ShowPlayerFinances(int player); |
|
73 |
void ShowPlayerCompany(int player); |
|
74 |
||
75 |
void ShowEstimatedCostOrIncome(int32 cost, int x, int y); |
|
76 |
void ShowErrorMessage(StringID msg_1, StringID msg_2, int x, int y); |
|
77 |
||
78 |
void DrawStationCoverageAreaText(int sx, int sy, uint mask); |
|
79 |
void CheckRedrawStationCoverage(Window *w); |
|
80 |
||
81 |
void ShowSmallMap(); |
|
82 |
void SetVScrollCount(Window *w, int num); |
|
83 |
void SetHScrollCount(Window *w, int num); |
|
84 |
||
85 |
void ShowCheatWindow(); |
|
86 |
void AskForNewGameToStart(); |
|
87 |
||
88 |
void DrawEditBox(Window *w, int wid); |
|
89 |
void HandleEditBox(Window *w, int wid); |
|
90 |
||
91 |
||
92 |
/* network gui */ |
|
93 |
void ShowNetworkGameWindow(); |
|
94 |
||
95 |
||
96 |
/* bridge_gui.c */ |
|
97 |
void ShowBuildBridgeWindow(uint start, uint end, byte type); |
|
98 |
||
99 |
enum { |
|
100 |
ZOOM_IN = 0, |
|
101 |
ZOOM_OUT = 1, |
|
102 |
ZOOM_NONE = 2, // hack, used to update the button status |
|
103 |
}; |
|
104 |
||
105 |
bool DoZoomInOut(int how); |
|
106 |
void ShowBuildIndustryWindow(); |
|
107 |
void ShowQueryString(StringID str, StringID caption, int maxlen, int maxwidth, byte window_class, uint16 window_number); |
|
108 |
void ShowMusicWindow(); |
|
109 |
||
110 |
void DrawVehicleProfitButton(Vehicle *v, int x, int y); |
|
111 |
||
112 |
/* main_gui.c */ |
|
113 |
VARDEF byte _newspaper_flag; |
|
114 |
VARDEF byte _construct_mode; |
|
115 |
VARDEF byte _station_show_coverage; |
|
116 |
VARDEF PlaceProc *_place_proc; |
|
117 |
VARDEF bool _no_button_sound; |
|
118 |
||
119 |
#endif /* GUI_H */ |