95 void NetConnectServer(const QString & host, quint16 port); |
95 void NetConnectServer(const QString & host, quint16 port); |
96 void NetConnectOfficialServer(); |
96 void NetConnectOfficialServer(); |
97 void NetStartServer(); |
97 void NetStartServer(); |
98 void NetDisconnect(); |
98 void NetDisconnect(); |
99 void NetConnected(); |
99 void NetConnected(); |
|
100 void NetError(const QString & errmsg); |
|
101 void NetWarning(const QString & wrnmsg); |
100 void NetGameEnter(); |
102 void NetGameEnter(); |
|
103 void NetPassword(const QString & nick); |
|
104 void NetNickTaken(const QString & nick); |
|
105 void NetAuthFailed(); |
|
106 void NetTeamAccepted(const QString& team); |
101 void AddNetTeam(const HWTeam& team); |
107 void AddNetTeam(const HWTeam& team); |
|
108 void RemoveNetTeam(const HWTeam& team); |
102 void StartMPGame(); |
109 void StartMPGame(); |
103 void GameStateChanged(GameState gameState); |
110 void GameStateChanged(GameState gameState); |
104 void ForcedDisconnect(); |
111 void ForcedDisconnect(const QString & reason); |
105 void ShowErrorMessage(const QString &); |
112 void ShowErrorMessage(const QString &); |
106 void GetRecord(bool isDemo, const QByteArray & record); |
113 void GetRecord(bool isDemo, const QByteArray & record); |
107 void CreateNetGame(); |
114 void CreateNetGame(); |
108 void UpdateWeapons(); |
115 void UpdateWeapons(); |
109 void onFrontendFullscreen(bool value); |
116 void onFrontendFullscreen(bool value); |
113 void NetGameChangeStatus(bool isMaster); |
120 void NetGameChangeStatus(bool isMaster); |
114 void NetGameMaster(); |
121 void NetGameMaster(); |
115 void NetGameSlave(); |
122 void NetGameSlave(); |
116 |
123 |
117 void AsyncNetServerStart(); |
124 void AsyncNetServerStart(); |
118 void NetLeftRoom(); |
125 void NetLeftRoom(const QString & reason); |
119 void selectFirstNetScheme(); |
126 void selectFirstNetScheme(); |
120 |
127 |
121 void saveDemoWithCustomName(); |
128 void saveDemoWithCustomName(); |
122 |
129 |
123 private: |
130 private: |
124 void _NetConnect(const QString & hostName, quint16 port, const QString & nick); |
131 void _NetConnect(const QString & hostName, quint16 port, QString nick); |
125 void UpdateTeamsLists(const QStringList* editable_teams=0); |
132 void UpdateTeamsLists(const QStringList* editable_teams=0); |
126 void CreateGame(GameCFGWidget * gamecfg, TeamSelWidget* pTeamSelWidget, QString ammo); |
133 void CreateGame(GameCFGWidget * gamecfg, TeamSelWidget* pTeamSelWidget, QString ammo); |
127 void closeEvent(QCloseEvent *event); |
134 void closeEvent(QCloseEvent *event); |
128 void CustomizePalettes(); |
135 void CustomizePalettes(); |
129 void resizeEvent(QResizeEvent * event); |
136 void resizeEvent(QResizeEvent * event); |