New Settings (permanent Breakbutton, ShowFadeOut) added
This commit is contained in:
@@ -62,6 +62,9 @@ public:
|
||||
virtual void setStartCash(const int& theValue) =0;
|
||||
virtual int getStartCash() const =0;
|
||||
|
||||
virtual void setActivePlayersCounter(const int& theValue) =0;
|
||||
virtual int getActivePlayersCounter() const =0;
|
||||
|
||||
virtual void assignButtons() =0;
|
||||
|
||||
virtual void highlightRoundLabel() =0;
|
||||
|
||||
@@ -165,7 +165,7 @@ void LocalHand::switchRounds() {
|
||||
// cout << "switchrounds" << endl;
|
||||
|
||||
//Aktive Spieler z�len --> wenn nur noch einer nicht-folded dann gleich den Pot verteilen
|
||||
int activePlayersCounter = 0;
|
||||
activePlayersCounter = 0;
|
||||
for (i=0; i<myGui->getMaxQuantityPlayers(); i++) {
|
||||
if (playerArray[i]->getMyAction() != 1 && playerArray[i]->getMyActiveStatus() == 1) activePlayersCounter++;
|
||||
}
|
||||
|
||||
@@ -72,11 +72,17 @@ public:
|
||||
void setStartCash(const int& theValue) { startCash = theValue; }
|
||||
int getStartCash() const { return startCash; }
|
||||
|
||||
void setActivePlayersCounter(const int& theValue) { activePlayersCounter = theValue; }
|
||||
int getActivePlayersCounter() const { return activePlayersCounter; }
|
||||
|
||||
|
||||
void assignButtons();
|
||||
|
||||
void highlightRoundLabel();
|
||||
void switchRounds();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -99,7 +105,8 @@ private:
|
||||
int actualRound; //0 = preflop, 1 = flop, 2 = turn, 3 = river
|
||||
int smallBlind;
|
||||
int startCash;
|
||||
|
||||
int activePlayersCounter;
|
||||
|
||||
bool allInCondition;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user