--- a/QTfrontend/net/newnetclient.h Tue May 07 22:36:15 2019 +0200
+++ b/QTfrontend/net/newnetclient.h Fri May 10 22:51:43 2019 +0200
@@ -43,7 +43,7 @@
Q_OBJECT
public:
- enum ClientState { Disconnected, Connecting, Redirected, Connected, InLobby, InRoom, InGame };
+ enum ClientState { Disconnected, Connecting, Redirected, Connected, InLobby, InRoom, InGame, InDemo };
HWNewNet();
~HWNewNet();
@@ -73,6 +73,7 @@
QString seed;
bool m_game_connected;
bool m_nick_registered;
+ bool m_demo_data_pending;
RoomsListModel * m_roomsListModel;
PlayersListModel * m_playersModel;
QSortFilterProxyModel * m_lobbyPlayersModel;
@@ -97,6 +98,7 @@
signals:
void AskForRunGame();
+ void AskForOfficialServerDemo();
void connected();
void disconnected(const QString & reason);
void redirected(quint16 port);