cleanup game logging; delete old code and disused defines

This commit is contained in:
floty committed 2014-04-04 18:51:26 +02:00
1 parent 316f2f43c3
commit e4d358f97a
13 files changed
+394 -741

No files matched your search

+2 -3
View File
@@ -77,7 +77,7 @@ LocalHand::LocalHand(boost::shared_ptr<EngineFactory> f, GuiInterface *g, boost:
for(i=0; i<5; i++) tempBoardArray[i] = cardsArray[i];
// debug mode
if(myLog) myLog->debugMode_getBoardCards(tempBoardArray,myID);
if(myLog) myLog->debugMode_getBoardCards(tempBoardArray,myID);
// prepare whole player hand
for(i=0; i<5; i++) tempPlayerAndBoardArray[i+2] = tempBoardArray[i];
@@ -92,7 +92,7 @@ LocalHand::LocalHand(boost::shared_ptr<EngineFactory> f, GuiInterface *g, boost:
for(j=0; j<2; j++) tempPlayerArray[j] = cardsArray[2*k+j+5];
// debug mode
if(myLog) myLog->debugMode_getPlayerCards(tempPlayerArray,myID,k);
if(myLog) myLog->debugMode_getPlayerCards(tempPlayerArray,myID,k);
// complete whole player hand
for(j=0; j<2; j++) tempPlayerAndBoardArray[j] = tempPlayerArray[j];
@@ -144,7 +144,6 @@ void LocalHand::start()
} else {
LOG_ERROR(__FILE__ << " (" << __LINE__ << "): Log Error: cannot find sBID or bBID");
}
myGui->flushLogAtHand();
// deal cards
myGui->dealHoleCards();