ingame chat is disbaled for guest, ignore context menu ingame
This commit is contained in:
@@ -51,393 +51,397 @@ class CardDeckStyleReader;
|
||||
class SDLPlayer;
|
||||
|
||||
class gameTableImpl: public QMainWindow, public Ui::gameTable {
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
gameTableImpl(ConfigFile *c = 0, QMainWindow *parent = 0);
|
||||
gameTableImpl(ConfigFile *c = 0, QMainWindow *parent = 0);
|
||||
|
||||
~gameTableImpl();
|
||||
~gameTableImpl();
|
||||
|
||||
boost::shared_ptr<Session> getSession();
|
||||
void setStartWindow(startWindowImpl* s) { myStartWindow = s; }
|
||||
boost::shared_ptr<Session> getSession();
|
||||
SDLPlayer* getMySDLPlayer() const { return mySDLPlayer; }
|
||||
ChatTools* getMyChat() const { return myChat; }
|
||||
ConfigFile* getMyConfig() const { return myConfig; }
|
||||
GameTableStyleReader* getMyGameTableStyle() const { return myGameTableStyle; }
|
||||
bool getGuestMode() const { return guestMode; }
|
||||
|
||||
void setLog(Log* l) { myLog = l; }
|
||||
|
||||
SDLPlayer* getMySDLPlayer() const { return mySDLPlayer; }
|
||||
ChatTools* getMyChat() const { return myChat; }
|
||||
void setStartWindow(startWindowImpl* s) { myStartWindow = s; }
|
||||
void setLog(Log* l) { myLog = l; }
|
||||
|
||||
GameTableStyleReader* getMyGameTableStyle() const { return myGameTableStyle; }
|
||||
|
||||
void setSpeeds();
|
||||
void setSpeeds();
|
||||
|
||||
signals:
|
||||
void signalInitGui(int speed);
|
||||
void signalInitGui(int speed);
|
||||
|
||||
void signalShowClientDialog();
|
||||
void signalShowClientDialog();
|
||||
|
||||
void signalRefreshSet();
|
||||
void signalRefreshCash();
|
||||
void signalRefreshAction(int =-1, int=-1);
|
||||
void signalRefreshChangePlayer();
|
||||
void signalRefreshPot();
|
||||
void signalRefreshGroupbox(int =-1, int =-1);
|
||||
void signalRefreshAll();
|
||||
void signalRefreshPlayerName();
|
||||
void signalRefreshButton();
|
||||
void signalRefreshGameLabels(int);
|
||||
void signalRefreshSet();
|
||||
void signalRefreshCash();
|
||||
void signalRefreshAction(int =-1, int=-1);
|
||||
void signalRefreshChangePlayer();
|
||||
void signalRefreshPot();
|
||||
void signalRefreshGroupbox(int =-1, int =-1);
|
||||
void signalRefreshAll();
|
||||
void signalRefreshPlayerName();
|
||||
void signalRefreshButton();
|
||||
void signalRefreshGameLabels(int);
|
||||
|
||||
void signalSetPlayerAvatar(int, QString);
|
||||
void signalGuiUpdateDone();
|
||||
void signalSetPlayerAvatar(int, QString);
|
||||
void signalGuiUpdateDone();
|
||||
|
||||
void signalMeInAction();
|
||||
void signalUpdateMyButtonsState();
|
||||
void signalDisableMyButtons();
|
||||
void signalStartTimeoutAnimation(int playerId, int timeoutSec);
|
||||
void signalStopTimeoutAnimation(int playerId);
|
||||
void signalMeInAction();
|
||||
void signalUpdateMyButtonsState();
|
||||
void signalDisableMyButtons();
|
||||
void signalStartTimeoutAnimation(int playerId, int timeoutSec);
|
||||
void signalStopTimeoutAnimation(int playerId);
|
||||
|
||||
void signalDealBeRoCards(int myBeRoID);
|
||||
void signalDealBeRoCards(int myBeRoID);
|
||||
|
||||
void signalDealHoleCards();
|
||||
void signalDealFlopCards0();
|
||||
void signalDealTurnCards0();
|
||||
void signalDealRiverCards0();
|
||||
void signalDealHoleCards();
|
||||
void signalDealFlopCards0();
|
||||
void signalDealTurnCards0();
|
||||
void signalDealRiverCards0();
|
||||
|
||||
void signalNextPlayerAnimation();
|
||||
void signalNextPlayerAnimation();
|
||||
|
||||
void signalBeRoAnimation2(int);
|
||||
void signalBeRoAnimation2(int);
|
||||
|
||||
void signalPreflopAnimation1();
|
||||
void signalPreflopAnimation2();
|
||||
void signalFlopAnimation1();
|
||||
void signalFlopAnimation2();
|
||||
void signalTurnAnimation1();
|
||||
void signalTurnAnimation2();
|
||||
void signalRiverAnimation1();
|
||||
void signalRiverAnimation2();
|
||||
void signalPostRiverAnimation1();
|
||||
void signalPostRiverRunAnimation1();
|
||||
void signalPreflopAnimation1();
|
||||
void signalPreflopAnimation2();
|
||||
void signalFlopAnimation1();
|
||||
void signalFlopAnimation2();
|
||||
void signalTurnAnimation1();
|
||||
void signalTurnAnimation2();
|
||||
void signalRiverAnimation1();
|
||||
void signalRiverAnimation2();
|
||||
void signalPostRiverAnimation1();
|
||||
void signalPostRiverRunAnimation1();
|
||||
|
||||
void signalFlipHolecardsAllIn();
|
||||
void signalFlipHolecardsAllIn();
|
||||
|
||||
void signalNextRoundCleanGui();
|
||||
|
||||
void signalStartVoteOnKick(unsigned playerId, unsigned voteStarterPlayerId, int timeoutSec, int numVotesNeededToKick);
|
||||
void signalChangeVoteOnKickButtonsState(bool showHide);
|
||||
void signalEndVoteOnKick();
|
||||
void signalNextRoundCleanGui();
|
||||
|
||||
void signalNetClientPlayerLeft(unsigned playerId);
|
||||
void signalStartVoteOnKick(unsigned playerId, unsigned voteStarterPlayerId, int timeoutSec, int numVotesNeededToKick);
|
||||
void signalChangeVoteOnKickButtonsState(bool showHide);
|
||||
void signalEndVoteOnKick();
|
||||
|
||||
void signalNetClientPlayerLeft(unsigned playerId);
|
||||
|
||||
public slots:
|
||||
|
||||
void initGui(int speed);
|
||||
void initGui(int speed);
|
||||
|
||||
//refresh-Funktionen
|
||||
void refreshSet();
|
||||
void refreshCash();
|
||||
void refreshAction(int =-1, int=-1);
|
||||
void refreshChangePlayer();
|
||||
void refreshPot();
|
||||
void refreshGroupbox(int =-1, int =-1);
|
||||
void refreshAll();
|
||||
void refreshPlayerName();
|
||||
void refreshGameLabels(int);
|
||||
void refreshButton();
|
||||
void refreshPlayerAvatar();
|
||||
void refreshActionButtonFKeyIndicator(bool =0);
|
||||
void setPlayerAvatar(int myID, QString myAvatar);
|
||||
//refresh-Funktionen
|
||||
void refreshSet();
|
||||
void refreshCash();
|
||||
void refreshAction(int =-1, int=-1);
|
||||
void refreshChangePlayer();
|
||||
void refreshPot();
|
||||
void refreshGroupbox(int =-1, int =-1);
|
||||
void refreshAll();
|
||||
void refreshPlayerName();
|
||||
void refreshGameLabels(int);
|
||||
void refreshButton();
|
||||
void refreshPlayerAvatar();
|
||||
void refreshActionButtonFKeyIndicator(bool =0);
|
||||
void setPlayerAvatar(int myID, QString myAvatar);
|
||||
|
||||
void guiUpdateDone();
|
||||
void waitForGuiUpdateDone();
|
||||
void guiUpdateDone();
|
||||
void waitForGuiUpdateDone();
|
||||
|
||||
// Karten-Funktionen
|
||||
void dealHoleCards();
|
||||
// Karten-Funktionen
|
||||
void dealHoleCards();
|
||||
|
||||
//Spieler-Funktionen
|
||||
void provideMyActions(int mode = -1); //mode 0 == called from dealberocards
|
||||
void meInAction();
|
||||
void disableMyButtons();
|
||||
void startTimeoutAnimation(int playerId, int timoutSec);
|
||||
void stopTimeoutAnimation(int playerId);
|
||||
//Spieler-Funktionen
|
||||
void provideMyActions(int mode = -1); //mode 0 == called from dealberocards
|
||||
void meInAction();
|
||||
void disableMyButtons();
|
||||
void startTimeoutAnimation(int playerId, int timoutSec);
|
||||
void stopTimeoutAnimation(int playerId);
|
||||
|
||||
void setGameSpeed(const int theValue) { guiGameSpeed = theValue; setSpeeds(); } // Achtung Faktor 10!!!
|
||||
void setGameSpeed(const int theValue) { guiGameSpeed = theValue; setSpeeds(); } // Achtung Faktor 10!!!
|
||||
|
||||
void callSettingsDialog();
|
||||
void applySettings(settingsDialogImpl*);
|
||||
void callSettingsDialog();
|
||||
void applySettings(settingsDialogImpl*);
|
||||
|
||||
void pushButtonBetRaiseClicked(bool checked);
|
||||
void pushButtonCallCheckClicked(bool checked);
|
||||
void pushButtonFoldClicked(bool checked);
|
||||
void pushButtonAllInClicked(bool checked);
|
||||
void pushButtonBetRaiseClicked(bool checked);
|
||||
void pushButtonCallCheckClicked(bool checked);
|
||||
void pushButtonFoldClicked(bool checked);
|
||||
void pushButtonAllInClicked(bool checked);
|
||||
|
||||
void myCallCheck();
|
||||
void myCallCheck();
|
||||
|
||||
void myFold();
|
||||
void myCheck();
|
||||
int getMyCallAmount();
|
||||
int getBetRaisePushButtonValue();
|
||||
int getMyBetAmount();
|
||||
void myCall();
|
||||
void mySet();
|
||||
void myAllIn();
|
||||
void myFold();
|
||||
void myCheck();
|
||||
int getMyCallAmount();
|
||||
int getBetRaisePushButtonValue();
|
||||
int getMyBetAmount();
|
||||
void myCall();
|
||||
void mySet();
|
||||
void myAllIn();
|
||||
|
||||
void myActionDone();
|
||||
void myActionDone();
|
||||
|
||||
void dealBeRoCards(int);
|
||||
void dealBeRoCards(int);
|
||||
|
||||
void dealFlopCards0();
|
||||
void dealFlopCards1();
|
||||
void dealFlopCards2();
|
||||
void dealFlopCards3();
|
||||
void dealFlopCards4();
|
||||
void dealFlopCards5();
|
||||
void dealFlopCards6();
|
||||
void dealFlopCards0();
|
||||
void dealFlopCards1();
|
||||
void dealFlopCards2();
|
||||
void dealFlopCards3();
|
||||
void dealFlopCards4();
|
||||
void dealFlopCards5();
|
||||
void dealFlopCards6();
|
||||
|
||||
void dealTurnCards0();
|
||||
void dealTurnCards1();
|
||||
void dealTurnCards2();
|
||||
void dealTurnCards0();
|
||||
void dealTurnCards1();
|
||||
void dealTurnCards2();
|
||||
|
||||
void dealRiverCards0();
|
||||
void dealRiverCards1();
|
||||
void dealRiverCards2();
|
||||
void dealRiverCards0();
|
||||
void dealRiverCards1();
|
||||
void dealRiverCards2();
|
||||
|
||||
void nextPlayerAnimation();
|
||||
void nextPlayerAnimation();
|
||||
|
||||
void beRoAnimation2(int);
|
||||
void beRoAnimation2(int);
|
||||
|
||||
void preflopAnimation1();
|
||||
void preflopAnimation1Action();
|
||||
void preflopAnimation2();
|
||||
void preflopAnimation2Action();
|
||||
void preflopAnimation1();
|
||||
void preflopAnimation1Action();
|
||||
void preflopAnimation2();
|
||||
void preflopAnimation2Action();
|
||||
|
||||
void flopAnimation1();
|
||||
void flopAnimation1Action();
|
||||
void flopAnimation2();
|
||||
void flopAnimation2Action();
|
||||
void flopAnimation1();
|
||||
void flopAnimation1Action();
|
||||
void flopAnimation2();
|
||||
void flopAnimation2Action();
|
||||
|
||||
void turnAnimation1();
|
||||
void turnAnimation1Action();
|
||||
void turnAnimation2();
|
||||
void turnAnimation2Action();
|
||||
void turnAnimation1();
|
||||
void turnAnimation1Action();
|
||||
void turnAnimation2();
|
||||
void turnAnimation2Action();
|
||||
|
||||
void riverAnimation1();
|
||||
void riverAnimation1Action();
|
||||
void riverAnimation2();
|
||||
void riverAnimation2Action();
|
||||
void riverAnimation1();
|
||||
void riverAnimation1Action();
|
||||
void riverAnimation2();
|
||||
void riverAnimation2Action();
|
||||
|
||||
void postRiverAnimation1();
|
||||
void postRiverAnimation1Action();
|
||||
void postRiverAnimation1();
|
||||
void postRiverAnimation1Action();
|
||||
|
||||
void postRiverRunAnimation1();
|
||||
void postRiverRunAnimation2();
|
||||
void postRiverRunAnimation2_flipHoleCards1();
|
||||
void postRiverRunAnimation2_flipHoleCards2();
|
||||
void postRiverRunAnimation3();
|
||||
void postRiverRunAnimation4();
|
||||
void postRiverRunAnimation5();
|
||||
void postRiverRunAnimation6();
|
||||
void postRiverRunAnimation1();
|
||||
void postRiverRunAnimation2();
|
||||
void postRiverRunAnimation2_flipHoleCards1();
|
||||
void postRiverRunAnimation2_flipHoleCards2();
|
||||
void postRiverRunAnimation3();
|
||||
void postRiverRunAnimation4();
|
||||
void postRiverRunAnimation5();
|
||||
void postRiverRunAnimation6();
|
||||
|
||||
void refreshCardsChance(GameState);
|
||||
void refreshCardsChance(GameState);
|
||||
|
||||
void blinkingStartButtonAnimationAction();
|
||||
void blinkingStartButtonAnimationAction();
|
||||
|
||||
void flipHolecardsAllIn();
|
||||
void showMyCards();
|
||||
void triggerVoteOnKick(int id);
|
||||
void flipHolecardsAllIn();
|
||||
void showMyCards();
|
||||
void triggerVoteOnKick(int id);
|
||||
|
||||
void handSwitchRounds();
|
||||
void handSwitchRounds();
|
||||
|
||||
void startNewHand();
|
||||
void startNewHand();
|
||||
|
||||
void stopTimer();
|
||||
|
||||
void nextRoundCleanGui();
|
||||
|
||||
void breakButtonClicked();
|
||||
void stopTimer();
|
||||
|
||||
void keyPressEvent ( QKeyEvent*);
|
||||
bool eventFilter(QObject *obj, QEvent *event);
|
||||
void nextRoundCleanGui();
|
||||
|
||||
void switchChatWindow();
|
||||
void switchHelpWindow();
|
||||
void switchLogWindow();
|
||||
void switchAwayWindow();
|
||||
void switchChanceWindow();
|
||||
void switchFullscreen();
|
||||
void breakButtonClicked();
|
||||
|
||||
void sendChatMessage();
|
||||
void checkChatInputLength(QString);
|
||||
void tabSwitchAction();
|
||||
void keyPressEvent ( QKeyEvent*);
|
||||
bool eventFilter(QObject *obj, QEvent *event);
|
||||
|
||||
void leaveCurrentNetworkGame();
|
||||
|
||||
void localGameModification();
|
||||
void networkGameModification();
|
||||
void switchChatWindow();
|
||||
void switchHelpWindow();
|
||||
void switchLogWindow();
|
||||
void switchAwayWindow();
|
||||
void switchChanceWindow();
|
||||
void switchFullscreen();
|
||||
|
||||
void mouseOverFlipCards(bool front);
|
||||
void sendChatMessage();
|
||||
void checkChatInputLength(QString);
|
||||
void tabSwitchAction();
|
||||
|
||||
void updateMyButtonsState(int mode = -1); //mode 0 == called from dealberocards
|
||||
void uncheckMyButtons();
|
||||
void resetMyButtonsCheckStateMemory();
|
||||
void clearMyButtons();
|
||||
void myButtonsCheckable(bool state);
|
||||
void leaveCurrentNetworkGame();
|
||||
|
||||
void changePlayingMode();
|
||||
void changeLineEditBetValue(int);
|
||||
void lineEditBetValueChanged(QString);
|
||||
|
||||
void showMaximized ();
|
||||
void closeGameTable();
|
||||
void localGameModification();
|
||||
void networkGameModification();
|
||||
|
||||
void startVoteOnKick(unsigned playerId, unsigned voteStarterPlayerId, int timeoutSec, int numVotesNeededToKick);
|
||||
void changeVoteOnKickButtonsState(bool showHide);
|
||||
void endVoteOnKick();
|
||||
void voteOnKickYes();
|
||||
void voteOnKickNo();
|
||||
void startVoteOnKickTimeout();
|
||||
void stopVoteOnKickTimeout();
|
||||
void nextVoteOnKickTimeoutAnimationFrame();
|
||||
void refreshVotesMonitor(int currentVotes, int numVotesNeededToKick);
|
||||
void mouseOverFlipCards(bool front);
|
||||
|
||||
void refreshGameTableStyle();
|
||||
void saveGameTableGeometry();
|
||||
void restoreGameTableGeometry();
|
||||
void updateMyButtonsState(int mode = -1); //mode 0 == called from dealberocards
|
||||
void uncheckMyButtons();
|
||||
void resetMyButtonsCheckStateMemory();
|
||||
void clearMyButtons();
|
||||
void myButtonsCheckable(bool state);
|
||||
|
||||
void changePlayingMode();
|
||||
void changeLineEditBetValue(int);
|
||||
void lineEditBetValueChanged(QString);
|
||||
|
||||
void showMaximized ();
|
||||
void closeGameTable();
|
||||
|
||||
void startVoteOnKick(unsigned playerId, unsigned voteStarterPlayerId, int timeoutSec, int numVotesNeededToKick);
|
||||
void changeVoteOnKickButtonsState(bool showHide);
|
||||
void endVoteOnKick();
|
||||
void voteOnKickYes();
|
||||
void voteOnKickNo();
|
||||
void startVoteOnKickTimeout();
|
||||
void stopVoteOnKickTimeout();
|
||||
void nextVoteOnKickTimeoutAnimationFrame();
|
||||
void refreshVotesMonitor(int currentVotes, int numVotesNeededToKick);
|
||||
|
||||
void refreshGameTableStyle();
|
||||
void saveGameTableGeometry();
|
||||
void restoreGameTableGeometry();
|
||||
|
||||
void netClientPlayerLeft(unsigned playerId);
|
||||
void registeredUserMode();
|
||||
void guestUserMode();
|
||||
|
||||
void netClientPlayerLeft(unsigned playerId);
|
||||
private:
|
||||
|
||||
boost::shared_ptr<GuiInterface> myServerGuiInterface;
|
||||
Log *myLog;
|
||||
ChatTools *myChat;
|
||||
ConfigFile *myConfig;
|
||||
|
||||
//Timer
|
||||
QTimer *potDistributeTimer;
|
||||
QTimer *timer;
|
||||
QTimer *dealFlopCards0Timer;
|
||||
QTimer *dealFlopCards1Timer;
|
||||
QTimer *dealFlopCards2Timer;
|
||||
QTimer *dealFlopCards3Timer;
|
||||
QTimer *dealFlopCards4Timer;
|
||||
QTimer *dealFlopCards5Timer;
|
||||
QTimer *dealFlopCards6Timer;
|
||||
QTimer *dealTurnCards0Timer;
|
||||
QTimer *dealTurnCards1Timer;
|
||||
QTimer *dealTurnCards2Timer;
|
||||
QTimer *dealRiverCards0Timer;
|
||||
QTimer *dealRiverCards1Timer;
|
||||
QTimer *dealRiverCards2Timer;
|
||||
boost::shared_ptr<GuiInterface> myServerGuiInterface;
|
||||
Log *myLog;
|
||||
ChatTools *myChat;
|
||||
ConfigFile *myConfig;
|
||||
|
||||
QTimer *nextPlayerAnimationTimer;
|
||||
QTimer *preflopAnimation1Timer;
|
||||
QTimer *preflopAnimation2Timer;
|
||||
QTimer *flopAnimation1Timer;
|
||||
QTimer *flopAnimation2Timer;
|
||||
QTimer *turnAnimation1Timer;
|
||||
QTimer *turnAnimation2Timer;
|
||||
QTimer *riverAnimation1Timer;
|
||||
QTimer *riverAnimation2Timer;
|
||||
//Timer
|
||||
QTimer *potDistributeTimer;
|
||||
QTimer *timer;
|
||||
QTimer *dealFlopCards0Timer;
|
||||
QTimer *dealFlopCards1Timer;
|
||||
QTimer *dealFlopCards2Timer;
|
||||
QTimer *dealFlopCards3Timer;
|
||||
QTimer *dealFlopCards4Timer;
|
||||
QTimer *dealFlopCards5Timer;
|
||||
QTimer *dealFlopCards6Timer;
|
||||
QTimer *dealTurnCards0Timer;
|
||||
QTimer *dealTurnCards1Timer;
|
||||
QTimer *dealTurnCards2Timer;
|
||||
QTimer *dealRiverCards0Timer;
|
||||
QTimer *dealRiverCards1Timer;
|
||||
QTimer *dealRiverCards2Timer;
|
||||
|
||||
QTimer *postRiverAnimation1Timer;
|
||||
QTimer *postRiverRunAnimation1Timer;
|
||||
QTimer *postRiverRunAnimation2Timer;
|
||||
QTimer *postRiverRunAnimation2_flipHoleCards1Timer;
|
||||
QTimer *postRiverRunAnimation2_flipHoleCards2Timer;
|
||||
QTimer *postRiverRunAnimation3Timer;
|
||||
QTimer *postRiverRunAnimation5Timer;
|
||||
QTimer *postRiverRunAnimation6Timer;
|
||||
QTimer *nextPlayerAnimationTimer;
|
||||
QTimer *preflopAnimation1Timer;
|
||||
QTimer *preflopAnimation2Timer;
|
||||
QTimer *flopAnimation1Timer;
|
||||
QTimer *flopAnimation2Timer;
|
||||
QTimer *turnAnimation1Timer;
|
||||
QTimer *turnAnimation2Timer;
|
||||
QTimer *riverAnimation1Timer;
|
||||
QTimer *riverAnimation2Timer;
|
||||
|
||||
QTimer *blinkingStartButtonAnimationTimer;
|
||||
QTimer *voteOnKickTimeoutTimer;
|
||||
boost::timers::portable::microsec_timer voteOnKickRealTimer;
|
||||
QTimer *postRiverAnimation1Timer;
|
||||
QTimer *postRiverRunAnimation1Timer;
|
||||
QTimer *postRiverRunAnimation2Timer;
|
||||
QTimer *postRiverRunAnimation2_flipHoleCards1Timer;
|
||||
QTimer *postRiverRunAnimation2_flipHoleCards2Timer;
|
||||
QTimer *postRiverRunAnimation3Timer;
|
||||
QTimer *postRiverRunAnimation5Timer;
|
||||
QTimer *postRiverRunAnimation6Timer;
|
||||
|
||||
QWidget *userWidgetsArray[6];
|
||||
QLabel *buttonLabelArray[MAX_NUMBER_OF_PLAYERS];
|
||||
QLabel *cashLabelArray[MAX_NUMBER_OF_PLAYERS];
|
||||
QLabel *cashTopLabelArray[MAX_NUMBER_OF_PLAYERS];
|
||||
MySetLabel *setLabelArray[MAX_NUMBER_OF_PLAYERS];
|
||||
QLabel *actionLabelArray[MAX_NUMBER_OF_PLAYERS];
|
||||
MyNameLabel *playerNameLabelArray[MAX_NUMBER_OF_PLAYERS];
|
||||
MyAvatarLabel *playerAvatarLabelArray[MAX_NUMBER_OF_PLAYERS];
|
||||
MyTimeoutLabel *timeoutLabelArray[MAX_NUMBER_OF_PLAYERS];
|
||||
QTimer *blinkingStartButtonAnimationTimer;
|
||||
QTimer *voteOnKickTimeoutTimer;
|
||||
boost::timers::portable::microsec_timer voteOnKickRealTimer;
|
||||
|
||||
QGroupBox *groupBoxArray[MAX_NUMBER_OF_PLAYERS];
|
||||
MyCardsPixmapLabel *boardCardsArray[5];
|
||||
MyCardsPixmapLabel *holeCardsArray[MAX_NUMBER_OF_PLAYERS][2];
|
||||
QWidget *userWidgetsArray[6];
|
||||
QLabel *buttonLabelArray[MAX_NUMBER_OF_PLAYERS];
|
||||
QLabel *cashLabelArray[MAX_NUMBER_OF_PLAYERS];
|
||||
QLabel *cashTopLabelArray[MAX_NUMBER_OF_PLAYERS];
|
||||
MySetLabel *setLabelArray[MAX_NUMBER_OF_PLAYERS];
|
||||
QLabel *actionLabelArray[MAX_NUMBER_OF_PLAYERS];
|
||||
MyNameLabel *playerNameLabelArray[MAX_NUMBER_OF_PLAYERS];
|
||||
MyAvatarLabel *playerAvatarLabelArray[MAX_NUMBER_OF_PLAYERS];
|
||||
MyTimeoutLabel *timeoutLabelArray[MAX_NUMBER_OF_PLAYERS];
|
||||
|
||||
QPixmap *flipside;
|
||||
QGroupBox *groupBoxArray[MAX_NUMBER_OF_PLAYERS];
|
||||
MyCardsPixmapLabel *boardCardsArray[5];
|
||||
MyCardsPixmapLabel *holeCardsArray[MAX_NUMBER_OF_PLAYERS][2];
|
||||
|
||||
// Dialogs
|
||||
startWindowImpl *myStartWindow;
|
||||
QPixmap *flipside;
|
||||
|
||||
//Sound
|
||||
SDLPlayer *mySDLPlayer;
|
||||
QString myAppDataPath;
|
||||
// Dialogs
|
||||
startWindowImpl *myStartWindow;
|
||||
|
||||
int distributePotAnimCounter;
|
||||
int playingMode;
|
||||
|
||||
QString font2String;
|
||||
QString font1String;
|
||||
//Sound
|
||||
SDLPlayer *mySDLPlayer;
|
||||
QString myAppDataPath;
|
||||
|
||||
//Speed
|
||||
int guiGameSpeed;
|
||||
int gameSpeed;
|
||||
int dealCardsSpeed;
|
||||
int preDealCardsSpeed;
|
||||
int postDealCardsSpeed;
|
||||
int AllInDealCardsSpeed;
|
||||
int postRiverRunAnimationSpeed;
|
||||
int winnerBlinkSpeed;
|
||||
int newRoundSpeed;
|
||||
int nextPlayerSpeed1;
|
||||
int nextPlayerSpeed2;
|
||||
int nextPlayerSpeed3;
|
||||
int preflopNextPlayerSpeed;
|
||||
int nextOpponentSpeed;
|
||||
int distributePotAnimCounter;
|
||||
int playingMode;
|
||||
|
||||
bool myActionIsBet;
|
||||
bool myActionIsRaise;
|
||||
bool pushButtonBetRaiseIsChecked;
|
||||
bool pushButtonCallCheckIsChecked;
|
||||
bool pushButtonFoldIsChecked;
|
||||
bool pushButtonAllInIsChecked;
|
||||
bool myButtonsAreCheckable;
|
||||
bool breakAfterCurrentHand;
|
||||
bool currentGameOver;
|
||||
bool flipHolecardsAllInAlreadyDone;
|
||||
bool betSliderChangedByInput;
|
||||
QString font2String;
|
||||
QString font1String;
|
||||
|
||||
// statistic testing
|
||||
int statisticArray[15];
|
||||
//Speed
|
||||
int guiGameSpeed;
|
||||
int gameSpeed;
|
||||
int dealCardsSpeed;
|
||||
int preDealCardsSpeed;
|
||||
int postDealCardsSpeed;
|
||||
int AllInDealCardsSpeed;
|
||||
int postRiverRunAnimationSpeed;
|
||||
int winnerBlinkSpeed;
|
||||
int newRoundSpeed;
|
||||
int nextPlayerSpeed1;
|
||||
int nextPlayerSpeed2;
|
||||
int nextPlayerSpeed3;
|
||||
int preflopNextPlayerSpeed;
|
||||
int nextOpponentSpeed;
|
||||
|
||||
QSemaphore guiUpdateSemaphore;
|
||||
bool myActionIsBet;
|
||||
bool myActionIsRaise;
|
||||
bool pushButtonBetRaiseIsChecked;
|
||||
bool pushButtonCallCheckIsChecked;
|
||||
bool pushButtonFoldIsChecked;
|
||||
bool pushButtonAllInIsChecked;
|
||||
bool myButtonsAreCheckable;
|
||||
bool breakAfterCurrentHand;
|
||||
bool currentGameOver;
|
||||
bool flipHolecardsAllInAlreadyDone;
|
||||
bool betSliderChangedByInput;
|
||||
bool guestMode;
|
||||
|
||||
int keyUpDownChatCounter;
|
||||
int myLastPreActionBetValue;
|
||||
|
||||
int voteOnKickTimeoutSecs;
|
||||
unsigned playerAboutToBeKickedId;
|
||||
// statistic testing
|
||||
int statisticArray[15];
|
||||
|
||||
GameTableStyleReader *myGameTableStyle;
|
||||
CardDeckStyleReader *myCardDeckStyle;
|
||||
QSemaphore guiUpdateSemaphore;
|
||||
|
||||
QString AllInString;
|
||||
QString RaiseString;
|
||||
QString BetString;
|
||||
QString CallString;
|
||||
QString CheckString;
|
||||
QString FoldString;
|
||||
QString PotString;
|
||||
QString TotalString;
|
||||
QString BetsString;
|
||||
QString GameString;
|
||||
QString HandString;
|
||||
QString PreflopString;
|
||||
QString FlopString;
|
||||
QString TurnString;
|
||||
QString RiverString;
|
||||
int keyUpDownChatCounter;
|
||||
int myLastPreActionBetValue;
|
||||
|
||||
friend class GuiWrapper;
|
||||
int voteOnKickTimeoutSecs;
|
||||
unsigned playerAboutToBeKickedId;
|
||||
|
||||
GameTableStyleReader *myGameTableStyle;
|
||||
CardDeckStyleReader *myCardDeckStyle;
|
||||
|
||||
QString AllInString;
|
||||
QString RaiseString;
|
||||
QString BetString;
|
||||
QString CallString;
|
||||
QString CheckString;
|
||||
QString FoldString;
|
||||
QString PotString;
|
||||
QString TotalString;
|
||||
QString BetsString;
|
||||
QString GameString;
|
||||
QString HandString;
|
||||
QString PreflopString;
|
||||
QString FlopString;
|
||||
QString TurnString;
|
||||
QString RiverString;
|
||||
|
||||
friend class GuiWrapper;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user