From 3d4bc78e6492d5de98833aab05c38ea691adbd17 Mon Sep 17 00:00:00 2001 From: doitux Date: Fri, 16 Nov 2007 21:58:47 +0000 Subject: [PATCH] bet/raise redesign + dutch translation update --- data/translations/pokerth_nl.qm | Bin 78703 -> 79993 bytes src/gui/qt/mainwindow.ui | 143 +------ src/gui/qt/mainwindow/mainwindowimpl.cpp | 163 +++++--- src/gui/qt/mainwindow/mainwindowimpl.h | 6 +- ts/pokerth_nl.ts | 486 +++++++++++++---------- 5 files changed, 378 insertions(+), 420 deletions(-) diff --git a/data/translations/pokerth_nl.qm b/data/translations/pokerth_nl.qm index 9b94b50558a7293fa2dc8e9585ad6d01507f3bf1..821d1489ac4c9a765662ce40df5e791737e5d3c4 100644 GIT binary patch delta 4326 zcmY+{3s@6Z+6VCeBr{1SSG-lK76#M`BH-FZL0hPbii(K$s`U~uhCrA=5A-wD? zS&YuV%m-8~`j&MiOE6^BAwX@!u-+e#ugm6PxR6HWPci)1Y9O)$(%$uvlQ8D3HDm?G zF03G{F~K&Qe1b{#WT1O*cqVQ88$D!W(zdPSdQ4AlAx}e;I*9sg!Q9 zkvi&;gmo4Rxf9!BV}R(t!gpJ;0tYOWKuj;xm1dKR0>%c*euN8s>3cn+JZSJW(?dCK zbIZs&G3hQn#Ah;tiyDE16sGtS zDkr?p6d$Db3744Jm6L#^I|1LU2-rV@S)-wL{l8*1wiST^p7zXk#Q|VoH)hur`oh4K zvUi!<2VVloiOebPL$Xx%1XCB%4;a*mxwe6pY|sv-<)oKvR+!dr1O}%nBIa%l zqo@t8Cm$-#^xp!c<|!JQX-!k_D;^&{42;N9LZc=(DS6L0AdOQ-y3)ww%AptN`y<~_ zx{raloe)ifJa+mVk!b`yDS7m1@f8JL^H!!x0)lLZq#^tcx?9}hL(`;PVa$xFwws*S;WFtFiN(eCR z4Yr^q!2?)+V#}&&H_yyuy)1P+^GHCeT6Pe-dT2FZEtcIEFblHDY}E~#`mAzx(;F>- zZ4|rh>xtyA?2cu>0@)GdL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$1KCE-bSzwJ#CE96yU?-HUnK8!20&F8T2TEOt2Zd zsTRy}m`#yWA$iv3(K>4P(NLS#F*nIZYSb^u>ZEh$EUtdGR&U#QM{A>Nlfteud|<)? zL?MFyFQ65cU|r{)J;t&v#nGCSvR={27T$=Z`tXkX@kp>Zrn+cFOhmlY-jbN=OxK=B zq!=dZUz+N!rEb$HXe^RDx-FsVzH7>rY>4I6x;S+-wT!_+Yvg*ZjrDGR8E<`AxRkdh z7L}M?N}#_8`h;S!wct@-M%nsNYOxeI!CL(|tCMw9i?5!>BA}zr z)bZ>vdR{{AQ8gPv&1Xw5eIDsMo=(V@Sd%p@b9po!OpFY_ugVYqaHqVBth< IUzTh4e;pa_82|tP diff --git a/src/gui/qt/mainwindow.ui b/src/gui/qt/mainwindow.ui index fba32f57..f21dd8b8 100644 --- a/src/gui/qt/mainwindow.ui +++ b/src/gui/qt/mainwindow.ui @@ -2281,142 +2281,18 @@ 2 - + - 40 - 0 + 0 + 21 - - - - - - - 40 - 100 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 131 - 196 - 0 - - - - - - - 102 - 153 - 0 - - - - - - - - - 40 - 100 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 131 - 196 - 0 - - - - - - - 102 - 153 - 0 - - - - - - - - - 40 - 100 - 0 - - - - - - - 118 - 111 - 107 - - - - - - - 118 - 111 - 107 - - - - - - - 255 - 255 - 255 - - - - - - - - Qt::NoFocus - - - 99999 - - - 10 - - - 99999 + + + 16777215 + 21 + @@ -3425,9 +3301,6 @@
mycardspixmaplabel.h
- - spinBox_set - diff --git a/src/gui/qt/mainwindow/mainwindowimpl.cpp b/src/gui/qt/mainwindow/mainwindowimpl.cpp index 028e80d1..9c3f873e 100755 --- a/src/gui/qt/mainwindow/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindow/mainwindowimpl.cpp @@ -110,7 +110,7 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent) userWidgetsArray[0] = pushButton_BetRaise; userWidgetsArray[1] = pushButton_CallCheck; userWidgetsArray[2] = pushButton_Fold; - userWidgetsArray[3] = spinBox_set; + userWidgetsArray[3] = lineEdit_betValue; userWidgetsArray[4] = horizontalSlider_bet; userWidgetsArray[5] = pushButton_AllIn; @@ -393,7 +393,7 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent) pushButton_CallCheck->setStyleSheet("QPushButton { border:none; background-image: url(" + myAppDataPath +"gfx/gui/table/default/playeraction_05_0.6.png); "+ font2String +" font-size: 11px; font-weight: bold; color: #F0F0F0;} QPushButton:unchecked { background-image: url(" + myAppDataPath +"gfx/gui/table/default/playeraction_05_0.6.png); } QPushButton:checked { background-image: url(" + myAppDataPath +"gfx/gui/table/default/playeraction_05_0.6_checked.png); }"); pushButton_Fold->setStyleSheet("QPushButton { border:none; background-image: url(" + myAppDataPath +"gfx/gui/table/default/playeraction_07_0.6.png); "+ font2String +" font-size: 11px; font-weight: bold; color: #F0F0F0;} QPushButton:unchecked { background-image: url(" + myAppDataPath +"gfx/gui/table/default/playeraction_07_0.6.png); } QPushButton:checked { background-image: url(" + myAppDataPath +"gfx/gui/table/default/playeraction_07_0.6_checked.png); }"); - spinBox_set->setStyleSheet("QSpinBox { "+ font2String +" font-size: 10px; font-weight: bold; background-color: #1D3B00; color: #F0F0F0; } QSpinBox:disabled { background-color: #316300; color: #6d7b5f }"); + lineEdit_betValue->setStyleSheet("QLineEdit { "+ font2String +" font-size: 10px; font-weight: bold; background-color: #1D3B00; color: #F0F0F0; } QLineEdit:disabled { background-color: #316300; color: #6d7b5f }"); pushButton_AllIn->setStyleSheet("QPushButton:enabled { background-color: #145300; color: white;} QPushButton:disabled { background-color: #145300; color: #486F3E; font-weight: 900;}"); @@ -422,9 +422,14 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent) int width = tempMetrics.width(tr("Stop")); pushButton_break->setMinimumSize(width+10,20); + //set inputvalidator for lineeditbetvalue + QRegExp rx("[\\d]{1,5}"); + QValidator *validator = new QRegExpValidator(rx, this); + lineEdit_betValue->setValidator(validator); //Clear Focus groupBox_LeftToolBox->clearFocus(); + groupBox_RightToolBox->clearFocus(); //set Focus to mainwindow this->setFocus(); @@ -524,8 +529,8 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent) connect( pushButton_AllIn, SIGNAL( clicked(bool) ), this, SLOT(pushButtonAllInClicked(bool) ) ); // connect( pushButton_backToLobby , SIGNAL( clicked(bool) ), this, SLOT(leaveCurrentNetworkGame() ) ); - connect( horizontalSlider_bet, SIGNAL( valueChanged(int)), this, SLOT ( changeSpinBoxBetValue(int) ) ); - connect( spinBox_set, SIGNAL( valueChanged(int)), this, SLOT ( spinBoxBetValueChanged(int) ) ); + connect( horizontalSlider_bet, SIGNAL( valueChanged(int)), this, SLOT ( changeLineEditBetValue(int) ) ); + connect( lineEdit_betValue, SIGNAL( textChanged(QString)), this, SLOT ( lineEditBetValueChanged(QString) ) ); connect( horizontalSlider_speed, SIGNAL( valueChanged(int)), this, SLOT ( setGameSpeed(int) ) ); connect( pushButton_break, SIGNAL( clicked()), this, SLOT ( breakButtonClicked() ) ); // auch wieder starten!!!! @@ -1594,7 +1599,7 @@ void mainWindowImpl::dealBeRoCards(int myBeRoID) { pushButton_AllIn->setDisabled(TRUE); horizontalSlider_bet->setDisabled(TRUE); - spinBox_set->setDisabled(TRUE); + lineEdit_betValue->setDisabled(TRUE); switch(myBeRoID) { @@ -1798,20 +1803,20 @@ void mainWindowImpl::provideMyActions(int mode) { pushButton_AllIn->setDisabled(TRUE); horizontalSlider_bet->setDisabled(TRUE); - spinBox_set->setDisabled(TRUE); + lineEdit_betValue->setDisabled(TRUE); myButtonsCheckable(FALSE); } else { pushButton_AllIn->setEnabled(TRUE); horizontalSlider_bet->setEnabled(TRUE); - spinBox_set->setEnabled(TRUE); + lineEdit_betValue->setEnabled(TRUE); switch (currentHand->getCurrentRound()) { case 0: { if (currentGame->getSeatsList()->front()->getMyCash()+currentGame->getSeatsList()->front()->getMySet() > currentHand->getCurrentBeRo()->getHighestSet()) { - pushButtonBetRaiseString = "Raise"; + pushButtonBetRaiseString = "Raise "+QString::number(getMyBetAmount(1))+"$"; } if (currentGame->getSeatsList()->front()->getMySet()== currentHand->getCurrentBeRo()->getHighestSet() && currentGame->getSeatsList()->front()->getMyButton() == 3) { pushButtonCallCheckString = "Check"; } @@ -1830,15 +1835,13 @@ void mainWindowImpl::provideMyActions(int mode) { // cout << "highestSet in meInAction " << currentHand->getCurrentBeRo()->getHighestSet() << endl; if (currentHand->getCurrentBeRo()->getHighestSet() == 0) { - if(pushButton_CallCheck->isCheckable()) { pushButtonCallCheckString = "Check"; } - else { pushButtonCallCheckString = "Check"; } - - pushButtonBetRaiseString = "Bet"; + pushButtonCallCheckString = "Check"; + pushButtonBetRaiseString = "Bet "+QString::number(getMyBetAmount(0))+"$"; } if (currentHand->getCurrentBeRo()->getHighestSet() > 0 && currentHand->getCurrentBeRo()->getHighestSet() > currentGame->getSeatsList()->front()->getMySet()) { pushButtonCallCheckString = "Call "+QString::number(getMyCallAmount())+"$" ; if (currentGame->getSeatsList()->front()->getMyCash()+currentGame->getSeatsList()->front()->getMySet() > currentHand->getCurrentBeRo()->getHighestSet()) { - pushButtonBetRaiseString = "Raise"; + pushButtonBetRaiseString = "Raise "+QString::number(getMyBetAmount(1))+"$"; } } } @@ -1853,14 +1856,13 @@ void mainWindowImpl::provideMyActions(int mode) { // cout << "highestSet in meInAction " << currentHand->getCurrentBeRo()->getHighestSet() << endl; if (currentHand->getCurrentBeRo()->getHighestSet() == 0) { - if(pushButton_CallCheck->isCheckable()) { pushButtonCallCheckString = "Check"; } - else { pushButtonCallCheckString = "Check"; } - pushButtonBetRaiseString = "Bet"; + pushButtonCallCheckString = "Check"; + pushButtonBetRaiseString = "Bet "+QString::number(getMyBetAmount(0))+"$"; } if (currentHand->getCurrentBeRo()->getHighestSet() > 0 && currentHand->getCurrentBeRo()->getHighestSet() > currentGame->getSeatsList()->front()->getMySet()) { pushButtonCallCheckString = "Call "+QString::number(getMyCallAmount())+"$" ; if (currentGame->getSeatsList()->front()->getMyCash()+currentGame->getSeatsList()->front()->getMySet() > currentHand->getCurrentBeRo()->getHighestSet()) { - pushButtonBetRaiseString = "Raise"; + pushButtonBetRaiseString = "Raise "+QString::number(getMyBetAmount(1))+"$"; } } } @@ -1875,14 +1877,13 @@ void mainWindowImpl::provideMyActions(int mode) { // cout << "highestSet in meInAction " << currentHand->getCurrentBeRo()->getHighestSet() << endl; if (currentHand->getCurrentBeRo()->getHighestSet() == 0) { - if(pushButton_CallCheck->isCheckable()) { pushButtonCallCheckString = "Check"; } - else { pushButtonCallCheckString = "Check"; } - pushButtonBetRaiseString = "Bet"; + pushButtonCallCheckString = "Check"; + pushButtonBetRaiseString = "Bet "+QString::number(getMyBetAmount(0))+"$"; } if (currentHand->getCurrentBeRo()->getHighestSet() > 0 && currentHand->getCurrentBeRo()->getHighestSet() > currentGame->getSeatsList()->front()->getMySet()) { pushButtonCallCheckString = "Call "+QString::number(getMyCallAmount())+"$" ; if (currentGame->getSeatsList()->front()->getMyCash()+currentGame->getSeatsList()->front()->getMySet() > currentHand->getCurrentBeRo()->getHighestSet()) { - pushButtonBetRaiseString = "Raise"; + pushButtonBetRaiseString = "Raise "+QString::number(getMyBetAmount(1))+"$"; } } } @@ -1891,6 +1892,7 @@ void mainWindowImpl::provideMyActions(int mode) { } //if text changed on checked button --> uncheck to prevent unwanted actions + //if value changed on bet/raise button --> uncheck to prevent unwanted actions if((pushButtonCallCheckString != lastPushButtonCallCheckString && pushButton_CallCheck->isChecked()) || (pushButtonBetRaiseString != lastPushButtonBetRaiseString && pushButton_BetRaise->isChecked()) ) { // cout << "jo" << endl; @@ -1902,12 +1904,12 @@ void mainWindowImpl::provideMyActions(int mode) { pushButton_AllIn->setDisabled(TRUE); horizontalSlider_bet->setDisabled(TRUE); - spinBox_set->setDisabled(TRUE); + lineEdit_betValue->setDisabled(TRUE); } if(mode == 0) { if( currentHand->getSeatsList()->front()->getMyAction() != PLAYER_ACTION_FOLD ) { - pushButtonBetRaiseString = "Bet"; + pushButtonBetRaiseString = "Bet "+QString::number(getMyBetAmount(0))+"$"; pushButtonCallCheckString = "Check"; if( currentGame->getActivePlayerList()->size() > 2 && currentGame->getSeatsList()->front()->getMyButton() == BUTTON_SMALL_BLIND || ( currentGame->getActivePlayerList()->size() <= 2 && currentGame->getSeatsList()->front()->getMyButton() == BUTTON_BIG_BLIND)) { pushButtonFoldString = "Fold"; } else { pushButtonFoldString = "Check / Fold"; } @@ -1918,7 +1920,7 @@ void mainWindowImpl::provideMyActions(int mode) { pushButtonFoldString = ""; pushButton_AllIn->setDisabled(TRUE); horizontalSlider_bet->setDisabled(TRUE); - spinBox_set->setDisabled(TRUE); + lineEdit_betValue->setDisabled(TRUE); myButtonsCheckable(FALSE); } @@ -1930,27 +1932,23 @@ void mainWindowImpl::provideMyActions(int mode) { pushButton_AllIn->setText("All-In"); myBetRaise(); - - //bet-raise pre-action - - } } void mainWindowImpl::meInAction() { //fix buttons if escape is pressed during raise or bet -// spinBox_set->hide(); +// lineEdit_betValue->hide(); // pushButton_BetRaise->show(); myButtonsCheckable(FALSE); horizontalSlider_bet->setEnabled(TRUE); - spinBox_set->setEnabled(TRUE); + lineEdit_betValue->setEnabled(TRUE); if((mySession->getGameType() == Session::GAME_TYPE_INTERNET || mySession->getGameType() == Session::GAME_TYPE_NETWORK) && lineEdit_ChatInput->text() == "" && myConfig->readConfigInt("EnableBetInputFocusSwitch")) { - spinBox_set->setFocus(); - spinBox_set->selectAll(); + lineEdit_betValue->setFocus(); + lineEdit_betValue->selectAll(); } myActionIsRaise = 0; @@ -2018,32 +2016,32 @@ void mainWindowImpl::disableMyButtons() { HandInterface *currentHand = mySession->getCurrentGame()->getCurrentHand(); //clear userWidgets - spinBox_set->setMinimum(0); +// lineEdit_betValue->setMinimum(0); horizontalSlider_bet->setMinimum(0); - spinBox_set->setMaximum(currentHand->getSeatsList()->front()->getMyCash()); +// lineEdit_betValue->setMaximum(currentHand->getSeatsList()->front()->getMyCash()); horizontalSlider_bet->setMaximum(currentHand->getSeatsList()->front()->getMyCash()); - spinBox_set->setValue(0); + lineEdit_betValue->clear(); horizontalSlider_bet->setValue(0); pushButton_AllIn->setDisabled(TRUE); horizontalSlider_bet->setDisabled(TRUE); - spinBox_set->setDisabled(TRUE); + lineEdit_betValue->setDisabled(TRUE); } void mainWindowImpl::myBetRaise() { - if(pushButton_BetRaise->text() == "Raise") { + if(pushButton_BetRaise->text().startsWith("Raise")) { myRaise(); } - else if(pushButton_BetRaise->text() == "Bet") { + else if(pushButton_BetRaise->text().startsWith("Bet")) { myBet(); } else {} if(mySession->getGameType() == Session::GAME_TYPE_LOCAL) { - spinBox_set->setFocus(); - spinBox_set->selectAll(); + lineEdit_betValue->setFocus(); + lineEdit_betValue->selectAll(); } } @@ -2105,6 +2103,45 @@ int mainWindowImpl::getMyCallAmount() { } +int mainWindowImpl::getBetRaisePushButtonValue() { + + QString betValueString = pushButton_BetRaise->text().section(" ",1 ,1); + cout << "test1 " << betValueString.toStdString() << endl; + int index = betValueString.indexOf("$"); + betValueString.remove(index,index); + cout << "test2 " << betValueString.toStdString() << endl; + bool ok; + int betValue = betValueString.toInt(&ok,10); + cout << "test3 " << betValue << endl; + return betValue; +} + +int mainWindowImpl::getMyBetAmount(int mode) { + + HandInterface *currentHand = mySession->getCurrentGame()->getCurrentHand(); + + int betValue = getBetRaisePushButtonValue(); + int minimum; + + if(mode == 0) { // bet + minimum = currentHand->getSmallBlind()*2; + } + else if(mode == 1) { // raise + minimum = currentHand->getCurrentBeRo()->getHighestSet() - currentHand->getSeatsList()->front()->getMySet() + currentHand->getCurrentBeRo()->getMinimumRaise(); + } + else { + minimum = -1; + } + + if(betValue < minimum) { + return minimum; + } + else { + return betValue; + } + +} + void mainWindowImpl::myCall(){ int tempHighestSet = 0; @@ -2140,15 +2177,8 @@ void mainWindowImpl::myBet(){ HandInterface *currentHand = mySession->getCurrentGame()->getCurrentHand(); - - spinBox_set->setMinimum(currentHand->getSmallBlind()*2); horizontalSlider_bet->setMinimum(currentHand->getSmallBlind()*2); - spinBox_set->setMaximum(currentHand->getSeatsList()->front()->getMyCash()); horizontalSlider_bet->setMaximum(currentHand->getSeatsList()->front()->getMyCash()); - -// if(!myButtonsAreCheckable) -// spinBox_set->setValue(spinBox_set->minimum()); - horizontalSlider_bet->setSingleStep(10); myActionIsBet = 1; @@ -2158,14 +2188,8 @@ void mainWindowImpl::myRaise(){ HandInterface *currentHand = mySession->getCurrentGame()->getCurrentHand(); - spinBox_set->setMinimum(currentHand->getCurrentBeRo()->getHighestSet() - currentHand->getSeatsList()->front()->getMySet() + currentHand->getCurrentBeRo()->getMinimumRaise()); horizontalSlider_bet->setMinimum(currentHand->getCurrentBeRo()->getHighestSet() - currentHand->getSeatsList()->front()->getMySet() + currentHand->getCurrentBeRo()->getMinimumRaise()); - spinBox_set->setMaximum(currentHand->getSeatsList()->front()->getMyCash()); horizontalSlider_bet->setMaximum(currentHand->getSeatsList()->front()->getMyCash()); - -// if(!myButtonsAreCheckable && spinBox_set->value != spinBox_set->minimum()) -// spinBox_set->setValue(spinBox_set->minimum()); - horizontalSlider_bet->setSingleStep(10); myActionIsRaise = 1; @@ -2179,10 +2203,10 @@ void mainWindowImpl::mySet(){ HandInterface *currentHand = mySession->getCurrentGame()->getCurrentHand(); int tempCash = currentHand->getSeatsList()->front()->getMyCash(); - // cout << "Set-Value " << spinBox_set->value() << endl; - currentHand->getSeatsList()->front()->setMySet(spinBox_set->value()); + cout << "Set-Value " << getBetRaisePushButtonValue() << endl; + currentHand->getSeatsList()->front()->setMySet(getBetRaisePushButtonValue()); - if (spinBox_set->value() >= tempCash ) { + if (getBetRaisePushButtonValue() >= tempCash ) { currentHand->getSeatsList()->front()->setMySet(currentHand->getSeatsList()->front()->getMyCash()); currentHand->getSeatsList()->front()->setMyCash(0); @@ -2273,9 +2297,12 @@ void mainWindowImpl::pushButtonBetRaiseClicked(bool checked) { if(!radioButton_manualAction->isChecked()) radioButton_manualAction->click(); +// myLastPreActionBetValue = lineEdit_betValue->value(); + } else { pushButtonBetRaiseIsChecked = FALSE; + myLastPreActionBetValue = 0; } } else { @@ -2457,7 +2484,7 @@ void mainWindowImpl::postRiverRunAnimation2() { pushButton_AllIn->setDisabled(TRUE); horizontalSlider_bet->setDisabled(TRUE); - spinBox_set->setDisabled(TRUE); + lineEdit_betValue->setDisabled(TRUE); HandInterface *currentHand = mySession->getCurrentGame()->getCurrentHand(); @@ -2988,7 +3015,7 @@ void mainWindowImpl::nextRoundCleanGui() { pushButton_AllIn->setDisabled(TRUE); horizontalSlider_bet->setDisabled(TRUE); - spinBox_set->setDisabled(TRUE); + lineEdit_betValue->setDisabled(TRUE); uncheckMyButtons(); myButtonsCheckable(FALSE); @@ -3354,7 +3381,7 @@ void mainWindowImpl::keyPressEvent ( QKeyEvent * event ) { bool ctrlPressed = FALSE; if (event->key() == Qt::Key_Enter || event->key() == Qt::Key_Return ) /*ENTER*/ { - if(spinBox_set->hasFocus()) { + if(lineEdit_betValue->hasFocus()) { pushButton_BetRaise->click(); } } @@ -3719,17 +3746,23 @@ void mainWindowImpl::quitPokerTH() { // QMainWindow::paintEvent(event); // } -void mainWindowImpl::changeSpinBoxBetValue(int value) { +void mainWindowImpl::changeLineEditBetValue(int value) { - if(spinBox_set->maximum() <= 1000 ) - spinBox_set->setValue((int)((value/10)*10)); + if(horizontalSlider_bet->maximum() <= 1000 ) + lineEdit_betValue->setText(QString::number((int)((value/10)*10))); else - spinBox_set->setValue((int)((value/50)*50)); + lineEdit_betValue->setText(QString::number((int)((value/50)*50))); } -void mainWindowImpl::spinBoxBetValueChanged(int) { +void mainWindowImpl::lineEditBetValueChanged(QString valueString) { - if(pushButton_BetRaise->isChecked() && pushButton_BetRaise->isCheckable()) pushButton_BetRaise->click(); + bool ok; + int betValue = QString(valueString).toInt(&ok, 10); + if(betValue > horizontalSlider_bet->minimum()) { + QString betRaise = pushButton_BetRaise->text().section(" ",0 ,0); + pushButton_BetRaise->setText(betRaise + " " + valueString + "$"); + } + } void mainWindowImpl::leaveCurrentNetworkGame() { diff --git a/src/gui/qt/mainwindow/mainwindowimpl.h b/src/gui/qt/mainwindow/mainwindowimpl.h index a7c380f0..570fae56 100755 --- a/src/gui/qt/mainwindow/mainwindowimpl.h +++ b/src/gui/qt/mainwindow/mainwindowimpl.h @@ -212,6 +212,8 @@ public slots: void myFold(); void myCheck(); int getMyCallAmount(); + int getBetRaisePushButtonValue(); + int getMyBetAmount(int); void myCall(); void myBet(); void mySet(); @@ -325,8 +327,8 @@ public slots: void myButtonsCheckable(bool state); void changePlayingMode(); - void changeSpinBoxBetValue(int); - void spinBoxBetValueChanged(int); + void changeLineEditBetValue(int); + void lineEditBetValueChanged(QString); void showMaximized (); void quitPokerTH(); diff --git a/ts/pokerth_nl.ts b/ts/pokerth_nl.ts index 4fdf3368..acb0be0f 100644 --- a/ts/pokerth_nl.ts +++ b/ts/pokerth_nl.ts @@ -1348,12 +1348,12 @@ p, li { white-space: pre-wrap; } changeCompleteBlindsDialogImpl - + Manual Blinds Order Handmatige blinds - + You cannot set more than 30 manual blinds. U kunt niet meer dan 30 blinds handmatig instellen. @@ -1576,12 +1576,12 @@ p, li { white-space: pre-wrap; } Spellobby - + Lobby-Chat Lobby - Chat - + Game Spel @@ -1591,22 +1591,22 @@ p, li { white-space: pre-wrap; } Speler - + Private Privé - + Game Info Spelinformatie - + Connected Players Spelers met verbinding - + Start Game Spel starten @@ -1676,17 +1676,17 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Bedenktijd voor de spelers (sec):</span></p></body></html> - + Fill up with computer opponents Tafel vol maken met computerspelers - + Create Game Spel maken - + Join Game Meedoen met spel @@ -1721,7 +1721,7 @@ p, li { white-space: pre-wrap; } Rondes voordat de blinds stijgen: - + Leave Game Spel verlaten @@ -1731,32 +1731,32 @@ p, li { white-space: pre-wrap; } Beschikbare spelers - + Kick Player Speler verwijderen - + Players Spelers - + State Status - + Maximum number of players: Maximale aantal spelers: - + Start Cash: Startgeld: - + First small blind: Eerste kleine blind: @@ -1766,17 +1766,17 @@ p, li { white-space: pre-wrap; } Interval verhoging blinds: - + Blinds raise mode: Verhoogmodus van de blinds: - + Manual blinds list: Handmatige lijst met blinds: - + Timeout for player action (sec): Bedenktijd voor de spelers (sec): @@ -1786,7 +1786,7 @@ p, li { white-space: pre-wrap; } Lobby van internetspel - + Blinds raise interval: Interval verhoging blinds: @@ -1794,17 +1794,17 @@ p, li { white-space: pre-wrap; } gameLobbyDialogImpl - + Game Info Spelinformatie - + Server Error Serverfout - + You should not kick yourself from this game! U mag zichzelf niet uit dit spel verwijderen! @@ -1824,32 +1824,32 @@ p, li { white-space: pre-wrap; } U wilt meedoen met een privéspel. Voer het wachtwoord in! - + running lopend - + open open - + hands rondes - + minutes minuten - + double blinds verdubbeling - + manual blinds order handmatige volgorde @@ -1859,22 +1859,22 @@ p, li { white-space: pre-wrap; } Spel starten. Even geduld ... - + running games: %1 lopende spellen: %1 - + open games: %1 open spellen: %1 - + players in chat: %1 spelers in de chat: %1 - + connected players: %1 spelers met verbinding: %1 @@ -2071,57 +2071,57 @@ Wilt u dat profiel overschrijven? QGroupBox { background-image: url(:/graphics/resources/graphics/toolboxFrameBG.png) } - + Speed: Snelheid: Stop - Stop + Stop - + View Beeld - + Game Spel - + Ctrl+N Ctrl+N - + Quit Afsluiten - + About PokerTH ... Info over PokerTH ... - + Settings ... Instellingen ... - + Create Network Game ... Netwerkspel maken ... - + Join Network Game ... Met netwerkspel meedoen ... - + Fullscreen Volledig scherm @@ -2136,17 +2136,17 @@ Wilt u dat profiel overschrijven? Chat - + Log Log - + Start Local Game ... Lokaal spel starten ... - + Ctrl+Q Ctrl+Q @@ -2161,7 +2161,7 @@ Wilt u dat profiel overschrijven? ⌘F - + Show/Hide Chat Window Chatvenster Aan/Uit @@ -2176,7 +2176,7 @@ Wilt u dat profiel overschrijven? ⌘H - + Show/Hide Log Window Logvenster Aan/Uit @@ -2186,37 +2186,37 @@ Wilt u dat profiel overschrijven? ⌘L - + Show/Hide Hands Window Handenvenster Aan/Uit - + Ctrl+O Ctrl+O - + Ctrl+J Ctrl+J - + Ctrl+F Ctrl+F - + Ctrl+T Ctrl+T - + Ctrl+H Ctrl+H - + Ctrl+L Ctrl+L @@ -2226,17 +2226,17 @@ Wilt u dat profiel overschrijven? PokertTH 0.6 - De Open-Source Texas Holdem Simulator - + Network Game Netwerkspel - + Internet Game ... Internetspel ... - + Ctrl+I Ctrl+I @@ -2246,22 +2246,22 @@ Wilt u dat profiel overschrijven? All-in - + Away Afwezig - + Manual Action (default) Handmatige acties (standaard) - + Auto-Check / Auto-Fold Automatisch checken of folden - + Auto-Check / Auto-Call-Any Automatisch checken of callen @@ -2273,15 +2273,15 @@ Wilt u dat profiel overschrijven? Back to lobby - Terug naar de lobby + Terug naar de lobby - + Show/Hide Away Window Afwezig-venster Aan/Uit - + Ctrl+A Ctrl+A @@ -2289,7 +2289,7 @@ Wilt u dat profiel overschrijven? mainWindowImpl - + Ctrl+N to start a new game Ctrl+N om een nieuw spel te starten @@ -2299,84 +2299,84 @@ Wilt u dat profiel overschrijven? F1 - Folden/All-In | F2 - Checken/Callen | F3 - Betten/Raisen - + Network Error Netwerkfout - + Server address was not set. Serveradres is niet ingesteld. - + An invalid port was set (ports 0-1023 are not allowed). Ongeldige poort ingesteld (poorten 0-1023 zijn niet toegestaan). - + Could not create a socket for TCP communication. Kan geen socket maken voor TCP-communicatie. - + Could not set the IP address. Kan het IP-adres niet instellen. - + Could not set the port for this type of address. Kan de poort niet instellen voor dit adrestype. - + The server name could not be resolved. Kan geen server met die naam vinden. - + Bind failed - please choose a different port. Kan niet verbinden - kies een andere poort. - + Internal network error: "listen" failed. Interne netwerkfout: "listen" niet uitvoerbaar. - + Server execution was terminated. Het uitvoeren op de server is afgebroken. - + Could not connect to the server. Kan geen verbinding maken met de server. - + Internal network error: "select" failed. Interne netwerkfout: "select" niet uitvoerbaar. - + Internal network error: "send" failed. Interne netwerkfout: "send" niet uitvoerbaar. - + Internal network error: Duplicate TCP connection. Interne netwerkfout: Dubbele TCP-verbinding. - + An invalid network packet was received. Please make sure that all players use the same version of PokerTH. Ongeldig netwerkpakket ontvangen. Zorg ervoor dat alle spelers dezelfde versie van PokerTH gebruiken. - + Internal state error. Please make sure that all players use the same version of PokerTH. Interne statusfout. @@ -2390,29 +2390,29 @@ Please update PokerTH. Zorg ervoor dat u de nieuwste versie van PokerTH heeft. - + Sorry, this server is already full. Deze server is al vol. - + Unable to join - the server has already started the game. Kan niet meedoen - de server heeft het spel al gestart. - + Invalid password when joining the game. Please reenter the password and try again. Ongeldig wachtwoord bij het verbinden. Voer het wachtwoord opnieuw in en probeer het opnieuw. - + The password is too long. Please choose another one. Het wachtwoord is te lang. Kies een ander wachtwoord. - + Your player name is already used by another player. Please choose a different name. Uw spelersnaam is al in gebruik door een andere speler. @@ -2424,27 +2424,27 @@ Kies een andere naam. De spelersnaam is te kort of te lang. Kies een andere naam. - + An internal error occured. Interne fout opgetreden. - + Cmd+N to start a new game Cmd+N om een nieuw spel te starten - + Start Start - + Stop Stop - + Connection timed out. Please check the server address. @@ -2455,22 +2455,22 @@ Controleer het serveradres. Als de server zich achter een NAT-router bevindt, controleer dan daar of port forwarding goed ingesteld is. - + Connection was closed by the server. De verbinding is verbroken door de server. - + The server referred to an unknown player. Aborting. De server verwees naar een onbekende speler. Verbinding verbroken. - + You were kicked from the server. U bent verwijderd van de server. - + The client player count is invalid. Het aantal spelers dat meedoet klopt niet. @@ -2480,32 +2480,32 @@ Als de server zich achter een NAT-router bevindt, controleer dan daar of port fo De spelersnaam is te kort, te lang, of al opgeëist. Kies een andere naam. - + The game name is either too short or too long. Please choose another one. De naam van het spel is te kort of te lang. Kies een andere naam. - + The game could not be found. Kan het spel niet vinden. - + The chat text is invalid. Ongeldige chattekst. - + Network Notification Netwerkmelding - + You were kicked from the game. U bent uit het spel verwijderd. - + Sorry, this game is already full. Dit spel is al vol. @@ -2515,74 +2515,74 @@ Als de server zich achter een NAT-router bevindt, controleer dan daar of port fo F1 - Betten/Raisen | F2 - Checken/Callen | F3 - Folden/All-In - + Chat Chat - + Manual mode set. You've got to choose yourself now. Handmatige modus ingesteld. U moet nu zelf kiezen. - + Auto mode set: Check or call any. Automatische modus ingesteld: altijd checken of callen. - + Auto mode set: Check or fold. Automatische modus ingesteld: checken of folden. - + You cannot join Internet-Game-Lobby with "Human Player" as nickname. Please choose another one. U kunt met de standaardnaam geen verbinding maken met de lobby van het internetspel. Kies een andere naam. - + Internal error: The current player could not be found. Interne fout: De huidige speler kan niet worden gevonden. - + Internal error: The current player is not active. Interne fout: De huidige speler is niet actief. - + Too many manual blinds were set. Please reconfigure the manual blinds. Er zijn te veel handmatige blinds ingesteld. Stel de handmatige blinds opnieuw in. - + An invalid avatar file was configured. Please choose a different avatar. Er is een ongeldig avatarbestand ingesteld. Kies een andere avatar. - + The selected avatar file is too large. Please choose a different avatar. Het geselecteerde avatarbestand is te groot. Kies een andere avatar. - + The server requested a non-existing avatar. De server vroeg om een niet-bestaande avatar. - + Could not start game: Synchronization failed. Kan spel niet starten: Synchronisatie mislukt. - + F1 - Fold | F2 - Check/Call | F3 - Bet/Raise | F4 - All-In F1 - Folden | F2 - Checken/Callen | F3 - Betten/Raisen | F4 - All-In - + F1 - All-In | F2 - Bet/Raise | F3 - Check/Call | F4 - Fold F1 - All-In | F2 - Betten/Raisen | F3 - Checken/Callen | F4 - Folden @@ -2594,12 +2594,12 @@ Please go to <a href="http://www.pokerth.net/" target="_blank& Ga naar <a href="http://www.pokerth.net/" target="_blank">http://www.pokerth.net/<a/> en download de nieuwste versie. - + The player name is too short, too long or invalid. Please choose another one. De spelersnaam is te kort, te lang of ongeldig. Kies een andere naam. - + The server is down for maintenance. Please try again later. Wegens onderhoud is de server niet beschikbaar. Probeer het later opnieuw. @@ -2617,30 +2617,47 @@ Please go to <a href="http://www.pokerth.net/" target="_blank& Deze bètarelease van PokerTH is te oud.Ga naar <a href="http://www.pokerth.net/" target="_blank">http://www.pokerth.net/<a/> en download de nieuwste versie. - + Closing PokerTH during network game PokerTH afsluiten tijdens netwerkspel - + You are the hosting server. Do you want to close PokerTH anyway? U bent de server van dit spel. Wilt u PokerTH toch sluiten? - + The PokerTH server does not support this version of the game.<br>Please go to <a href="http://www.pokerth.net/" target="_blank">http://www.pokerth.net</a> and download the latest version. De PokerTH-server ondersteunt deze versie van het spel niet.<br>Ga naar <a href="http://www.pokerth.net/" target="_blank">http://www.pokerth.net/<a/> en download de nieuwste versie. - + A new release of PokerTH is available.<br>Please go to <a href="http://www.pokerth.net/" target="_blank">http://www.pokerth.net</a> and download the latest version. Er is een nieuwe release van PokerTH beschikbaar.<br>Ga naar<a href="http://www.pokerth.net/" target="_blank">http://www.pokerth.net</a> en download de nieuwste versie. - + This beta release of PokerTH is outdated.<br>Please go to <a href="http://www.pokerth.net/" target="_blank">http://www.pokerth.net</a> and download the latest version. Deze bètarelease van PokerTH is te oud.<br>Ga naar <a href="http://www.pokerth.net/" target="_blank">http://www.pokerth.net/<a/> en download de nieuwste versie. + + + Lobby + Lobby + + + + PokerTH - Internet Game Message + PokerTH - Bericht van internetspel + + + + Attention! Do you really want to leave the current game +and go back to the lobby? + Opgelet! Wilt u werkelijk het huidige spel verlaten +en teruggaan naar de lobby? + manualBlindsOrderDialog @@ -2713,6 +2730,24 @@ Please go to <a href="http://www.pokerth.net/" target="_blank& U kunt niet meer dan 30 blinds handmatig instellen. + + myMessageDialog + + + Dialog + Dialoog + + + + MessageText + Tekst van bericht + + + + Do not show this warning again. + Deze waarschuwing niet opnieuw weergeven. + + newGameDialog @@ -2851,17 +2886,17 @@ Stel een geldige afbeelding in! settingsDialog - + Interface Interface - + Flipside of Cards Kaartachterkant - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> @@ -2869,7 +2904,7 @@ p, li { white-space: pre-wrap; } <html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Opmerking: Beste kwaliteit met een hoogte-breedteverhouding gelijk aan </span><span style=" font-weight:600; font-style:italic;">hoogte=140, breedte=100.</span></p></body></html> - + Default Standaard @@ -2884,7 +2919,7 @@ p, li { white-space: pre-wrap; } Kleine blind: - + Start Cash: Startgeld: @@ -2899,17 +2934,17 @@ p, li { white-space: pre-wrap; } Server-instellingen - + Server Port: Serverpoort: - + Use IPv6 IPv6 gebruiken - + Server Password: Serverwachtwoord: @@ -2919,72 +2954,72 @@ p, li { white-space: pre-wrap; } Standaardinstellingen van netwerkspel - + Computer Engine Computertegenstanders - + Opponent 5: Tegenstander 5: - + Opponent 3: Tegenstander 3: - + Opponent 2: Tegenstander 2: - + Opponent 6: Tegenstander 6: - + Opponent 1: Tegenstander 1: - + Opponent 4: Tegenstander 4: - + Human Player: Menselijke Speler: - + Player Nicks Spelersnamen - + Day(s) dag(en) - + Log File Directory: Map voor logbestanden: - + Log Messages Logberichten - + Local Game Settings Instellingen van lokaal spel - + Network Game Settings Instellingen van netwerkspel @@ -2994,7 +3029,7 @@ p, li { white-space: pre-wrap; } Omdraaiende kaarten-animatie weergeven - + Own flipside picture: Eigen afbeelding voor kaartachterkant: @@ -3024,7 +3059,7 @@ p, li { white-space: pre-wrap; } Berichten weergeven in de statusbalk - + Show game settings dialog on every new game Instellingenvenster laten zien voor elk nieuw spel @@ -3034,22 +3069,22 @@ p, li { white-space: pre-wrap; } Rondes voordat blinds omhooggaan: - + Number of players: Aantal spelers: - + Game Speed: Speelsnelheid: - + Pause between hands (press "start" button to go on) Stoppen tussen rondes (druk op Start om door te gaan) - + Game Speed for computer opponents: Speelsnelheid van computertegenstanders: @@ -3059,17 +3094,17 @@ p, li { white-space: pre-wrap; } Simulatorversie van computertegenstanders: - + Enable/Disable Logging Logbestanden schrijven - + Store log files for Bewaar de logbestanden - + Write log after every: Logbestand bijwerken na elke: @@ -3079,7 +3114,7 @@ p, li { white-space: pre-wrap; } Buttons voor kleine blind en grote blind weergeven - + Play sound effects Geluidseffecten afspelen @@ -3089,22 +3124,22 @@ p, li { white-space: pre-wrap; } 0.4 (huidige) - + Use SCTP SCTP gebruiken - + <a href="http://en.wikipedia.org/wiki/Ipv6">What is this?</a> <a href="http://nl.wikipedia.org/wiki/Ipv6">Wat is dit?</a> - + <a href="http://en.wikipedia.org/wiki/Stream_Control_Transmission_Protocol">What is this?</a> <a href="http://nl.wikipedia.org/wiki/Stream_Control_Transmission_Protocol">Wat is dit?</a> - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> @@ -3120,37 +3155,37 @@ p, li { white-space: pre-wrap; } Instellingen - + Maximum number of players: Maximale aantal spelers: - + Sound Volume: Volume: - + 10 10 - + Timeout for player action (sec): Bedenktijd voor de spelers (sec): - + action (high frequent disc access) handeling (veel schijfactiviteit) - + hand (medium disc access) ronde (matige schijfactiviteit) - + game (low disc access) partij (weinig schijfactiviteit) @@ -3160,12 +3195,12 @@ p, li { white-space: pre-wrap; } Kaarten alleen weergeven bij muisklik - + Sound Geluid - + Network Server Settings Instellingen van netwerkserver @@ -3181,27 +3216,27 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Opmerking: standaard </span><span style=" font-weight:600; font-style:italic;">spelinstellingen</span><span style=" font-style:italic;">, zoals "</span>Maximale aantal spelers", "<span style=" font-style:italic;">Startgeld" en "Kleine blind" worden overgenomen van </span><span style=" font-weight:600; font-style:italic;">Instellingen van netwerkspel.</span></p></body></html> - + Internet Server Settings (Dedicated Server) Instellingen van internetserver (pokerserver) - + Server Address: Serveradres: - + Use password for private game: Wachtwoord gebruiken voor privéspel: - + Internet Game Settings Instellingen van internetspel - + QLabel { font-weight: bold; } QLabel { font-weight: bold; } @@ -3216,17 +3251,17 @@ p, li { white-space: pre-wrap; } Instellingen voor het chatten in de lobby (IRC-server) - + chat.freenode.net chat.freenode.net - + Channel: Kanaal: - + #pokerth #pokerth @@ -3236,67 +3271,67 @@ p, li { white-space: pre-wrap; } Omgekeerde volgorde van F-toetsen (F1 - F3) - + First small blind: Eerste kleine blind: - + Raise blinds: Blinds verhogen: - + Every: Na elke: - + hands rondes - + minutes minuten - + Raise mode: Verhoogmodus: - + Always double blinds Blinds blijven verdubbelen - + Manual blinds order: Handmatige blinds: - + Edit ... Bewerken ... - + Sound Categories Geluidcategorieën - + Play game actions sounds like "check", "call", "raise" Geluiden van spelacties als 'checken', 'callen' en 'raisen' - + Play lobby chat notifications Meldingen van het chatten in de lobby - + Play network/internet game notifications like "player joined the game" Meldingen van netwerk-/internetspellen als 'speler erbij' @@ -3306,17 +3341,17 @@ p, li { white-space: pre-wrap; } Taal: - + Enable/Disable Lobby Chat (IRC Server) Chatten in de lobby (IRC-server) Aan/Uit - + Player Nicks/Avatars Spelersnamen/Avatars - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> @@ -3331,11 +3366,26 @@ p, li { white-space: pre-wrap; } Reverse order of F-Keys (F1 - F4) Omgekeerde volgorde van F-toetsen (F1 - F4) + + + Network / Internet Game + Netwerk-/internetspel + + + + Switch keyboard focus to bet-input-field if it's your turn + Invoer van toetsenbord naar het bet-veld als het uw beurt is + + + + Channel Password: + Wachtwoord voor kanaal: + settingsDialogImpl - + Settings Error Fout in instellingen @@ -3354,7 +3404,7 @@ Please select an valid directory! Selecteer een geldige map! - + Select your flipside picture Uw afbeelding voor de kaartachterkant selecteren @@ -3364,27 +3414,27 @@ Selecteer een geldige map! Afbeeldingen (*.png) - + Open Directory Open map - + Images (*.png *.jpg *.gif) Afbeeldingen (*.png *.jpg *.gif) - + Blinds Error Fout in blinds - + The first element in your manual-blinds-list is smaller than current first-small-blind! This first-small-blind-value will be set to maximum allowed value. Het eerste bedrag in uw handmatige lijst met blinds -is minder dan de eerste kleine blind! +is lager dan de eerste kleine blind! De eerste kleine blind wordt ingesteld op de maximale waarde. @@ -3395,22 +3445,22 @@ De eerste kleine blind wordt ingesteld op de maximale waarde. English - Engels + English (Engels) French - Frans + Français (Frans) German - Duits + Deutsch (Duits) Hungarian - Hongaars + Magyar (Hongaars) @@ -3425,12 +3475,12 @@ De eerste kleine blind wordt ingesteld op de maximale waarde. Portuguese - Portugees + Português (Portugees) Russian - Russisch + Русский (Russisch) @@ -3440,15 +3490,15 @@ De eerste kleine blind wordt ingesteld op de maximale waarde. Turkish - Turks + Turkçe (Turks) - + Language Changed Taal is gewijzigd - + You have changed application language to %1. Please restart PokerTH to load new language! U heeft de taal van het programma gewijzigd naar %1. @@ -3457,22 +3507,22 @@ Start PokerTH opnieuw om de nieuwe taal te laden! Italian - Italiaans + Italiano (Italiaans) Slovak - Slowaaks + Slovenčina (Slowaaks) - + The entered flipside picture doesn't exist. Please enter an valid picture! De ingestelde afbeelding voor de kaartachterkant bestaat niet. Stel een geldige afbeelding in! - + The log file directory doesn't exist. Please select an valid directory! De map voor logbestanden bestaat niet. @@ -3481,7 +3531,7 @@ Selecteer een geldige map! Norwegian - Noors + Norsk (Noors) @@ -3545,12 +3595,12 @@ Selecteer een geldige map! startNetworkGameDialogImpl - + Server Error Serverfout - + You should not kick yourself from this game! U mag zichzelf niet uit dit spel verwijderen!