session boost_ptr refactoring
This commit is contained in:
@@ -151,7 +151,7 @@ void Log::logPlayerActionMsg(QString msg, int action, int setValue) {
|
||||
void Log::logNewGameHandMsg(int gameID, int handID) {
|
||||
|
||||
PlayerListConstIterator it_c;
|
||||
HandInterface *currentHand = myW->getSession().getCurrentGame()->getCurrentHand();
|
||||
HandInterface *currentHand = myW->getSession()->getCurrentGame()->getCurrentHand();
|
||||
|
||||
myW->textBrowser_Log->append("<span style=\"font-size:large; font-weight:bold\">## Game: "+QString::number(gameID,10)+" | Hand: "+QString::number(handID,10)+" ##</span>");
|
||||
|
||||
@@ -183,7 +183,7 @@ void Log::logNewBlindsSetsMsg(int sbSet, int bbSet, QString sbName, QString bbNa
|
||||
myW->textBrowser_Log->append("<span>"+bbName+" posts big blind ($"+QString::number(bbSet,10)+")</span>");
|
||||
|
||||
PlayerListConstIterator it_c;
|
||||
HandInterface *currentHand = myW->getSession().getCurrentGame()->getCurrentHand();
|
||||
HandInterface *currentHand = myW->getSession()->getCurrentGame()->getCurrentHand();
|
||||
for(it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||
if(currentHand->getActivePlayerList()->size() > 2) {
|
||||
if((*it_c)->getMyButton() == BUTTON_DEALER) {
|
||||
@@ -1237,7 +1237,7 @@ QString Log::determineHandName(int myCardsValueInt) {
|
||||
list<int> sameHandCardsValueInt;
|
||||
bool different = false;
|
||||
bool equal = false;
|
||||
HandInterface *currentHand = myW->getSession().getCurrentGame()->getCurrentHand();
|
||||
HandInterface *currentHand = myW->getSession()->getCurrentGame()->getCurrentHand();
|
||||
PlayerListConstIterator it_c;
|
||||
|
||||
// collect cardsValueInt of all players who will show their cards
|
||||
|
||||
Reference in New Issue
Block a user