Diffstat (limited to 'noncore/games/oyatzee/oyatzee.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/oyatzee/oyatzee.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/games/oyatzee/oyatzee.h b/noncore/games/oyatzee/oyatzee.h index 048a733..a38182d 100644 --- a/noncore/games/oyatzee/oyatzee.h +++ b/noncore/games/oyatzee/oyatzee.h @@ -9,48 +9,49 @@ #include <stdlib.h> // rand() function #include <qdatetime.h> // seed for rand() class Dice; class Game; class Scoreboard; class DiceWidget; class Resultboard; class Player; class QPoint; typedef QList<Dice> dicesList; typedef QList<Resultboard> resultboardList; typedef QValueList<int> QValueListInt; typedef QList<Player> playerList; typedef QMap<int,int> pointMap; class OYatzee : public QMainWindow { Q_OBJECT public: OYatzee( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~OYatzee(); + static QString appName() { return QString::fromLatin1("oyatzee"); } Game *g(); DiceWidget *dw; Scoreboard *sb; QValueListInt posibilities; playerList ps; void setPlayerNumber( const int num ); void setRoundsNumber( const int num ); enum { Ones = 1, Twos = 2, Threes = 3, Fours = 4, Fives = 5, Sixes = 6, ThreeOfAKind = 9, //12444 FourOfAKind = 10, //14444 FullHouse = 11, //22555 SStraight = 12, //13456 LStraight = 13, //12345 Yatzee = 14, //55555 Chance = 15}; |