sqlite-log: logging hole cards
This commit is contained in:
@@ -631,6 +631,7 @@ void LocalHand::switchRounds()
|
||||
|
||||
myBoard->getMyCards(tempBoardCardsArray);
|
||||
myGui->logDealBoardCardsMsg(currentRound, tempBoardCardsArray[0], tempBoardCardsArray[1], tempBoardCardsArray[2], tempBoardCardsArray[3], tempBoardCardsArray[4]);
|
||||
myLog->logBoardCards(currentRound+1, tempBoardCardsArray);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -155,12 +155,15 @@ public:
|
||||
switch(state) {
|
||||
case 1:
|
||||
currentHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myCards[0], myCards[1], myCardsValueInt);
|
||||
currentHand->getLog()->logHoleCardsHandName(myID+1,myCards,myCardsValueInt,currentHand->getActivePlayerList());
|
||||
break;
|
||||
case 2:
|
||||
currentHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myCards[0], myCards[1]);
|
||||
currentHand->getLog()->logHoleCards(currentHand->getCurrentRound()+1,myID+1,myCards);
|
||||
break;
|
||||
case 3:
|
||||
currentHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myCards[0], myCards[1], myCardsValueInt, "has");
|
||||
currentHand->getLog()->logHandName(myID+1,myCardsValueInt,currentHand->getActivePlayerList());
|
||||
break;
|
||||
default:
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user