author | truebrain |
Mon, 30 Jun 2008 13:51:28 +0000 | |
branch | noai |
changeset 11102 | aacdde10b4ad |
parent 10776 | 07203fc29812 |
child 11126 | 72d4c9314c72 |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
10455
22c441f5adf9
(svn r12997) [NoAI] -Sync: with trunk r12895:12996.
rubidium
parents:
10249
diff
changeset
|
3 |
/** @file gui.h GUI functions that shouldn't be here. */ |
6505
abcb0580d976
(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
belugas
parents:
6417
diff
changeset
|
4 |
|
0 | 5 |
#ifndef GUI_H |
6 |
#define GUI_H |
|
7 |
||
9723
eee46cb39750
(svn r11796) [NoAI] -Sync: with trunk r11502:11795.
rubidium
parents:
9722
diff
changeset
|
8 |
#include "window_type.h" |
eee46cb39750
(svn r11796) [NoAI] -Sync: with trunk r11502:11795.
rubidium
parents:
9722
diff
changeset
|
9 |
#include "vehicle_type.h" |
eee46cb39750
(svn r11796) [NoAI] -Sync: with trunk r11502:11795.
rubidium
parents:
9722
diff
changeset
|
10 |
#include "gfx_type.h" |
eee46cb39750
(svn r11796) [NoAI] -Sync: with trunk r11502:11795.
rubidium
parents:
9722
diff
changeset
|
11 |
#include "economy_type.h" |
eee46cb39750
(svn r11796) [NoAI] -Sync: with trunk r11502:11795.
rubidium
parents:
9722
diff
changeset
|
12 |
#include "tile_type.h" |
9724
b39bc69bb2f2
(svn r12051) [NoAI] -Sync: with trunk (r11795:12050).
rubidium
parents:
9723
diff
changeset
|
13 |
#include "strings_type.h" |
10455
22c441f5adf9
(svn r12997) [NoAI] -Sync: with trunk r12895:12996.
rubidium
parents:
10249
diff
changeset
|
14 |
#include "transport_type.h" |
175
d6cccece959a
(svn r176) -Fix: network_gui const and warnings fixes (Tron)
darkvater
parents:
164
diff
changeset
|
15 |
|
6505
abcb0580d976
(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
belugas
parents:
6417
diff
changeset
|
16 |
/* main_gui.cpp */ |
1977
4392ae3d8e31
(svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
tron
parents:
1879
diff
changeset
|
17 |
void CcPlaySound10(bool success, TileIndex tile, uint32 p1, uint32 p2); |
4392ae3d8e31
(svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
tron
parents:
1879
diff
changeset
|
18 |
void CcBuildCanal(bool success, TileIndex tile, uint32 p1, uint32 p2); |
9826
9707ad4c9b60
(svn r12462) [NoAI] -Sync: with trunk r12304:12461.
rubidium
parents:
9732
diff
changeset
|
19 |
void HandleOnEditText(const char *str); |
9707ad4c9b60
(svn r12462) [NoAI] -Sync: with trunk r12304:12461.
rubidium
parents:
9732
diff
changeset
|
20 |
void InitializeGUI(); |
0 | 21 |
|
6505
abcb0580d976
(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
belugas
parents:
6417
diff
changeset
|
22 |
/* settings_gui.cpp */ |
6573 | 23 |
void ShowGameOptions(); |
24 |
void ShowGameDifficulty(); |
|
25 |
void ShowPatchesSelection(); |
|
4211
d8c4c40eba62
(svn r5714) Backport from branches/TGP (r5701 and r5711)
miham
parents:
4171
diff
changeset
|
26 |
void DrawArrowButtons(int x, int y, int ctab, byte state, bool clickable_left, bool clickable_right); |
0 | 27 |
|
6505
abcb0580d976
(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
belugas
parents:
6417
diff
changeset
|
28 |
/* graph_gui.cpp */ |
6573 | 29 |
void ShowOperatingProfitGraph(); |
30 |
void ShowIncomeGraph(); |
|
31 |
void ShowDeliveredCargoGraph(); |
|
32 |
void ShowPerformanceHistoryGraph(); |
|
33 |
void ShowCompanyValueGraph(); |
|
34 |
void ShowCargoPaymentRates(); |
|
35 |
void ShowCompanyLeagueTable(); |
|
36 |
void ShowPerformanceRatingDetail(); |
|
0 | 37 |
|
6505
abcb0580d976
(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
belugas
parents:
6417
diff
changeset
|
38 |
/* train_gui.cpp */ |
4171 | 39 |
void ShowOrdersWindow(const Vehicle *v); |
0 | 40 |
|
6505
abcb0580d976
(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
belugas
parents:
6417
diff
changeset
|
41 |
/* dock_gui.cpp */ |
6573 | 42 |
void ShowBuildDocksToolbar(); |
0 | 43 |
|
6505
abcb0580d976
(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
belugas
parents:
6417
diff
changeset
|
44 |
/* aircraft_gui.cpp */ |
6573 | 45 |
void ShowBuildAirToolbar(); |
0 | 46 |
|
6505
abcb0580d976
(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
belugas
parents:
6417
diff
changeset
|
47 |
/* tgp_gui.cpp */ |
6573 | 48 |
void ShowGenerateLandscape(); |
49 |
void ShowHeightmapLoad(); |
|
4300
687a17c9c557
(svn r5946) -Add: merged the TGP branch to mainline. TGP adds:
truelight
parents:
4299
diff
changeset
|
50 |
|
6505
abcb0580d976
(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
belugas
parents:
6417
diff
changeset
|
51 |
/* misc_gui.cpp */ |
6573 | 52 |
void PlaceLandBlockInfo(); |
53 |
void ShowAboutWindow(); |
|
54 |
void ShowBuildTreesToolbar(); |
|
55 |
void ShowTownDirectory(); |
|
56 |
void ShowIndustryDirectory(); |
|
57 |
void ShowSubsidiesList(); |
|
0 | 58 |
|
9629 | 59 |
void ShowEstimatedCostOrIncome(Money cost, int x, int y); |
0 | 60 |
void ShowErrorMessage(StringID msg_1, StringID msg_2, int x, int y); |
61 |
||
6573 | 62 |
void ShowSmallMap(); |
10455
22c441f5adf9
(svn r12997) [NoAI] -Sync: with trunk r12895:12996.
rubidium
parents:
10249
diff
changeset
|
63 |
void ShowExtraViewPortWindow(TileIndex tile = INVALID_TILE); |
0 | 64 |
|
6573 | 65 |
void BuildFileList(); |
543
e3b43338096b
(svn r942) -Merged branch/network back into the trunk
truelight
parents:
478
diff
changeset
|
66 |
void SetFiosType(const byte fiostype); |
e3b43338096b
(svn r942) -Merged branch/network back into the trunk
truelight
parents:
478
diff
changeset
|
67 |
|
4434
4175805666a5
(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
rubidium
parents:
4408
diff
changeset
|
68 |
/* FIOS_TYPE_FILE, FIOS_TYPE_OLDFILE etc. different colours */ |
9722
ebf0ece7d8f6
(svn r11503) [NoAI] -Sync: with trunk r11308:11502.
rubidium
parents:
9701
diff
changeset
|
69 |
extern const TextColour _fios_colors[]; |
0 | 70 |
|
6505
abcb0580d976
(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
belugas
parents:
6417
diff
changeset
|
71 |
/* bridge_gui.cpp */ |
9732 | 72 |
void ShowBuildBridgeWindow(TileIndex start, TileIndex end, TransportType transport_type, byte bridge_type); |
0 | 73 |
|
6573 | 74 |
void ShowBuildIndustryWindow(); |
9826
9707ad4c9b60
(svn r12462) [NoAI] -Sync: with trunk r12304:12461.
rubidium
parents:
9732
diff
changeset
|
75 |
void ShowBuildTownWindow(); |
6573 | 76 |
void ShowMusicWindow(); |
0 | 77 |
|
1246
45f15251412b
(svn r1750) - Feature: [ 1093261 ] Saving vehicle sorting criteria for each vehicle type (bociusz)
darkvater
parents:
1093
diff
changeset
|
78 |
|
0 | 79 |
#endif /* GUI_H */ |