Initial handshake and network game start. Works with multiple clients. Not yet stable, because it is not thread-safe. GUI callbacks not complete yet (server dialog not updated).
This commit is contained in:
1 parent
5f7ff8ca54
commit
ef10602d5c
33 files changed
+731
-113
No files matched your search
@@ -31,6 +31,10 @@ waitForServerToStartGameDialogImpl::waitForServerToStartGameDialogImpl(QWidget *
|
||||
|
||||
}
|
||||
|
||||
void waitForServerToStartGameDialogImpl::refresh(int actionID) {
|
||||
QTimer::singleShot(1000, this, SLOT(accept()));
|
||||
}
|
||||
|
||||
void waitForServerToStartGameDialogImpl::cancel() {
|
||||
|
||||
}
|
||||
|
||||
@@ -35,6 +35,7 @@ public:
|
||||
|
||||
public slots:
|
||||
|
||||
void refresh(int actionID);
|
||||
void cancel();
|
||||
void keyPressEvent ( QKeyEvent * event );
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user