89 void _NetConnect(const QString & hostName, quint16 port, const QString & nick); |
88 void _NetConnect(const QString & hostName, quint16 port, const QString & nick); |
90 void UpdateTeamsLists(const QStringList* editable_teams=0); |
89 void UpdateTeamsLists(const QStringList* editable_teams=0); |
91 void CreateGame(GameCFGWidget * gamecfg, TeamSelWidget* pTeamSelWidget, QString ammo); |
90 void CreateGame(GameCFGWidget * gamecfg, TeamSelWidget* pTeamSelWidget, QString ammo); |
92 void closeEvent(QCloseEvent *event); |
91 void closeEvent(QCloseEvent *event); |
93 enum PageIDs { |
92 enum PageIDs { |
94 ID_PAGE_SIMPLEGAME = 0, |
93 ID_PAGE_SETUP_TEAM = 0, |
95 ID_PAGE_SETUP_TEAM = 1, |
94 ID_PAGE_SETUP = 1, |
96 ID_PAGE_SETUP = 2, |
95 ID_PAGE_MULTIPLAYER = 2, |
97 ID_PAGE_MULTIPLAYER = 3, |
96 ID_PAGE_DEMOS = 3, |
98 ID_PAGE_DEMOS = 4, |
97 ID_PAGE_NET = 4, |
99 ID_PAGE_NET = 5, |
98 ID_PAGE_NETCFG = 5, |
100 ID_PAGE_NETCFG = 6, |
99 ID_PAGE_INFO = 6, |
101 ID_PAGE_INFO = 7, |
100 ID_PAGE_MAIN = 7, |
102 ID_PAGE_MAIN = 8, |
101 ID_PAGE_GAMESTATS = 8, |
103 ID_PAGE_GAMESTATS = 9, |
102 ID_PAGE_SINGLEPLAYER = 9, |
104 ID_PAGE_SINGLEPLAYER = 10, |
103 ID_PAGE_TRAINING = 10, |
105 ID_PAGE_TRAINING = 11, |
104 ID_PAGE_SELECTWEAPON = 11, |
106 ID_PAGE_SELECTWEAPON = 12, |
105 ID_PAGE_NETSERVER = 12, |
107 ID_PAGE_NETSERVER = 13, |
106 ID_PAGE_INGAME = 13 |
108 ID_PAGE_INGAME = 14 |
|
109 }; |
107 }; |
110 HWGame * game; |
108 HWGame * game; |
111 HWTeam * editedTeam; |
109 HWTeam * editedTeam; |
112 HWNewNet * hwnet; |
110 HWNewNet * hwnet; |
113 GameUIConfig * config; |
111 GameUIConfig * config; |