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-2012 Andrey Korotaev <unC0Rr@gmail.com> |
3 * Copyright (c) 2004-2013 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 * |
127 void Music(bool checked); |
127 void Music(bool checked); |
128 void UpdateCampaignPage(int index); |
128 void UpdateCampaignPage(int index); |
129 void UpdateCampaignPageProgress(int index); |
129 void UpdateCampaignPageProgress(int index); |
130 void InitCampaignPage(); |
130 void InitCampaignPage(); |
131 void showFeedbackDialog(); |
131 void showFeedbackDialog(); |
|
132 void showFeedbackDialogNetChecked(); |
132 |
133 |
133 void NetGameChangeStatus(bool isMaster); |
134 void NetGameChangeStatus(bool isMaster); |
134 void NetGameMaster(); |
135 void NetGameMaster(); |
135 void NetGameSlave(); |
136 void NetGameSlave(); |
136 |
137 |
140 |
141 |
141 void saveDemoWithCustomName(); |
142 void saveDemoWithCustomName(); |
142 void openRegistrationPage(); |
143 void openRegistrationPage(); |
143 |
144 |
144 void startGame(); |
145 void startGame(); |
|
146 void restartGame(); |
|
147 |
|
148 void FromNetProxySlot(const QByteArray &); |
145 |
149 |
146 private: |
150 private: |
147 void _NetConnect(const QString & hostName, quint16 port, QString nick); |
151 void _NetConnect(const QString & hostName, quint16 port, QString nick); |
148 int AskForNickAndPwd(void); |
152 int AskForNickAndPwd(void); |
149 void UpdateTeamsLists(); |
153 void UpdateTeamsLists(); |