Added delays between dealing cards. Added check for IPv6.

This commit is contained in:
lotodore
2007-06-05 21:28:47 +00:00
parent 750138ab55
commit 9a3e45d710
13 changed files with 266 additions and 141 deletions
@@ -91,6 +91,7 @@ void joinNetworkGameDialogImpl::exec() {
fillServerProfileList();
}
checkBox_ipv6->setEnabled(socket_has_ipv6());
checkBox_sctp->setEnabled(socket_has_sctp());
QDialog::exec();
+3 -4
View File
@@ -2597,12 +2597,11 @@ void mainWindowImpl::networkGameModification() {
void mainWindowImpl::closeEvent(QCloseEvent *event) { quitPokerTH(); }
void mainWindowImpl::quitPokerTH() {
mySession->terminateNetworkClient();
if (myServerGuiInterface.get()) myServerGuiInterface->getSession().terminateNetworkServer();
mySDLPlayer->closeAudio();
// cout << "PokerTH finished" << endl;
qApp->quit();
}
@@ -137,6 +137,7 @@ void settingsDialogImpl::exec() {
spinBox_logStoreDuration->setValue(myConfig->readConfigInt("LogStoreDuration"));
comboBox_logInterval->setCurrentIndex(myConfig->readConfigInt("LogInterval"));
checkBox_useIpv6->setEnabled(socket_has_ipv6());
checkBox_useSctp->setEnabled(socket_has_sctp());
QDialog::exec();
+1 -1
View File
@@ -87,6 +87,6 @@ void SDLPlayer::closeAudio() {
if(audioEnabled) {
audioDone();
Mix_CloseAudio();
SDL_Quit();
}
SDL_Quit();
}