logging playerAction in engine now

This commit is contained in:
doitux
2007-05-26 12:40:45 +00:00
parent c5e34fe186
commit 9c2d3a9723
5 changed files with 47 additions and 24 deletions
+2 -1
View File
@@ -25,7 +25,7 @@
using namespace std;
LocalHand::LocalHand(boost::shared_ptr<EngineFactory> f, GuiInterface *g, BoardInterface *b, PlayerInterface **p, int id, int sP, int aP, int dP, int sB,int sC)
: HandInterface(), myFactory(f), myGui(g), myBoard(b), playerArray(p), myPreflop(0), myFlop(0), myTurn(0), myRiver(0), myID(id), actualQuantityPlayers(aP), startQuantityPlayers(sP), dealerPosition(dP), actualRound(0), smallBlind(sB), startCash(sC), allInCondition(0), bettingRoundsPlayed(0)
: HandInterface(), myFactory(f), myGui(g), myBoard(b), playerArray(p), myPreflop(0), myFlop(0), myTurn(0), myRiver(0), myID(id), actualQuantityPlayers(aP), startQuantityPlayers(sP), dealerPosition(dP), actualRound(0), smallBlind(sB), startCash(sC), lastPlayersTurn(0), allInCondition(0), bettingRoundsPlayed(0)
{
int i, j, k;
@@ -272,6 +272,7 @@ void LocalHand::assignButtons() {
void LocalHand::switchRounds() {
int i;
// cout <<" ------- HandID: " << myID << " | actualround: " << actualRound << " ---------" << endl;