New Settings (permanent Breakbutton, ShowFadeOut) added

This commit is contained in:
doitux
2007-01-28 14:48:18 +00:00
parent 20b99f758d
commit 7166a77d48
11 changed files with 2664 additions and 2552 deletions
+3
View File
@@ -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;
+1 -1
View File
@@ -165,7 +165,7 @@ void LocalHand::switchRounds() {
// cout << "switchrounds" << endl;
//Aktive Spieler zlen --> 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++;
}
+8 -1
View File
@@ -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;
};