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