Fixed some compiler warnings. Added error if game is running.

This commit is contained in:
lotodore
2007-09-03 18:05:39 +00:00
parent ecab6ed86b
commit 23d9bb71c3
8 changed files with 25 additions and 28 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
//
#include "clientbero.h"
ClientBeRo::ClientBeRo(HandInterface* hi, int id, int qP, int dP, int sB, GameState gS)
ClientBeRo::ClientBeRo(HandInterface* hi, int /*id*/, int /*qP*/, int dP, int sB, GameState gS)
: BeRoInterface(), myHand(hi), highestCardsValue(0), myBeRoID(gS), smallBlindPosition(0), smallBlind(sB), highestSet(0), firstRound(1), playersTurn(dP), minimumRaise(0)
{
}
+5 -5
View File
@@ -165,7 +165,7 @@ ClientPlayer::getMyLastRelativeSet() const
}
void
ClientPlayer::setMyAction(int theValue, bool blind)
ClientPlayer::setMyAction(int theValue, bool /*blind*/)
{
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
myAction = theValue;
@@ -421,20 +421,20 @@ ClientPlayer::riverEngine()
void
ClientPlayer::evaluation(int bet, int raise)
ClientPlayer::evaluation(int /*bet*/, int /*raise*/)
{
}
int
ClientPlayer::preflopCardsValue(int* cards)
ClientPlayer::preflopCardsValue(int* /*cards*/)
{
return 0;
}
int
ClientPlayer::flopCardsValue(int* cards)
ClientPlayer::flopCardsValue(int* /*cards*/)
{
return 0;
}
@@ -446,7 +446,7 @@ ClientPlayer::readFile()
}
int
ClientPlayer::turnCardsValue(int* cards)
ClientPlayer::turnCardsValue(int* /*cards*/)
{
return 0;
}