equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Hedgewars, a free turn based strategy game |
2 * Hedgewars, a free turn based strategy game |
3 * Copyright (c) 2004-2013 Andrey Korotaev <unC0Rr@gmail.com> |
3 * Copyright (c) 2004-2015 Andrey Korotaev <unC0Rr@gmail.com> |
4 * |
4 * |
5 * This program is free software; you can redistribute it and/or modify |
5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License as published by |
6 * it under the terms of the GNU General Public License as published by |
7 * the Free Software Foundation; version 2 of the License |
7 * the Free Software Foundation; version 2 of the License |
8 * |
8 * |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 * GNU General Public License for more details. |
12 * GNU General Public License for more details. |
13 * |
13 * |
14 * You should have received a copy of the GNU General Public License |
14 * You should have received a copy of the GNU General Public License |
15 * along with this program; if not, write to the Free Software |
15 * along with this program; if not, write to the Free Software |
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
17 */ |
17 */ |
18 |
18 |
19 #ifndef HWFORM_H |
19 #ifndef HWFORM_H |
20 #define HWFORM_H |
20 #define HWFORM_H |
21 |
21 |
118 void AddNetTeam(const HWTeam& team); |
118 void AddNetTeam(const HWTeam& team); |
119 void RemoveNetTeam(const HWTeam& team); |
119 void RemoveNetTeam(const HWTeam& team); |
120 void StartMPGame(); |
120 void StartMPGame(); |
121 void GameStateChanged(GameState gameState); |
121 void GameStateChanged(GameState gameState); |
122 void ForcedDisconnect(const QString & reason); |
122 void ForcedDisconnect(const QString & reason); |
123 void ShowErrorMessage(const QString &); |
123 void ShowFatalErrorMessage(const QString &); |
124 void GetRecord(RecordType type, const QByteArray & record); |
124 void GetRecord(RecordType type, const QByteArray & record); |
125 void CreateNetGame(); |
125 void CreateNetGame(); |
126 void UpdateWeapons(); |
126 void UpdateWeapons(); |
127 void onFrontendFullscreen(bool value); |
127 void onFrontendFullscreen(bool value); |
128 void onFrontendEffects(bool value); |
128 void onFrontendEffects(bool value); |
194 QPointer<HWNewNet> hwnet; |
194 QPointer<HWNewNet> hwnet; |
195 HWNamegen * namegen; |
195 HWNamegen * namegen; |
196 AmmoSchemeModel * ammoSchemeModel; |
196 AmmoSchemeModel * ammoSchemeModel; |
197 QStack<int> PagesStack; |
197 QStack<int> PagesStack; |
198 QString previousCampaignName; |
198 QString previousCampaignName; |
199 QString previousTeamName; |
199 QString previousTeamName; |
200 QList<MissionInfo> campaignMissionInfo; |
200 QList<MissionInfo> campaignMissionInfo; |
201 QTime eggTimer; |
201 QTime eggTimer; |
202 BGWidget * wBackground; |
202 BGWidget * wBackground; |
203 QSignalMapper * pageSwitchMapper; |
203 QSignalMapper * pageSwitchMapper; |
204 QByteArray m_lastDemo; |
204 QByteArray m_lastDemo; |