changing parameter in some log-functions; run astyle
This commit is contained in:
+11
-5
@@ -37,11 +37,12 @@ public:
|
||||
void init();
|
||||
void logNewGameMsg(int gameID, int startCash, int startSmallBlind, unsigned dealerPosition, PlayerList seatsList);
|
||||
void logNewHandMsg(int handID, unsigned dealerPosition, int smallBlind, unsigned smallBlindPosition, int bigBlind, unsigned bigBlindPosition, PlayerList seatsList);
|
||||
void logPlayerAction(GameState bero, int seat, PlayerActionLog action, int amount = 0);
|
||||
void logPlayerAction(std::string playerName, PlayerActionLog action, int amount = 0);
|
||||
void logPlayerAction(int seat, PlayerActionLog action, int amount = 0);
|
||||
PlayerActionLog transformPlayerActionLog(PlayerAction action);
|
||||
void logBoardCards(GameState bero, int boardCards[5]);
|
||||
void logHoleCardsHandName(GameState bero, PlayerList activePlayerList);
|
||||
void logHoleCardsHandName(GameState bero, PlayerList activePlayerList, boost::shared_ptr<PlayerInterface> player, bool forceExecLog = 0);
|
||||
void logBoardCards(int boardCards[5]);
|
||||
void logHoleCardsHandName(PlayerList activePlayerList);
|
||||
void logHoleCardsHandName(PlayerList activePlayerList, boost::shared_ptr<PlayerInterface> player, bool forceExecLog = 0);
|
||||
void logHandWinner(PlayerList activePlayerList, int highestCardsValue, std::list<unsigned> winners);
|
||||
void logGameWinner(PlayerList activePlayerList);
|
||||
void logPlayerSitsOut(PlayerList activePlayerList);
|
||||
@@ -49,6 +50,10 @@ public:
|
||||
void logAfterGame();
|
||||
// void closeLogDbAtExit();
|
||||
|
||||
void setCurrentRound(GameState theValue) {
|
||||
currentRound = theValue;
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
|
||||
@@ -58,7 +63,8 @@ private:
|
||||
sqlite3 *mySqliteLogDb;
|
||||
ConfigFile *myConfig;
|
||||
int uniqueGameID;
|
||||
int curHandID;
|
||||
int currentHandID;
|
||||
GameState currentRound;
|
||||
std::string sql;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user