Trying to bring life to the server.

This commit is contained in:
lotodore
2007-05-14 12:40:42 +00:00
parent 7540ea17bd
commit 2d894c6a2c
16 changed files with 279 additions and 102 deletions
+66
View File
@@ -19,6 +19,7 @@
#include "genericservergui.h"
#include <session.h>
#include <game.h>
using namespace std;
@@ -53,3 +54,68 @@ void GenericServerGui::waitForNetworkAction(GameState state, unsigned uniquePlay
getSession().waitForNetworkServerAction(state, uniquePlayerId);
}
void GenericServerGui::dealHoleCards()
{
}
void GenericServerGui::dealFlopCards()
{
}
void GenericServerGui::dealTurnCard()
{
}
void GenericServerGui::dealRiverCard()
{
}
void GenericServerGui::nextPlayerAnimation()
{
}
void GenericServerGui::preflopAnimation1()
{
}
void GenericServerGui::preflopAnimation2()
{
}
void GenericServerGui::flopAnimation1()
{
}
void GenericServerGui::flopAnimation2()
{
}
void GenericServerGui::turnAnimation1()
{
}
void GenericServerGui::turnAnimation2()
{
}
void GenericServerGui::riverAnimation1()
{
}
void GenericServerGui::riverAnimation2()
{
}
void GenericServerGui::postRiverAnimation1()
{
}
void GenericServerGui::postRiverRunAnimation1()
{
}
void GenericServerGui::flipHolecardsAllIn()
{
}
+24
View File
@@ -39,6 +39,30 @@ public:
void waitForNetworkAction(GameState state, unsigned uniquePlayerId);
void dealHoleCards();
void dealFlopCards();
void dealTurnCard();
void dealRiverCard();
void nextPlayerAnimation();
void preflopAnimation1();
void preflopAnimation2();
void flopAnimation1();
void flopAnimation2();
void turnAnimation1();
void turnAnimation2();
void riverAnimation1();
void riverAnimation2();
void postRiverAnimation1();
void postRiverRunAnimation1();
void flipHolecardsAllIn();
private:
boost::shared_ptr<Session> mySession;
+18 -18
View File
@@ -74,36 +74,36 @@ void ServerGuiWrapper::refreshPot() const {}
void ServerGuiWrapper::refreshGroupbox(int playerID, int status) const {}
void ServerGuiWrapper::refreshPlayerName() const {}
void ServerGuiWrapper::dealHoleCards() const {}
void ServerGuiWrapper::dealFlopCards() const {}
void ServerGuiWrapper::dealTurnCard() const {}
void ServerGuiWrapper::dealRiverCard() const {}
void ServerGuiWrapper::dealHoleCards() { myGui->dealHoleCards(); }
void ServerGuiWrapper::dealFlopCards() { myGui->dealFlopCards(); }
void ServerGuiWrapper::dealTurnCard() { myGui->dealTurnCard(); }
void ServerGuiWrapper::dealRiverCard() { myGui->dealRiverCard(); }
void ServerGuiWrapper::highlightRoundLabel(string round) const {}
void ServerGuiWrapper::nextPlayerAnimation() const {}
void ServerGuiWrapper::nextPlayerAnimation() { myGui->nextPlayerAnimation(); }
void ServerGuiWrapper::preflopAnimation1() const {}
void ServerGuiWrapper::preflopAnimation2() const {}
void ServerGuiWrapper::preflopAnimation1() { myGui->preflopAnimation1(); }
void ServerGuiWrapper::preflopAnimation2() { myGui->preflopAnimation2(); }
void ServerGuiWrapper::flopAnimation1() const {}
void ServerGuiWrapper::flopAnimation2() const {}
void ServerGuiWrapper::flopAnimation1() { myGui->flopAnimation1(); }
void ServerGuiWrapper::flopAnimation2() { myGui->flopAnimation2(); }
void ServerGuiWrapper::turnAnimation1() const {}
void ServerGuiWrapper::turnAnimation2() const {}
void ServerGuiWrapper::turnAnimation1() { myGui->turnAnimation1(); }
void ServerGuiWrapper::turnAnimation2() { myGui->turnAnimation2(); }
void ServerGuiWrapper::riverAnimation1() const {}
void ServerGuiWrapper::riverAnimation2() const {}
void ServerGuiWrapper::riverAnimation1() { myGui->riverAnimation1(); }
void ServerGuiWrapper::riverAnimation2() { myGui->riverAnimation2(); }
void ServerGuiWrapper::postRiverAnimation1() const {}
void ServerGuiWrapper::postRiverRunAnimation1() const {}
void ServerGuiWrapper::postRiverAnimation1() { myGui->postRiverAnimation1(); }
void ServerGuiWrapper::postRiverRunAnimation1() { myGui->postRiverRunAnimation1(); }
void ServerGuiWrapper::flipHolecardsAllIn() const {}
void ServerGuiWrapper::flipHolecardsAllIn() { myGui->flipHolecardsAllIn(); }
void ServerGuiWrapper::nextRoundCleanGui() const {}
void ServerGuiWrapper::nextRoundCleanGui() {}
void ServerGuiWrapper::meInAction() const {}
void ServerGuiWrapper::meInAction() {}
void ServerGuiWrapper::logPlayerActionMsg(string playerName, int action, int setValue) {}
void ServerGuiWrapper::logNewGameHandMsg(int gameID, int handID) {}
+18 -18
View File
@@ -47,35 +47,35 @@ public:
void refreshAll() const;
void refreshPlayerName() const;
void dealHoleCards() const;
void dealFlopCards() const;
void dealTurnCard() const;
void dealRiverCard() const;
void dealHoleCards();
void dealFlopCards();
void dealTurnCard();
void dealRiverCard();
void highlightRoundLabel(std::string round) const;
void nextPlayerAnimation() const;
void nextPlayerAnimation();
void preflopAnimation1() const;
void preflopAnimation2() const;
void preflopAnimation1();
void preflopAnimation2();
void flopAnimation1() const;
void flopAnimation2() const;
void flopAnimation1();
void flopAnimation2();
void turnAnimation1() const;
void turnAnimation2() const;
void turnAnimation1();
void turnAnimation2();
void riverAnimation1() const;
void riverAnimation2() const;
void riverAnimation1();
void riverAnimation2();
void postRiverAnimation1() const;
void postRiverRunAnimation1() const;
void postRiverAnimation1();
void postRiverRunAnimation1();
void flipHolecardsAllIn() const;
void flipHolecardsAllIn();
void nextRoundCleanGui() const;
void nextRoundCleanGui();
void meInAction() const;
void meInAction();
void logPlayerActionMsg(std::string playerName, int action, int setValue) ;
void logNewGameHandMsg(int gameID, int handID) ;