Linefeeds.
This commit is contained in:
@@ -77,22 +77,22 @@ public:
|
||||
void setMyTurn(bool theValue){ myTurn = theValue;}
|
||||
bool getMyTurn() const{ return myTurn;}
|
||||
|
||||
void setMyCardsFlip(bool theValue, int state){
|
||||
myCardsFlip = theValue;
|
||||
// log flipping cards
|
||||
if(myCardsFlip) {
|
||||
switch(state) {
|
||||
case 1: actualHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myCards[0], myCards[1], myCardsValueInt);
|
||||
break;
|
||||
case 2: actualHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myCards[0], myCards[1]);
|
||||
break;
|
||||
case 3: actualHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myCards[0], myCards[1], myCardsValueInt, "has");
|
||||
break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
bool getMyCardsFlip() const{ return myCardsFlip;}
|
||||
void setMyCardsFlip(bool theValue, int state){
|
||||
myCardsFlip = theValue;
|
||||
// log flipping cards
|
||||
if(myCardsFlip) {
|
||||
switch(state) {
|
||||
case 1: actualHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myCards[0], myCards[1], myCardsValueInt);
|
||||
break;
|
||||
case 2: actualHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myCards[0], myCards[1]);
|
||||
break;
|
||||
case 3: actualHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myCards[0], myCards[1], myCardsValueInt, "has");
|
||||
break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
bool getMyCardsFlip() const{ return myCardsFlip;}
|
||||
|
||||
void setMyCardsValueInt(int theValue) { myCardsValueInt = theValue;}
|
||||
int getMyCardsValueInt() const { return myCardsValueInt; }
|
||||
@@ -126,11 +126,11 @@ public:
|
||||
void setSBluffStatus ( bool theValue ) { sBluffStatus = theValue; }
|
||||
bool getSBluffStatus() const { return sBluffStatus; }
|
||||
|
||||
void setMyWinnerState ( bool theValue, int pot ) {
|
||||
myWinnerState = theValue;
|
||||
if(theValue) actualHand->getGuiInterface()->logPlayerWinsMsg(myID, pot);
|
||||
}
|
||||
bool getMyWinnerState() const { return myWinnerState;}
|
||||
void setMyWinnerState ( bool theValue, int pot ) {
|
||||
myWinnerState = theValue;
|
||||
if(theValue) actualHand->getGuiInterface()->logPlayerWinsMsg(myID, pot);
|
||||
}
|
||||
bool getMyWinnerState() const { return myWinnerState;}
|
||||
|
||||
void action();
|
||||
|
||||
|
||||
@@ -611,14 +611,14 @@ ClientStateRunHand::InternalProcess(ClientThread &client, boost::shared_ptr<NetP
|
||||
tmpPlayer->setMyButton(BUTTON_BIG_BLIND);
|
||||
else // no blind -> log
|
||||
{
|
||||
if (actionDoneData.playerAction)
|
||||
{
|
||||
assert(actionDoneData.totalPlayerBet >= (unsigned)tmpPlayer->getMySet());
|
||||
client.GetGui().logPlayerActionMsg(
|
||||
tmpPlayer->getMyName(),
|
||||
actionDoneData.playerAction,
|
||||
actionDoneData.totalPlayerBet - tmpPlayer->getMySet());
|
||||
}
|
||||
if (actionDoneData.playerAction)
|
||||
{
|
||||
assert(actionDoneData.totalPlayerBet >= (unsigned)tmpPlayer->getMySet());
|
||||
client.GetGui().logPlayerActionMsg(
|
||||
tmpPlayer->getMyName(),
|
||||
actionDoneData.playerAction,
|
||||
actionDoneData.totalPlayerBet - tmpPlayer->getMySet());
|
||||
}
|
||||
}
|
||||
|
||||
tmpPlayer->setMyAction(actionDoneData.playerAction);
|
||||
|
||||
Reference in New Issue
Block a user