0.8.3 translation source update, list refactoring for crash bugfix in qt/*
This commit is contained in:
@@ -628,12 +628,13 @@ void gameTableImpl::applySettings(settingsDialogImpl* mySettingsDialog) {
|
||||
//Check for anti-peek mode
|
||||
if(myStartWindow->getSession()->getCurrentGame()) {
|
||||
// check if human player is already active
|
||||
if(myStartWindow->getSession()->getCurrentGame()->getSeatsList()->front()->getMyActiveStatus()) {
|
||||
boost::shared_ptr<PlayerInterface> humanPlayer = myStartWindow->getSession()->getCurrentGame()->getSeatsList()->front();
|
||||
if(humanPlayer->getMyActiveStatus()) {
|
||||
|
||||
QPixmap tempCardsPixmapArray[2];
|
||||
int tempCardsIntArray[2];
|
||||
|
||||
myStartWindow->getSession()->getCurrentGame()->getSeatsList()->front()->getMyCards(tempCardsIntArray);
|
||||
humanPlayer->getMyCards(tempCardsIntArray);
|
||||
if(myConfig->readConfigInt("AntiPeekMode")) {
|
||||
holeCardsArray[0][0]->setPixmap(flipside, TRUE);
|
||||
tempCardsPixmapArray[0] = QPixmap::fromImage(QImage(myCardDeckStyle->getCurrentDir()+QString::number(tempCardsIntArray[0], 10)+".png"));
|
||||
@@ -711,7 +712,8 @@ void gameTableImpl::refreshSet() {
|
||||
Game *currentGame = myStartWindow->getSession()->getCurrentGame();
|
||||
|
||||
PlayerListConstIterator it_c;
|
||||
for (it_c=currentGame->getSeatsList()->begin(); it_c!=currentGame->getSeatsList()->end(); it_c++) {
|
||||
PlayerList seatsList = currentGame->getSeatsList();
|
||||
for (it_c=seatsList->begin(); it_c!=seatsList->end(); it_c++) {
|
||||
if( (*it_c)->getMySet() == 0 )
|
||||
setLabelArray[(*it_c)->getMyID()]->setText("");
|
||||
else
|
||||
@@ -729,10 +731,11 @@ void gameTableImpl::refreshButton() {
|
||||
Game *currentGame = myStartWindow->getSession()->getCurrentGame();
|
||||
|
||||
PlayerListConstIterator it_c;
|
||||
|
||||
for (it_c=currentGame->getSeatsList()->begin(); it_c!=currentGame->getSeatsList()->end(); it_c++) {
|
||||
PlayerList seatsList = currentGame->getSeatsList();
|
||||
PlayerList activePlayerList = currentGame->getActivePlayerList();
|
||||
for (it_c=seatsList->begin(); it_c!=seatsList->end(); it_c++) {
|
||||
if( (*it_c)->getMyActiveStatus() ) {
|
||||
if( currentGame->getActivePlayerList()->size() > 2 ) {
|
||||
if( activePlayerList->size() > 2 ) {
|
||||
switch ( (*it_c)->getMyButton() ) {
|
||||
|
||||
case 1 : buttonLabelArray[(*it_c)->getMyID()]->setPixmap(dealerButton);
|
||||
@@ -782,7 +785,8 @@ void gameTableImpl::refreshPlayerName() {
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
|
||||
PlayerListConstIterator it_c;
|
||||
for (it_c=currentHand->getSeatsList()->begin(); it_c!=currentHand->getSeatsList()->end(); it_c++) {
|
||||
PlayerList seatsList = currentHand->getSeatsList();
|
||||
for (it_c=seatsList->begin(); it_c!=seatsList->end(); it_c++) {
|
||||
if((*it_c)->getMyActiveStatus()) {
|
||||
|
||||
bool guest = myStartWindow->getSession()->getClientPlayerInfo((*it_c)->getMyUniqueID()).isGuest;
|
||||
@@ -824,7 +828,9 @@ void gameTableImpl::refreshPlayerAvatar() {
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
int seatPlace;
|
||||
PlayerListConstIterator it_c;
|
||||
for (it_c=currentHand->getSeatsList()->begin(), seatPlace=0; it_c!=currentHand->getSeatsList()->end(); it_c++, seatPlace++) {
|
||||
PlayerList seatsList = currentHand->getSeatsList();
|
||||
for (it_c=seatsList->begin(), seatPlace=0; it_c!=seatsList->end(); it_c++, seatPlace++) {
|
||||
|
||||
QString countryString(QString(myStartWindow->getSession()->getClientPlayerInfo((*it_c)->getMyUniqueID()).countryCode.c_str()).toLower());
|
||||
countryString = QString(":/cflags/cflags/%1.png").arg(countryString);
|
||||
|
||||
@@ -894,7 +900,8 @@ void gameTableImpl::refreshAction(int playerID, int playerAction) {
|
||||
if(playerID == -1 || playerAction == -1) {
|
||||
|
||||
PlayerListConstIterator it_c;
|
||||
for (it_c=currentHand->getSeatsList()->begin(); it_c!=currentHand->getSeatsList()->end(); it_c++) {
|
||||
PlayerList seatsList = currentHand->getSeatsList();
|
||||
for (it_c=seatsList->begin(); it_c!=seatsList->end(); it_c++) {
|
||||
|
||||
//if no action --> clear Pixmap
|
||||
if( (*it_c)->getMyAction() == 0) {
|
||||
@@ -948,7 +955,8 @@ void gameTableImpl::refreshCash() {
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
|
||||
PlayerListConstIterator it_c;
|
||||
for (it_c=currentHand->getSeatsList()->begin(); it_c!=currentHand->getSeatsList()->end(); it_c++) {
|
||||
PlayerList seatsList = currentHand->getSeatsList();
|
||||
for (it_c=seatsList->begin(); it_c!=seatsList->end(); it_c++) {
|
||||
if((*it_c)->getMyActiveStatus()) {
|
||||
|
||||
cashLabelArray[(*it_c)->getMyID()]->setText("$"+QString("%L1").arg((*it_c)->getMyCash()));
|
||||
@@ -967,7 +975,8 @@ void gameTableImpl::refreshGroupbox(int playerID, int status) {
|
||||
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
PlayerListConstIterator it_c;
|
||||
for (it_c=currentHand->getSeatsList()->begin(); it_c!=currentHand->getSeatsList()->end(); it_c++) {
|
||||
PlayerList seatsList = currentHand->getSeatsList();
|
||||
for (it_c=seatsList->begin(); it_c!=seatsList->end(); it_c++) {
|
||||
|
||||
if((*it_c)->getMyTurn()) {
|
||||
//Groupbox glow wenn der Spiele dran ist.
|
||||
@@ -1077,7 +1086,8 @@ void gameTableImpl::refreshAll() {
|
||||
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
PlayerListConstIterator it_c;
|
||||
for (it_c=currentHand->getSeatsList()->begin(); it_c!=currentHand->getSeatsList()->end(); it_c++) {
|
||||
PlayerList seatsList = currentHand->getSeatsList();
|
||||
for (it_c=seatsList->begin(); it_c!=seatsList->end(); it_c++) {
|
||||
refreshAction( (*it_c)->getMyID(), (*it_c)->getMyAction());
|
||||
}
|
||||
|
||||
@@ -1093,7 +1103,8 @@ void gameTableImpl::refreshChangePlayer() {
|
||||
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
PlayerListConstIterator it_c;
|
||||
for (it_c=currentHand->getSeatsList()->begin(); it_c!=currentHand->getSeatsList()->end(); it_c++) {
|
||||
PlayerList seatsList = currentHand->getSeatsList();
|
||||
for (it_c=seatsList->begin(); it_c!=seatsList->end(); it_c++) {
|
||||
refreshAction( (*it_c)->getMyID(), (*it_c)->getMyAction());
|
||||
}
|
||||
|
||||
@@ -1136,7 +1147,8 @@ void gameTableImpl::dealHoleCards() {
|
||||
Game *currentGame = myStartWindow->getSession()->getCurrentGame();
|
||||
|
||||
PlayerListConstIterator it_c;
|
||||
for(it_c=currentGame->getSeatsList()->begin(); it_c!=currentGame->getSeatsList()->end(); it_c++) {
|
||||
PlayerList seatsList = currentGame->getSeatsList();
|
||||
for (it_c=seatsList->begin(); it_c!=seatsList->end(); it_c++) {
|
||||
(*it_c)->getMyCards(tempCardsIntArray);
|
||||
for(j=0; j<2; j++) {
|
||||
if((*it_c)->getMyActiveStatus()) {
|
||||
@@ -1372,9 +1384,11 @@ void gameTableImpl::provideMyActions(int mode) {
|
||||
|
||||
Game *currentGame = myStartWindow->getSession()->getCurrentGame();
|
||||
boost::shared_ptr<HandInterface> currentHand = currentGame->getCurrentHand();
|
||||
boost::shared_ptr<PlayerInterface> humanPlayer = currentHand->getSeatsList()->front();
|
||||
PlayerList activePlayerList = currentGame->getActivePlayerList();
|
||||
|
||||
//really disabled buttons if human player is fold/all-in or ... and not called from dealberocards
|
||||
if(/*pushButton_BetRaise->isCheckable() && */mode != 0 && (currentHand->getSeatsList()->front()->getMyAction() == PLAYER_ACTION_ALLIN || currentHand->getSeatsList()->front()->getMyAction() == PLAYER_ACTION_FOLD || (currentGame->getSeatsList()->front()->getMySet() == currentHand->getCurrentBeRo()->getHighestSet() && (currentGame->getSeatsList()->front()->getMyAction() != PLAYER_ACTION_NONE)))) {
|
||||
if(/*pushButton_BetRaise->isCheckable() && */mode != 0 && (humanPlayer->getMyAction() == PLAYER_ACTION_ALLIN || humanPlayer->getMyAction() == PLAYER_ACTION_FOLD || (humanPlayer->getMySet() == currentHand->getCurrentBeRo()->getHighestSet() && (humanPlayer->getMyAction() != PLAYER_ACTION_NONE)))) {
|
||||
|
||||
pushButton_BetRaise->setText("");
|
||||
pushButton_CallCheck->setText("");
|
||||
@@ -1395,11 +1409,11 @@ void gameTableImpl::provideMyActions(int mode) {
|
||||
//show available actions on buttons
|
||||
if(currentHand->getCurrentRound() == 0) { // preflop
|
||||
|
||||
if (currentGame->getSeatsList()->front()->getMyCash()+currentGame->getSeatsList()->front()->getMySet() > currentHand->getCurrentBeRo()->getHighestSet() && !currentHand->getCurrentBeRo()->getFullBetRule()) {
|
||||
if (humanPlayer->getMyCash()+humanPlayer->getMySet() > currentHand->getCurrentBeRo()->getHighestSet() && !currentHand->getCurrentBeRo()->getFullBetRule()) {
|
||||
pushButtonBetRaiseString = RaiseString+"\n$"+QString("%L1").arg(getMyBetAmount());
|
||||
}
|
||||
|
||||
if (currentGame->getSeatsList()->front()->getMySet()== currentHand->getCurrentBeRo()->getHighestSet() && currentGame->getSeatsList()->front()->getMyButton() == 3) { pushButtonCallCheckString = CheckString; }
|
||||
if (humanPlayer->getMySet()== currentHand->getCurrentBeRo()->getHighestSet() && humanPlayer->getMyButton() == 3) { pushButtonCallCheckString = CheckString; }
|
||||
else { pushButtonCallCheckString = CallString+"\n$"+QString("%L1").arg(getMyCallAmount()); }
|
||||
|
||||
pushButtonFoldString = FoldString;
|
||||
@@ -1418,9 +1432,9 @@ void gameTableImpl::provideMyActions(int mode) {
|
||||
pushButtonCallCheckString = CheckString;
|
||||
pushButtonBetRaiseString = BetString+"\n$"+QString("%L1").arg(getMyBetAmount());
|
||||
}
|
||||
if (currentHand->getCurrentBeRo()->getHighestSet() > 0 && currentHand->getCurrentBeRo()->getHighestSet() > currentGame->getSeatsList()->front()->getMySet()) {
|
||||
if (currentHand->getCurrentBeRo()->getHighestSet() > 0 && currentHand->getCurrentBeRo()->getHighestSet() > humanPlayer->getMySet()) {
|
||||
pushButtonCallCheckString = CallString+"\n$"+QString("%L1").arg(getMyCallAmount());
|
||||
if (currentGame->getSeatsList()->front()->getMyCash()+currentGame->getSeatsList()->front()->getMySet() > currentHand->getCurrentBeRo()->getHighestSet() && !currentHand->getCurrentBeRo()->getFullBetRule()) {
|
||||
if (humanPlayer->getMyCash()+humanPlayer->getMySet() > currentHand->getCurrentBeRo()->getHighestSet() && !currentHand->getCurrentBeRo()->getFullBetRule()) {
|
||||
pushButtonBetRaiseString = RaiseString+"\n$"+QString("%L1").arg(getMyBetAmount());
|
||||
}
|
||||
}
|
||||
@@ -1430,10 +1444,10 @@ void gameTableImpl::provideMyActions(int mode) {
|
||||
}
|
||||
|
||||
if(mode == 0) {
|
||||
if( currentHand->getSeatsList()->front()->getMyAction() != PLAYER_ACTION_FOLD ) {
|
||||
if( humanPlayer->getMyAction() != PLAYER_ACTION_FOLD ) {
|
||||
pushButtonBetRaiseString = BetString+"\n$"+QString("%L1").arg(getMyBetAmount());
|
||||
pushButtonCallCheckString = CheckString;
|
||||
if( (currentGame->getActivePlayerList()->size() > 2 && currentGame->getSeatsList()->front()->getMyButton() == BUTTON_SMALL_BLIND ) || ( currentGame->getActivePlayerList()->size() <= 2 && currentGame->getSeatsList()->front()->getMyButton() == BUTTON_BIG_BLIND)) { pushButtonFoldString = FoldString; }
|
||||
if( (activePlayerList->size() > 2 && humanPlayer->getMyButton() == BUTTON_SMALL_BLIND ) || ( activePlayerList->size() <= 2 && humanPlayer->getMyButton() == BUTTON_BIG_BLIND)) { pushButtonFoldString = FoldString; }
|
||||
else { pushButtonFoldString = CheckString+" /\n"+FoldString; }
|
||||
|
||||
pushButtonAllInString = AllInString;
|
||||
@@ -1475,11 +1489,11 @@ void gameTableImpl::provideMyActions(int mode) {
|
||||
|
||||
if(pushButton_BetRaise->text().startsWith(RaiseString)) {
|
||||
|
||||
horizontalSlider_bet->setMinimum(currentHand->getCurrentBeRo()->getHighestSet() - currentHand->getSeatsList()->front()->getMySet() + currentHand->getCurrentBeRo()->getMinimumRaise());
|
||||
horizontalSlider_bet->setMaximum(currentHand->getSeatsList()->front()->getMyCash());
|
||||
horizontalSlider_bet->setMinimum(currentHand->getCurrentBeRo()->getHighestSet() - humanPlayer->getMySet() + currentHand->getCurrentBeRo()->getMinimumRaise());
|
||||
horizontalSlider_bet->setMaximum(humanPlayer->getMyCash());
|
||||
horizontalSlider_bet->setSingleStep(10);
|
||||
spinBox_betValue->setMinimum(currentHand->getCurrentBeRo()->getHighestSet() - currentHand->getSeatsList()->front()->getMySet() + currentHand->getCurrentBeRo()->getMinimumRaise());
|
||||
spinBox_betValue->setMaximum(currentHand->getSeatsList()->front()->getMyCash());
|
||||
spinBox_betValue->setMinimum(currentHand->getCurrentBeRo()->getHighestSet() - humanPlayer->getMySet() + currentHand->getCurrentBeRo()->getMinimumRaise());
|
||||
spinBox_betValue->setMaximum(humanPlayer->getMyCash());
|
||||
changeSpinBoxBetValue(horizontalSlider_bet->value());
|
||||
|
||||
myActionIsRaise = 1;
|
||||
@@ -1487,10 +1501,10 @@ void gameTableImpl::provideMyActions(int mode) {
|
||||
else if(pushButton_BetRaise->text().startsWith(BetString)) {
|
||||
|
||||
horizontalSlider_bet->setMinimum(currentHand->getSmallBlind()*2);
|
||||
horizontalSlider_bet->setMaximum(currentHand->getSeatsList()->front()->getMyCash());
|
||||
horizontalSlider_bet->setMaximum(humanPlayer->getMyCash());
|
||||
horizontalSlider_bet->setSingleStep(10);
|
||||
spinBox_betValue->setMinimum(currentHand->getSmallBlind()*2);
|
||||
spinBox_betValue->setMaximum(currentHand->getSeatsList()->front()->getMyCash());
|
||||
spinBox_betValue->setMaximum(humanPlayer->getMyCash());
|
||||
changeSpinBoxBetValue(horizontalSlider_bet->value());
|
||||
|
||||
myActionIsBet = 1;
|
||||
@@ -1610,7 +1624,7 @@ void gameTableImpl::stopTimeoutAnimation(int playerId) {
|
||||
|
||||
void gameTableImpl::disableMyButtons() {
|
||||
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
boost::shared_ptr<PlayerInterface> humanPlayer = myStartWindow->getSession()->getCurrentGame()->getCurrentHand()->getSeatsList()->front();
|
||||
|
||||
clearMyButtons();
|
||||
|
||||
@@ -1618,9 +1632,9 @@ void gameTableImpl::disableMyButtons() {
|
||||
horizontalSlider_bet->setDisabled(TRUE);
|
||||
spinBox_betValue->setDisabled(TRUE);
|
||||
horizontalSlider_bet->setMinimum(0);
|
||||
horizontalSlider_bet->setMaximum(currentHand->getSeatsList()->front()->getMyCash());
|
||||
horizontalSlider_bet->setMaximum(humanPlayer->getMyCash());
|
||||
spinBox_betValue->setMinimum(0);
|
||||
spinBox_betValue->setMaximum(currentHand->getSeatsList()->front()->getMyCash());
|
||||
spinBox_betValue->setMaximum(humanPlayer->getMyCash());
|
||||
spinBox_betValue->clear();
|
||||
horizontalSlider_bet->setValue(0);
|
||||
|
||||
@@ -1642,8 +1656,9 @@ void gameTableImpl::myFold(){
|
||||
if(pushButton_Fold->text() == FoldString) {
|
||||
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
currentHand->getSeatsList()->front()->setMyAction(1);
|
||||
currentHand->getSeatsList()->front()->setMyTurn(0);
|
||||
boost::shared_ptr<PlayerInterface> humanPlayer = currentHand->getSeatsList()->front();
|
||||
humanPlayer->setMyAction(1);
|
||||
humanPlayer->setMyTurn(0);
|
||||
|
||||
//set that i was the last active player. need this for unhighlighting groupbox
|
||||
currentHand->setLastPlayersTurn(0);
|
||||
@@ -1656,10 +1671,11 @@ void gameTableImpl::myFold(){
|
||||
}
|
||||
|
||||
void gameTableImpl::myCheck() {
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
|
||||
currentHand->getSeatsList()->front()->setMyTurn(0);
|
||||
currentHand->getSeatsList()->front()->setMyAction(2);
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
boost::shared_ptr<PlayerInterface> humanPlayer = currentHand->getSeatsList()->front();
|
||||
humanPlayer->setMyTurn(0);
|
||||
humanPlayer->setMyAction(2);
|
||||
|
||||
//set that i was the last active player. need this for unhighlighting groupbox
|
||||
currentHand->setLastPlayersTurn(0);
|
||||
@@ -1671,17 +1687,19 @@ void gameTableImpl::myCheck() {
|
||||
}
|
||||
|
||||
int gameTableImpl::getMyCallAmount() {
|
||||
int tempHighestSet = 0;
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
|
||||
int tempHighestSet = 0;
|
||||
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
boost::shared_ptr<PlayerInterface> humanPlayer = currentHand->getSeatsList()->front();
|
||||
tempHighestSet = currentHand->getCurrentBeRo()->getHighestSet();
|
||||
|
||||
if (currentHand->getSeatsList()->front()->getMyCash()+currentHand->getSeatsList()->front()->getMySet() <= tempHighestSet) {
|
||||
if (humanPlayer->getMyCash() + humanPlayer->getMySet() <= tempHighestSet) {
|
||||
|
||||
return currentHand->getSeatsList()->front()->getMyCash();
|
||||
return humanPlayer->getMyCash();
|
||||
}
|
||||
else {
|
||||
return tempHighestSet - currentHand->getSeatsList()->front()->getMySet();
|
||||
return tempHighestSet - humanPlayer->getMySet();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1694,14 +1712,15 @@ int gameTableImpl::getBetRaisePushButtonValue() {
|
||||
int gameTableImpl::getMyBetAmount() {
|
||||
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
boost::shared_ptr<PlayerInterface> humanPlayer = currentHand->getSeatsList()->front();
|
||||
|
||||
int betValue = getBetRaisePushButtonValue();
|
||||
int minimum;
|
||||
|
||||
minimum = currentHand->getCurrentBeRo()->getHighestSet() - currentHand->getSeatsList()->front()->getMySet() + currentHand->getCurrentBeRo()->getMinimumRaise();
|
||||
minimum = currentHand->getCurrentBeRo()->getHighestSet() - humanPlayer->getMySet() + currentHand->getCurrentBeRo()->getMinimumRaise();
|
||||
|
||||
if(betValue < minimum) {
|
||||
return min(minimum,currentHand->getSeatsList()->front()->getMyCash());
|
||||
return min(minimum,humanPlayer->getMyCash());
|
||||
}
|
||||
else {
|
||||
return betValue;
|
||||
@@ -1712,20 +1731,21 @@ void gameTableImpl::myCall(){
|
||||
|
||||
int tempHighestSet = 0;
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
boost::shared_ptr<PlayerInterface> humanPlayer = currentHand->getSeatsList()->front();
|
||||
|
||||
tempHighestSet = currentHand->getCurrentBeRo()->getHighestSet();
|
||||
|
||||
if (currentHand->getSeatsList()->front()->getMyCash()+currentHand->getSeatsList()->front()->getMySet() <= tempHighestSet) {
|
||||
if (humanPlayer->getMyCash() + humanPlayer->getMySet() <= tempHighestSet) {
|
||||
|
||||
currentHand->getSeatsList()->front()->setMySet(currentHand->getSeatsList()->front()->getMyCash());
|
||||
currentHand->getSeatsList()->front()->setMyCash(0);
|
||||
currentHand->getSeatsList()->front()->setMyAction(6);
|
||||
humanPlayer->setMySet(humanPlayer->getMyCash());
|
||||
humanPlayer->setMyCash(0);
|
||||
humanPlayer->setMyAction(6);
|
||||
}
|
||||
else {
|
||||
currentHand->getSeatsList()->front()->setMySet(tempHighestSet - currentHand->getSeatsList()->front()->getMySet());
|
||||
currentHand->getSeatsList()->front()->setMyAction(3);
|
||||
humanPlayer->setMySet(tempHighestSet - humanPlayer->getMySet());
|
||||
humanPlayer->setMyAction(3);
|
||||
}
|
||||
currentHand->getSeatsList()->front()->setMyTurn(0);
|
||||
humanPlayer->setMyTurn(0);
|
||||
|
||||
currentHand->getBoard()->collectSets();
|
||||
refreshPot();
|
||||
@@ -1744,46 +1764,48 @@ void gameTableImpl::mySet(){
|
||||
if(pushButton_BetRaise->text() != "") {
|
||||
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
int tempCash = currentHand->getSeatsList()->front()->getMyCash();
|
||||
boost::shared_ptr<PlayerInterface> humanPlayer = currentHand->getSeatsList()->front();
|
||||
|
||||
int tempCash = humanPlayer->getMyCash();
|
||||
|
||||
// cout << "Set-Value " << getBetRaisePushButtonValue() << endl;
|
||||
currentHand->getSeatsList()->front()->setMySet(getBetRaisePushButtonValue());
|
||||
humanPlayer->setMySet(getBetRaisePushButtonValue());
|
||||
|
||||
if (getBetRaisePushButtonValue() >= tempCash ) {
|
||||
|
||||
currentHand->getSeatsList()->front()->setMySet(currentHand->getSeatsList()->front()->getMyCash());
|
||||
currentHand->getSeatsList()->front()->setMyCash(0);
|
||||
currentHand->getSeatsList()->front()->setMyAction(6);
|
||||
humanPlayer->setMySet(humanPlayer->getMyCash());
|
||||
humanPlayer->setMyCash(0);
|
||||
humanPlayer->setMyAction(6);
|
||||
|
||||
// full bet rule
|
||||
if(currentHand->getCurrentBeRo()->getHighestSet() + currentHand->getCurrentBeRo()->getMinimumRaise() > currentHand->getSeatsList()->front()->getMySet()) {
|
||||
if(currentHand->getCurrentBeRo()->getHighestSet() + currentHand->getCurrentBeRo()->getMinimumRaise() > humanPlayer->getMySet()) {
|
||||
currentHand->getCurrentBeRo()->setFullBetRule(true);
|
||||
}
|
||||
}
|
||||
|
||||
if(myActionIsRaise) {
|
||||
//do not if allIn
|
||||
if(currentHand->getSeatsList()->front()->getMyAction() != 6) {
|
||||
currentHand->getSeatsList()->front()->setMyAction(5);
|
||||
if(humanPlayer->getMyAction() != 6) {
|
||||
humanPlayer->setMyAction(5);
|
||||
}
|
||||
myActionIsRaise = 0;
|
||||
|
||||
currentHand->getCurrentBeRo()->setMinimumRaise(currentHand->getSeatsList()->front()->getMySet() - currentHand->getCurrentBeRo()->getHighestSet());
|
||||
currentHand->getCurrentBeRo()->setMinimumRaise(humanPlayer->getMySet() - currentHand->getCurrentBeRo()->getHighestSet());
|
||||
}
|
||||
|
||||
if(myActionIsBet) {
|
||||
//do not if allIn
|
||||
if(currentHand->getSeatsList()->front()->getMyAction() != 6) {
|
||||
currentHand->getSeatsList()->front()->setMyAction(4);
|
||||
if(humanPlayer->getMyAction() != 6) {
|
||||
humanPlayer->setMyAction(4);
|
||||
}
|
||||
myActionIsBet = 0;
|
||||
|
||||
currentHand->getCurrentBeRo()->setMinimumRaise(currentHand->getSeatsList()->front()->getMySet());
|
||||
currentHand->getCurrentBeRo()->setMinimumRaise(humanPlayer->getMySet());
|
||||
}
|
||||
|
||||
currentHand->getCurrentBeRo()->setHighestSet(currentHand->getSeatsList()->front()->getMySet());
|
||||
currentHand->getCurrentBeRo()->setHighestSet(humanPlayer->getMySet());
|
||||
|
||||
currentHand->getSeatsList()->front()->setMyTurn(0);
|
||||
humanPlayer->setMyTurn(0);
|
||||
|
||||
currentHand->getBoard()->collectSets();
|
||||
refreshPot();
|
||||
@@ -1794,7 +1816,7 @@ void gameTableImpl::mySet(){
|
||||
currentHand->setLastPlayersTurn(0);
|
||||
|
||||
// lastPlayerAction für Karten umblättern reihenfolge setzrn
|
||||
currentHand->setLastActionPlayer(currentHand->getSeatsList()->front()->getMyUniqueID());
|
||||
currentHand->setLastActionPlayer(humanPlayer->getMyUniqueID());
|
||||
|
||||
//Spiel läuft weiter
|
||||
myActionDone();
|
||||
@@ -1806,27 +1828,28 @@ void gameTableImpl::myAllIn(){
|
||||
if(pushButton_AllIn->text() == AllInString) {
|
||||
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
boost::shared_ptr<PlayerInterface> humanPlayer = currentHand->getSeatsList()->front();
|
||||
|
||||
currentHand->getSeatsList()->front()->setMySet(currentHand->getSeatsList()->front()->getMyCash());
|
||||
currentHand->getSeatsList()->front()->setMyCash(0);
|
||||
currentHand->getSeatsList()->front()->setMyAction(6);
|
||||
humanPlayer->setMySet(humanPlayer->getMyCash());
|
||||
humanPlayer->setMyCash(0);
|
||||
humanPlayer->setMyAction(6);
|
||||
|
||||
// full bet rule
|
||||
if(currentHand->getCurrentBeRo()->getHighestSet() + currentHand->getCurrentBeRo()->getMinimumRaise() > currentHand->getSeatsList()->front()->getMySet()) {
|
||||
if(currentHand->getCurrentBeRo()->getHighestSet() + currentHand->getCurrentBeRo()->getMinimumRaise() > humanPlayer->getMySet()) {
|
||||
currentHand->getCurrentBeRo()->setFullBetRule(true);
|
||||
}
|
||||
|
||||
if(currentHand->getSeatsList()->front()->getMySet() > currentHand->getCurrentBeRo()->getHighestSet()) {
|
||||
currentHand->getCurrentBeRo()->setMinimumRaise(currentHand->getSeatsList()->front()->getMySet() - currentHand->getCurrentBeRo()->getHighestSet());
|
||||
if(humanPlayer->getMySet() > currentHand->getCurrentBeRo()->getHighestSet()) {
|
||||
currentHand->getCurrentBeRo()->setMinimumRaise(humanPlayer->getMySet() - currentHand->getCurrentBeRo()->getHighestSet());
|
||||
|
||||
currentHand->getCurrentBeRo()->setHighestSet(currentHand->getSeatsList()->front()->getMySet());
|
||||
currentHand->getCurrentBeRo()->setHighestSet(humanPlayer->getMySet());
|
||||
|
||||
// lastPlayerAction für Karten umblättern reihenfolge setzrn
|
||||
currentHand->setLastActionPlayer(currentHand->getSeatsList()->front()->getMyUniqueID());
|
||||
currentHand->setLastActionPlayer(humanPlayer->getMyUniqueID());
|
||||
|
||||
}
|
||||
|
||||
currentHand->getSeatsList()->front()->setMyTurn(0);
|
||||
humanPlayer->setMyTurn(0);
|
||||
|
||||
currentHand->getBoard()->collectSets();
|
||||
refreshPot();
|
||||
@@ -1973,7 +1996,8 @@ void gameTableImpl::nextPlayerAnimation() {
|
||||
refreshSet();
|
||||
|
||||
PlayerListConstIterator it_c;
|
||||
for(it_c=currentHand->getSeatsList()->begin(); it_c!=currentHand->getSeatsList()->end(); it_c++) {
|
||||
PlayerList seatsList = currentHand->getSeatsList();
|
||||
for (it_c=seatsList->begin(); it_c!=seatsList->end(); it_c++) {
|
||||
if((*it_c)->getMyID() == currentHand->getLastPlayersTurn()) break;
|
||||
}
|
||||
|
||||
@@ -2051,7 +2075,8 @@ void gameTableImpl::postRiverRunAnimation2() {
|
||||
|
||||
int nonfoldPlayersCounter = 0;
|
||||
PlayerListConstIterator it_c;
|
||||
for (it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||
PlayerList activePlayerList = currentHand->getActivePlayerList();
|
||||
for (it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); it_c++) {
|
||||
if ((*it_c)->getMyAction() != PLAYER_ACTION_FOLD)
|
||||
nonfoldPlayersCounter++;
|
||||
}
|
||||
@@ -2060,7 +2085,7 @@ void gameTableImpl::postRiverRunAnimation2() {
|
||||
|
||||
if(!flipHolecardsAllInAlreadyDone) {
|
||||
|
||||
for (it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||
for (it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); it_c++) {
|
||||
if((*it_c)->getMyAction() != PLAYER_ACTION_FOLD && (*it_c)->checkIfINeedToShowCards()) {
|
||||
|
||||
showHoleCards((*it_c)->getMyUniqueID());
|
||||
@@ -2076,7 +2101,7 @@ void gameTableImpl::postRiverRunAnimation2() {
|
||||
flipHolecardsAllInAlreadyDone = TRUE;
|
||||
}
|
||||
else {
|
||||
for (it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||
for (it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); it_c++) {
|
||||
if((*it_c)->getMyAction() != PLAYER_ACTION_FOLD) {
|
||||
//set Player value (logging) for all in already shown cards
|
||||
(*it_c)->setMyCardsFlip(1,3);
|
||||
@@ -2088,8 +2113,8 @@ void gameTableImpl::postRiverRunAnimation2() {
|
||||
else {
|
||||
|
||||
//display show! button if human player is active and the latest non foldedone
|
||||
PlayerListIterator it = myStartWindow->getSession()->getCurrentGame()->getSeatsList()->begin();
|
||||
if( internetOrNetworkGame && (*it)->getMyActiveStatus() && (*it)->getMyAction() != PLAYER_ACTION_FOLD) {
|
||||
boost::shared_ptr<PlayerInterface> humanPlayer = myStartWindow->getSession()->getCurrentGame()->getCurrentHand()->getSeatsList()->front();
|
||||
if( internetOrNetworkGame && humanPlayer->getMyActiveStatus() && humanPlayer->getMyAction() != PLAYER_ACTION_FOLD) {
|
||||
|
||||
showShowMyCardsButton();
|
||||
}
|
||||
@@ -2106,7 +2131,8 @@ void gameTableImpl::postRiverRunAnimation3() {
|
||||
int nonfoldPlayerCounter = 0;
|
||||
PlayerListConstIterator it_c;
|
||||
|
||||
for(it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||
PlayerList activePlayerList = currentHand->getActivePlayerList();
|
||||
for(it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); it_c++) {
|
||||
if((*it_c)->getMyAction() != PLAYER_ACTION_FOLD) {
|
||||
nonfoldPlayerCounter++;
|
||||
}
|
||||
@@ -2114,7 +2140,7 @@ void gameTableImpl::postRiverRunAnimation3() {
|
||||
|
||||
list<unsigned> winners = currentHand->getBoard()->getWinners();
|
||||
|
||||
for(it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||
for(it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); it_c++) {
|
||||
if((*it_c)->getMyAction() != PLAYER_ACTION_FOLD && (*it_c)->getMyCardsValueInt() == currentHand->getCurrentBeRo()->getHighestCardsValue() ) {
|
||||
|
||||
//Show "Winner" label
|
||||
@@ -2185,7 +2211,7 @@ void gameTableImpl::postRiverRunAnimation3() {
|
||||
}
|
||||
else {
|
||||
|
||||
if( currentHand->getActivePlayerList()->size() != 1 && (*it_c)->getMyAction() != PLAYER_ACTION_FOLD && myConfig->readConfigInt("ShowFadeOutCardsAnimation")
|
||||
if( activePlayerList->size() != 1 && (*it_c)->getMyAction() != PLAYER_ACTION_FOLD && myConfig->readConfigInt("ShowFadeOutCardsAnimation")
|
||||
) {
|
||||
|
||||
//aufgedeckte Gegner auch ausblenden
|
||||
@@ -2197,7 +2223,7 @@ void gameTableImpl::postRiverRunAnimation3() {
|
||||
|
||||
// log side pot winners -> TODO
|
||||
list<unsigned>::iterator it_int;
|
||||
for(it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||
for(it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); it_c++) {
|
||||
if((*it_c)->getMyAction() != PLAYER_ACTION_FOLD && (*it_c)->getMyCardsValueInt() != currentHand->getCurrentBeRo()->getHighestCardsValue() ) {
|
||||
|
||||
for(it_int = winners.begin(); it_int != winners.end(); it_int++) {
|
||||
@@ -2210,7 +2236,7 @@ void gameTableImpl::postRiverRunAnimation3() {
|
||||
}
|
||||
}
|
||||
|
||||
for(it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||
for(it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); it_c++) {
|
||||
if((*it_c)->getMyCash() == 0) {
|
||||
currentHand->getGuiInterface()->logPlayerSitsOut((*it_c)->getMyName());
|
||||
}
|
||||
@@ -2230,7 +2256,7 @@ void gameTableImpl::postRiverRunAnimation4() {
|
||||
void gameTableImpl::postRiverRunAnimation5() {
|
||||
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
|
||||
PlayerList activePlayerList = currentHand->getActivePlayerList();
|
||||
PlayerListConstIterator it_c;
|
||||
|
||||
if (distributePotAnimCounter<10) {
|
||||
@@ -2239,7 +2265,8 @@ void gameTableImpl::postRiverRunAnimation5() {
|
||||
|
||||
label_Pot->setText("");
|
||||
|
||||
for(it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||
for(it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); it_c++) {
|
||||
|
||||
if((*it_c)->getMyAction() != PLAYER_ACTION_FOLD && (*it_c)->getMyCardsValueInt() == currentHand->getCurrentBeRo()->getHighestCardsValue() ) {
|
||||
|
||||
playerNameLabelArray[(*it_c)->getMyID()]->hide();
|
||||
@@ -2249,7 +2276,8 @@ void gameTableImpl::postRiverRunAnimation5() {
|
||||
else {
|
||||
label_Pot->setText(PotString);
|
||||
|
||||
for(it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||
for(it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); it_c++) {
|
||||
|
||||
if((*it_c)->getMyAction() != PLAYER_ACTION_FOLD && (*it_c)->getMyCardsValueInt() == currentHand->getCurrentBeRo()->getHighestCardsValue() ) {
|
||||
|
||||
playerNameLabelArray[(*it_c)->getMyID()]->show();
|
||||
@@ -2287,14 +2315,15 @@ void gameTableImpl::postRiverRunAnimation6() {
|
||||
int playersPositiveCashCounter = 0;
|
||||
|
||||
PlayerListConstIterator it_c;
|
||||
for (it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||
PlayerList activePlayerList = currentHand->getActivePlayerList();
|
||||
for (it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); it_c++) {
|
||||
|
||||
if ((*it_c)->getMyCash() > 0) playersPositiveCashCounter++;
|
||||
}
|
||||
|
||||
if (playersPositiveCashCounter==1) {
|
||||
|
||||
for (it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||
for (it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); it_c++) {
|
||||
|
||||
if ((*it_c)->getMyCash() > 0) {
|
||||
currentHand->getGuiInterface()->logPlayerWinGame((*it_c)->getMyName(), myStartWindow->getSession()->getCurrentGame()->getMyGameID());
|
||||
@@ -2332,7 +2361,9 @@ void gameTableImpl::showHoleCards(unsigned playerId, bool allIn)
|
||||
int showFlipcardAnimation = myConfig->readConfigInt("ShowFlipCardsAnimation");
|
||||
int j;
|
||||
PlayerListConstIterator it_c;
|
||||
for (it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||
PlayerList activePlayerList = currentHand->getActivePlayerList();
|
||||
for (it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); it_c++) {
|
||||
|
||||
if((*it_c)->getMyUniqueID() == playerId) {
|
||||
|
||||
(*it_c)->getMyCards(tempCardsIntArray);
|
||||
@@ -2365,12 +2396,13 @@ void gameTableImpl::flipHolecardsAllIn() {
|
||||
//Aktive Spieler zählen --> wenn nur noch einer nicht-folded dann keine Karten umdrehen
|
||||
int nonfoldPlayersCounter = 0;
|
||||
PlayerListConstIterator it_c;
|
||||
for (it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||
PlayerList activePlayerList = currentHand->getActivePlayerList();
|
||||
for (it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); it_c++) {
|
||||
if ((*it_c)->getMyAction() != PLAYER_ACTION_FOLD) nonfoldPlayersCounter++;
|
||||
}
|
||||
|
||||
if(nonfoldPlayersCounter!=1) {
|
||||
for (it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||
for (it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); it_c++) {
|
||||
if((*it_c)->getMyAction() != PLAYER_ACTION_FOLD) {
|
||||
|
||||
showHoleCards((*it_c)->getMyUniqueID());
|
||||
@@ -3075,10 +3107,11 @@ void gameTableImpl::leaveCurrentNetworkGame() {
|
||||
void gameTableImpl::triggerVoteOnKick(int id) {
|
||||
|
||||
assert(myStartWindow->getSession()->getCurrentGame());
|
||||
int playerCount = static_cast<int>(myStartWindow->getSession()->getCurrentGame()->getSeatsList()->size());
|
||||
PlayerList seatList = myStartWindow->getSession()->getCurrentGame()->getSeatsList();
|
||||
int playerCount = static_cast<int>(seatList->size());
|
||||
if (id < playerCount)
|
||||
{
|
||||
PlayerListIterator pos = myStartWindow->getSession()->getCurrentGame()->getSeatsList()->begin();
|
||||
PlayerListIterator pos = seatList->begin();
|
||||
advance(pos, id);
|
||||
myStartWindow->getSession()->startVoteKickPlayer((*pos)->getMyUniqueID());
|
||||
}
|
||||
@@ -3194,11 +3227,12 @@ void gameTableImpl::refreshCardsChance(GameState bero)
|
||||
|
||||
if(myConfig->readConfigInt("ShowCardsChanceMonitor")) {
|
||||
|
||||
if((*myStartWindow->getSession()->getCurrentGame()->getSeatsList()->begin())->getMyActiveStatus() && (*myStartWindow->getSession()->getCurrentGame()->getSeatsList()->begin())->getMyAction() != PLAYER_ACTION_FOLD) {
|
||||
boost::shared_ptr<PlayerInterface> humanPlayer = myStartWindow->getSession()->getCurrentGame()->getSeatsList()->front();
|
||||
if(humanPlayer->getMyActiveStatus() && humanPlayer->getMyAction() != PLAYER_ACTION_FOLD) {
|
||||
int boardCards[5];
|
||||
int holeCards[2];
|
||||
|
||||
(*myStartWindow->getSession()->getCurrentGame()->getSeatsList()->begin())->getMyCards(holeCards);
|
||||
humanPlayer->getMyCards(holeCards);
|
||||
myStartWindow->getSession()->getCurrentGame()->getCurrentHand()->getBoard()->getMyCards(boardCards);
|
||||
|
||||
label_chance->refreshChance(myCardsValue->calcCardsChance(bero, holeCards, boardCards));
|
||||
|
||||
@@ -203,6 +203,8 @@ void guiLog::logNewGameHandMsg(int gameID, int handID) {
|
||||
PlayerListConstIterator it_c;
|
||||
boost::shared_ptr<HandInterface> currentHand = myW->getSession()->getCurrentGame()->getCurrentHand();
|
||||
|
||||
PlayerList activePlayerList = currentHand->getActivePlayerList();
|
||||
|
||||
myW->textBrowser_Log->append("<span style=\"color:#"+myStyle->getChatLogTextColor()+"; font-size:large; font-weight:bold\">## Game: "+QString::number(gameID,10)+" | Hand: "+QString::number(handID,10)+" ##</span>");
|
||||
|
||||
if(myConfig->readConfigInt("LogOnOff")) {
|
||||
@@ -214,7 +216,7 @@ void guiLog::logNewGameHandMsg(int gameID, int handID) {
|
||||
logFileStreamString += "BLIND LEVEL: $"+QString::number(currentHand->getSmallBlind())+" / $"+QString::number(currentHand->getSmallBlind()*2)+"</br>";
|
||||
|
||||
//print cash only for active players
|
||||
for(it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||
for(it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); it_c++) {
|
||||
|
||||
logFileStreamString += "Seat " + QString::number((*it_c)->getMyID()+1,10) + ": <b>" + QString::fromUtf8((*it_c)->getMyName().c_str()) + "</b> ($" + QString::number((*it_c)->getMyCash()+(*it_c)->getMySet(),10)+")</br>";
|
||||
|
||||
@@ -246,7 +248,8 @@ void guiLog::logNewGameHandMsg(int gameID, int handID) {
|
||||
sql += "," + boost::lexical_cast<string>(myW->getSession()->getCurrentGame()->getStartCash());
|
||||
sql += "," + boost::lexical_cast<string>(myW->getSession()->getCurrentGame()->getStartSmallBlind());
|
||||
sql += "," + boost::lexical_cast<string>(myW->getSession()->getCurrentGame()->getDealerPosition());
|
||||
for(it_c = currentHand->getSeatsList()->begin();it_c!=currentHand->getSeatsList()->end();it_c++) {
|
||||
PlayerList seatList = currentHand->getSeatsList();
|
||||
for(it_c = seatList->begin();it_c!=seatList->end();it_c++) {
|
||||
if((*it_c)->getMyActiveStatus()) {
|
||||
sql += ",\"" + (*it_c)->getMyName() +"\"";
|
||||
} else {
|
||||
@@ -392,8 +395,11 @@ void guiLog::logNewBlindsSetsMsg(int sbSet, int bbSet, QString sbName, QString b
|
||||
|
||||
PlayerListConstIterator it_c;
|
||||
boost::shared_ptr<HandInterface> currentHand = myW->getSession()->getCurrentGame()->getCurrentHand();
|
||||
for(it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||
if(currentHand->getActivePlayerList()->size() > 2) {
|
||||
PlayerList activePlayerList = currentHand->getActivePlayerList();
|
||||
|
||||
for(it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); it_c++) {
|
||||
|
||||
if(activePlayerList->size() > 2) {
|
||||
if((*it_c)->getMyButton() == BUTTON_DEALER) {
|
||||
|
||||
logFileStreamString += "</br>" + QString::fromUtf8((*it_c)->getMyName().c_str()) + " starts as dealer.";
|
||||
@@ -1539,9 +1545,11 @@ QString guiLog::determineHandName(int myCardsValueInt) {
|
||||
bool equal = false;
|
||||
boost::shared_ptr<HandInterface> currentHand = myW->getSession()->getCurrentGame()->getCurrentHand();
|
||||
PlayerListConstIterator it_c;
|
||||
PlayerList activePlayerList = currentHand->getActivePlayerList();
|
||||
|
||||
// collect cardsValueInt of all players who will show their cards
|
||||
for(it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||
for(it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); it_c++) {
|
||||
|
||||
if( (*it_c)->getMyAction() != PLAYER_ACTION_FOLD) {
|
||||
shownCardsValueInt.push_back( (*it_c)->getMyCardsValueInt());
|
||||
}
|
||||
|
||||
@@ -48,15 +48,15 @@ void MyAvatarLabel::contextMenuEvent ( QContextMenuEvent *event ) {
|
||||
assert(myW->getSession()->getCurrentGame());
|
||||
if (myW->getSession()->isNetworkClientRunning()) {
|
||||
|
||||
PlayerListIterator it = myW->getSession()->getCurrentGame()->getSeatsList()->begin();
|
||||
boost::shared_ptr<PlayerInterface> humanPlayer = myW->getSession()->getCurrentGame()->getSeatsList()->front();
|
||||
//only active players are allowed to start a vote
|
||||
if((*it)->getMyActiveStatus()) {
|
||||
if(humanPlayer->getMyActiveStatus()) {
|
||||
|
||||
Game *currentGame = myW->getSession()->getCurrentGame();
|
||||
PlayerListConstIterator it_c;
|
||||
int activePlayerCounter=0;
|
||||
|
||||
for (it_c=currentGame->getSeatsList()->begin(); it_c!=currentGame->getSeatsList()->end(); it_c++) {
|
||||
PlayerList seatList = currentGame->getSeatsList();
|
||||
for (it_c=seatList->begin(); it_c!=seatList->end(); it_c++) {
|
||||
if((*it_c)->getMyActiveStatus()) activePlayerCounter++;
|
||||
}
|
||||
GameInfo info(myW->getSession()->getClientGameInfo(myW->getSession()->getClientCurrentGameId()));
|
||||
@@ -71,7 +71,7 @@ void MyAvatarLabel::contextMenuEvent ( QContextMenuEvent *event ) {
|
||||
action_IgnorePlayer->setEnabled(true);
|
||||
|
||||
int j=0;
|
||||
for (it_c=currentGame->getSeatsList()->begin(); it_c!=currentGame->getSeatsList()->end(); it_c++) {
|
||||
for (it_c=seatList->begin(); it_c!=seatList->end(); it_c++) {
|
||||
|
||||
if(myId == j) {
|
||||
|
||||
@@ -90,7 +90,7 @@ void MyAvatarLabel::contextMenuEvent ( QContextMenuEvent *event ) {
|
||||
}
|
||||
|
||||
int i=0;
|
||||
for (it_c=currentGame->getSeatsList()->begin(); it_c!=currentGame->getSeatsList()->end(); it_c++) {
|
||||
for (it_c=seatList->begin(); it_c!=seatList->end(); it_c++) {
|
||||
|
||||
//also inactive player which stays on table can be voted to kick
|
||||
if(myContextMenuEnabled && myId != 0 && myId == i && (*it_c)->getMyType() != PLAYER_TYPE_COMPUTER && ( (*it_c)->getMyActiveStatus() || (*it_c)->getMyStayOnTableStatus() ) )
|
||||
@@ -182,8 +182,8 @@ void MyAvatarLabel::putPlayerOnIgnoreList() {
|
||||
|
||||
QStringList list;
|
||||
PlayerListConstIterator it_c;
|
||||
|
||||
for (it_c=myW->getSession()->getCurrentGame()->getSeatsList()->begin(); it_c!=myW->getSession()->getCurrentGame()->getSeatsList()->end(); it_c++) {
|
||||
PlayerList seatList = myW->getSession()->getCurrentGame()->getSeatsList();
|
||||
for (it_c=seatList->begin(); it_c!=seatList->end(); it_c++) {
|
||||
list << QString::fromUtf8((*it_c)->getMyName().c_str());
|
||||
}
|
||||
|
||||
@@ -207,7 +207,8 @@ void MyAvatarLabel::reportBadAvatar() {
|
||||
Game *currentGame = myW->getSession()->getCurrentGame();
|
||||
int j=0;
|
||||
PlayerListConstIterator it_c;
|
||||
for (it_c=currentGame->getSeatsList()->begin(); it_c!=currentGame->getSeatsList()->end(); it_c++) {
|
||||
PlayerList seatList = currentGame->getSeatsList();
|
||||
for (it_c=seatList->begin(); it_c!=seatList->end(); it_c++) {
|
||||
|
||||
if(myId == j) {
|
||||
|
||||
|
||||
@@ -981,8 +981,9 @@ QStringList startWindowImpl::getPlayerNicksList() {
|
||||
|
||||
QStringList list;
|
||||
PlayerListConstIterator it_c;
|
||||
PlayerList seatList = mySession->getCurrentGame()->getSeatsList();
|
||||
for (it_c=seatList->begin(); it_c!=seatList->end(); it_c++) {
|
||||
|
||||
for (it_c=mySession->getCurrentGame()->getSeatsList()->begin(); it_c!=mySession->getCurrentGame()->getSeatsList()->end(); it_c++) {
|
||||
list << QString::fromUtf8((*it_c)->getMyName().c_str());
|
||||
}
|
||||
|
||||
|
||||
+474
-419
File diff suppressed because it is too large
Load Diff
+471
-411
File diff suppressed because it is too large
Load Diff
+466
-411
File diff suppressed because it is too large
Load Diff
+466
-411
File diff suppressed because it is too large
Load Diff
+119
-5
@@ -268,6 +268,14 @@ Kontaktujte, prosím, výrobce stylu herního stolu na "%4".</translat
|
||||
<source>You will no longer receive chat messages or game invitations from this user.<br>Do you really want to put player <b>%1</b> on ignore list?</source>
|
||||
<translation>Od tohoto uživatele již nebudete přijímat žádné zprávy, ani pozvánky do her.<br>Opravdu chcete přidat hráče <b>%1</b> na seznam ignorovaných?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Report inappropriate avatar</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Are you sure you want to report the avatar of "%1" as inappropriate?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ServerListDialog</name>
|
||||
@@ -587,7 +595,7 @@ 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;"> - basic architecture, network development, windows package, MacOS package</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> Oskar Lindqvist (<a href="mailto:tranberry@pokerth.net"><span style=" text-decoration: underline; color:#0000ff;">tranberry@pokerth.net</span></a>)</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - initial gui graphics design</p></td></tr></table></body></html></source>
|
||||
<translation><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<translation type="obsolete"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<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:8pt; font-weight:400; font-style:normal;">
|
||||
@@ -619,7 +627,7 @@ p, li { white-space: pre-wrap; }
|
||||
<tr>
|
||||
<td style="border: none;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">translator name - mail address</p></td></tr></table></body></html></source>
|
||||
<translation><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<translation type="obsolete"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<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:8pt; font-weight:400; font-style:normal;">
|
||||
@@ -654,7 +662,7 @@ 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;"> - for startwindow background gfx and danuxi1 table background</p>
|
||||
<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;">heyn</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - for moderating forum and organise bugtracker and feature requests</p></td></tr></table></body></html></source>
|
||||
<translation><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<translation type="obsolete"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<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:8pt; font-weight:400; font-style:normal;">
|
||||
@@ -680,6 +688,70 @@ 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;">heyn</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - za moderování fóra a organizaci bugtrackeru a seznamu požadovaných vlastností</p></td></tr></table></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<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:8pt; font-weight:400; font-style:normal;">
|
||||
<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;">
|
||||
<tr>
|
||||
<td style="border: 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-weight:600;">Project page: </span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> <a href="http://www.pokerth.net"><span style=" text-decoration: underline; color:#0000ff;">http://www.pokerth.net</span></a></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
||||
<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;">IRC: </span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> #pokerth (irc.freenode.net)</p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
||||
<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;">Authors: </span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> Felix Hammer (<a href="mailto:doitux@pokerth.net"><span style=" text-decoration: underline; color:#0000ff;">doitux@pokerth.net</span></a>)</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - initial idea, basic architecture, gui implementation, gui graphics editing, linux package</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> Florian Thauer (<a href="mailto:floty@pokerth.net"><span style=" text-decoration: underline; color:#0000ff;">floty@pokerth.net</span></a>)</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - initial idea, basic architecture, engine development</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> Lothar May (<a href="mailto:lotodore@pokerth.net"><span style=" text-decoration: underline; color:#0000ff;">lotodore@pokerth.net</span></a>)</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - basic architecture, network development, windows package, MacOS package</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> Oskar Lindqvist (<a href="mailto:tranberry@pokerth.net"><span style=" text-decoration: underline; color:#0000ff;">tranberry@pokerth.net</span></a>)</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - initial gui graphics design</p></td></tr></table></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<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:8pt; font-weight:400; font-style:normal;">
|
||||
<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;">
|
||||
<tr>
|
||||
<td style="border: none;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">translator name - mail address</p></td></tr></table></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<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:8pt; font-weight:400; font-style:normal;">
|
||||
<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;">
|
||||
<tr>
|
||||
<td style="border: none;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://commons.wikimedia.org/wiki/Main_Page"><span style=" font-weight:600; text-decoration: underline; color:#0000ff;">Wikimedia Commons</span></a></p>
|
||||
<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;"> - </span>for different popular avatar picture resources</p>
|
||||
<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;">Benedikt, Erhard, Felix, Florian, Linus, Lothar, Steffi, Caro</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - for people avatar pictures</p>
|
||||
<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;">ZeiZei</span> </p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - for &quot;misc&quot; avatar pictures</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://kde-look.org/"><span style=" font-weight:600; text-decoration: underline; color:#0000ff;">http://kde-look.org/</span></a></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - for different gpl licensed sounds</p>
|
||||
<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;">doc_dos</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - for self recorded chip sounds</p>
|
||||
<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;">thiger, dunkanx, BerndA, coldz</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - for different patches</p>
|
||||
<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;">kraut</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - for internet-game-server hosting and administration</p>
|
||||
<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;">danuxi</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - for startwindow background gfx and danuxi1 table background</p>
|
||||
<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;">heyn</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - for moderating forum and organise bugtracker and feature requests</p></td></tr></table></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>aboutPokerthImpl</name>
|
||||
@@ -807,7 +879,7 @@ Zvolte si jinou.</translation>
|
||||
<message>
|
||||
<source>There is already a game with your choosen game name.
|
||||
Please choose another one!</source>
|
||||
<translation>Hra se stejným názvem již existuje.
|
||||
<translation type="obsolete">Hra se stejným názvem již existuje.
|
||||
Zvolte, prosím, jiný název!</translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -817,9 +889,19 @@ Zvolte, prosím, jiný název!</translation>
|
||||
<message>
|
||||
<source>There is a forbidden word in your choosen game name.
|
||||
Please choose another one!</source>
|
||||
<translation>Součástí názvu hry je zakázané slovo.
|
||||
<translation type="obsolete">Součástí názvu hry je zakázané slovo.
|
||||
Vyberte, prosím, jiný.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>There is already a game with your chosen game name.
|
||||
Please choose another one!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>There is a forbidden word in your chosen game name.
|
||||
Please choose another one!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>changeHumanPlayerNameDialog</name>
|
||||
@@ -1728,6 +1810,14 @@ Budete-li takto zdržovat ještě %1-krát, budete ze hry vyhozeni!
|
||||
|
||||
Pokud chcete ve hře zůstat, ale potřebujete si odskočit, využijte funkci "Pryč" z panelu napravo.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Really want to exit?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PokerTH - Close Table?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>internetGameLoginDialog</name>
|
||||
@@ -2656,6 +2746,10 @@ p, li { white-space: pre-wrap; }
|
||||
<source>Log File</source>
|
||||
<translation>Soubor záznamu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Show country flag in the corner of avatar</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>settingsDialogImpl</name>
|
||||
@@ -3358,6 +3452,26 @@ Prosím, zkontrolujte své uživatelské jméno a heslo.</translation>
|
||||
<source>The settings are invalid for this type of game.</source>
|
||||
<translation>Nastavení jsou pro tento typ hry neplatná.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>You cannot join this game, because another player in that game has your network address.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Your connection to the server is very slow, the game had to start without you.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The avatar report was accepted by the server. Thank you.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This avatar was already reported by another player.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>An error occurred while reporting the avatar.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>timeoutMsgBoxImpl</name>
|
||||
|
||||
+536
-407
File diff suppressed because it is too large
Load Diff
+474
-419
File diff suppressed because it is too large
Load Diff
+536
-407
File diff suppressed because it is too large
Load Diff
+474
-419
File diff suppressed because it is too large
Load Diff
+536
-407
File diff suppressed because it is too large
Load Diff
+474
-419
File diff suppressed because it is too large
Load Diff
+556
-412
File diff suppressed because it is too large
Load Diff
+533
-468
File diff suppressed because it is too large
Load Diff
+536
-407
File diff suppressed because it is too large
Load Diff
+536
-407
File diff suppressed because it is too large
Load Diff
+466
-411
File diff suppressed because one or more lines are too long
+474
-419
File diff suppressed because it is too large
Load Diff
+136
-20
File diff suppressed because one or more lines are too long
+536
-407
File diff suppressed because it is too large
Load Diff
+491
-436
File diff suppressed because it is too large
Load Diff
+472
-407
File diff suppressed because it is too large
Load Diff
+474
-419
File diff suppressed because it is too large
Load Diff
+466
-411
File diff suppressed because it is too large
Load Diff
+466
-411
File diff suppressed because it is too large
Load Diff
+495
-440
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user