equal
deleted
inserted
replaced
25 |
25 |
26 #include "netserver.h" |
26 #include "netserver.h" |
27 #include "game.h" |
27 #include "game.h" |
28 #include "ui_hwform.h" |
28 #include "ui_hwform.h" |
29 #include "SDLs.h" |
29 #include "SDLs.h" |
|
30 #include "bgwidget.h" |
30 |
31 |
31 class HWGame; |
32 class HWGame; |
32 class HWTeam; |
33 class HWTeam; |
33 class HWNamegen; |
34 class HWNamegen; |
34 class HWNewNet; |
35 class HWNewNet; |
103 void _NetConnect(const QString & hostName, quint16 port, const QString & nick); |
104 void _NetConnect(const QString & hostName, quint16 port, const QString & nick); |
104 void UpdateTeamsLists(const QStringList* editable_teams=0); |
105 void UpdateTeamsLists(const QStringList* editable_teams=0); |
105 void CreateGame(GameCFGWidget * gamecfg, TeamSelWidget* pTeamSelWidget, QString ammo); |
106 void CreateGame(GameCFGWidget * gamecfg, TeamSelWidget* pTeamSelWidget, QString ammo); |
106 void closeEvent(QCloseEvent *event); |
107 void closeEvent(QCloseEvent *event); |
107 void CustomizePalettes(); |
108 void CustomizePalettes(); |
|
109 void resizeEvent(QResizeEvent * event); |
108 |
110 |
109 enum PageIDs { |
111 enum PageIDs { |
110 ID_PAGE_SETUP_TEAM = 0, |
112 ID_PAGE_SETUP_TEAM = 0, |
111 ID_PAGE_SETUP = 1, |
113 ID_PAGE_SETUP = 1, |
112 ID_PAGE_MULTIPLAYER = 2, |
114 ID_PAGE_MULTIPLAYER = 2, |
136 HWNamegen * namegen; |
138 HWNamegen * namegen; |
137 AmmoSchemeModel * ammoSchemeModel; |
139 AmmoSchemeModel * ammoSchemeModel; |
138 QStack<quint8> PagesStack; |
140 QStack<quint8> PagesStack; |
139 QTime eggTimer; |
141 QTime eggTimer; |
140 SDLInteraction sdli; |
142 SDLInteraction sdli; |
|
143 BGWidget * wBackground; |
141 void OnPageShown(quint8 id, quint8 lastid=0); |
144 void OnPageShown(quint8 id, quint8 lastid=0); |
142 }; |
145 }; |
143 |
146 |
144 #endif |
147 #endif |