Builds with protocol changes (currently untested).

This commit is contained in:
lotodore
2014-12-28 01:03:06 +01:00
parent fdfba430b2
commit 1f6c3d8ccf
44 changed files with 8769 additions and 15778 deletions
+4 -3
View File
@@ -1203,7 +1203,7 @@ void startWindowImpl::networkNotification(int notificationId)
QMessageBox::Close);
}
break;
case NTF_NET_JOIN_GAME_NAME_IN_USE: {
case NTF_NET_CREATE_GAME_NAME_IN_USE: {
changeContentDialogImpl dialog(this, myConfig, CHANGE_INET_GAME_NAME_IN_USE);
dialog.exec();
if(dialog.result() == QDialog::Accepted) {
@@ -1211,7 +1211,7 @@ void startWindowImpl::networkNotification(int notificationId)
}
}
break;
case NTF_NET_JOIN_GAME_BAD_NAME: {
case NTF_NET_CREATE_GAME_BAD_NAME: {
changeContentDialogImpl dialog(this, myConfig, CHANGE_INET_BAD_GAME_NAME);
dialog.exec();
if(dialog.result() == QDialog::Accepted) {
@@ -1231,13 +1231,14 @@ void startWindowImpl::networkNotification(int notificationId)
QMessageBox::Close);
}
break;
case NTF_NET_CREATE_GUEST_FORBIDDEN:
case NTF_NET_JOIN_GUEST_FORBIDDEN: {
MyMessageBox::warning(this, tr("Network Notification"),
tr("You cannot join this type of game as guest."),
QMessageBox::Close);
}
break;
case NTF_NET_JOIN_INVALID_SETTINGS: {
case NTF_NET_CREATE_INVALID_SETTINGS: {
MyMessageBox::warning(this, tr("Network Notification"),
tr("The settings are invalid for this type of game."),
QMessageBox::Close);