Diffstat (limited to 'noncore/games/solitaire/harpcardgame.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/solitaire/harpcardgame.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/games/solitaire/harpcardgame.cpp b/noncore/games/solitaire/harpcardgame.cpp index 0711622..d13d73b 100644 --- a/noncore/games/solitaire/harpcardgame.cpp +++ b/noncore/games/solitaire/harpcardgame.cpp | |||
@@ -19,25 +19,24 @@ | |||
19 | ** | 19 | ** |
20 | ** created on base of patiencecardgame by cam (C.A.Mader) 2002 | 20 | ** created on base of patiencecardgame by cam (C.A.Mader) 2002 |
21 | ** Rules for this game: | 21 | ** Rules for this game: |
22 | ** use 2 decks = 104 cards | 22 | ** use 2 decks = 104 cards |
23 | ** deal 8 rows with one open card in the first place | 23 | ** deal 8 rows with one open card in the first place |
24 | ** one hidden and one open in the second place and so on | 24 | ** one hidden and one open in the second place and so on |
25 | ** append red to black and vice versa | 25 | ** append red to black and vice versa |
26 | ** each card can be layed on a free place | 26 | ** each card can be layed on a free place |
27 | ** deal 8 cards at once | 27 | ** deal 8 cards at once |
28 | ** | 28 | ** |
29 | ** | 29 | ** |
30 | **********************************************************************/ | 30 | **********************************************************************/ |
31 | #include <qgfx_qws.h> | ||
32 | #include "harpcardgame.h" | 31 | #include "harpcardgame.h" |
33 | 32 | ||
34 | 33 | ||
35 | extern int highestZ; | 34 | extern int highestZ; |
36 | 35 | ||
37 | 36 | ||
38 | HarpCardGame::HarpCardGame(QCanvas *c, bool snap, QWidget *parent) : CanvasCardGame(*c, snap, parent, 2)// Use 2 Decks | 37 | HarpCardGame::HarpCardGame(QCanvas *c, bool snap, QWidget *parent) : CanvasCardGame(*c, snap, parent, 2)// Use 2 Decks |
39 | { | 38 | { |
40 | highestZ = 0; | 39 | highestZ = 0; |
41 | 40 | ||
42 | for (int i = 0; i < 8; i++) { | 41 | for (int i = 0; i < 8; i++) { |
43 | discardPiles[i] = new HarpDiscardPile( 27 + i * 26, 10, canvas() ); | 42 | discardPiles[i] = new HarpDiscardPile( 27 + i * 26, 10, canvas() ); |