40 class GameUIConfig; |
40 class GameUIConfig; |
41 class HWNetRegisterServer; |
41 class HWNetRegisterServer; |
42 class QCloseEvent; |
42 class QCloseEvent; |
43 class AmmoSchemeModel; |
43 class AmmoSchemeModel; |
44 class QSettings; |
44 class QSettings; |
|
45 class QSignalMapper; |
45 |
46 |
46 extern bool frontendEffects; |
47 extern bool frontendEffects; |
47 extern QString playerHash; |
48 extern QString playerHash; |
48 |
49 |
49 class HWForm : public QMainWindow |
50 class HWForm : public QMainWindow |
57 GameUIConfig * config; |
58 GameUIConfig * config; |
58 QSettings * gameSettings; // Same file GameUIConfig points to but without the baggage. Needs sync() calls if you want to get GameUIConfig changes though |
59 QSettings * gameSettings; // Same file GameUIConfig points to but without the baggage. Needs sync() calls if you want to get GameUIConfig changes though |
59 void updateXfire(); |
60 void updateXfire(); |
60 |
61 |
61 private slots: |
62 private slots: |
62 void GoToMain(); |
|
63 void GoToSinglePlayer(); |
|
64 void GoToSetup(); |
|
65 void GoToMultiplayer(); |
63 void GoToMultiplayer(); |
66 void GoToSaves(); |
64 void GoToSaves(); |
67 void GoToDemos(); |
65 void GoToDemos(); |
68 void GoToNet(); |
66 void GoToNet(); |
69 void GoToNetType(); |
67 void GoToNetType(); |
70 void GoToInfo(); |
|
71 void GoToTraining(); |
|
72 void GoToCampaign(); |
|
73 void GoToSelectWeapon(); |
68 void GoToSelectWeapon(); |
74 void GoToSelectWeaponSet(int index); |
69 void GoToSelectWeaponSet(int index); |
75 void GoToSelectNewWeapon(); |
70 void GoToSelectNewWeapon(); |
76 void GoToNetServer(); |
71 void GoToNetServer(); |
77 void GoToScheme(int index); |
72 void GoToScheme(int index); |
78 void GoToEditScheme(); |
73 void GoToEditScheme(); |
79 void GoToNewScheme(); |
74 void GoToNewScheme(); |
80 void GoToAdmin(); |
75 void GoToAdmin(); |
81 void GoToPage(quint8 id); |
76 void GoToPage(int id); |
82 void GoBack(); |
77 void GoBack(); |
83 void AssociateFiles(); |
78 void AssociateFiles(); |
84 void btnExitPressed(); |
79 void btnExitPressed(); |
85 void btnExitClicked(); |
80 void btnExitClicked(); |
86 void IntermediateSetup(); |
81 void IntermediateSetup(); |
161 HWNetRegisterServer* pRegisterServer; |
156 HWNetRegisterServer* pRegisterServer; |
162 HWTeam * editedTeam; |
157 HWTeam * editedTeam; |
163 HWNewNet * hwnet; |
158 HWNewNet * hwnet; |
164 HWNamegen * namegen; |
159 HWNamegen * namegen; |
165 AmmoSchemeModel * ammoSchemeModel; |
160 AmmoSchemeModel * ammoSchemeModel; |
166 QStack<quint8> PagesStack; |
161 QStack<int> PagesStack; |
167 QTime eggTimer; |
162 QTime eggTimer; |
168 BGWidget * wBackground; |
163 BGWidget * wBackground; |
|
164 QSignalMapper * pageSwitchMapper; |
169 |
165 |
170 #ifdef __APPLE__ |
166 #ifdef __APPLE__ |
171 InstallController * panel; |
167 InstallController * panel; |
172 #endif |
168 #endif |
173 |
169 |