author | tille <tille> | 2002-07-10 13:05:07 (UTC) |
---|---|---|
committer | tille <tille> | 2002-07-10 13:05:07 (UTC) |
commit | 5d989e509abecf74aaa4eb88abf52a6821d19501 (patch) (unidiff) | |
tree | 3e61348802a9ea05980e91e13344a45be509b7d1 /noncore/games/solitaire/cardpile.cpp | |
parent | 32954f729822e2d25f9e116400cbf2522a88ce42 (diff) | |
download | opie-5d989e509abecf74aaa4eb88abf52a6821d19501.zip opie-5d989e509abecf74aaa4eb88abf52a6821d19501.tar.gz opie-5d989e509abecf74aaa4eb88abf52a6821d19501.tar.bz2 |
cam implemented new game teeclub and pile resizing
Diffstat (limited to 'noncore/games/solitaire/cardpile.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/solitaire/cardpile.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/games/solitaire/cardpile.cpp b/noncore/games/solitaire/cardpile.cpp index 3b15e93..aace2e2 100644 --- a/noncore/games/solitaire/cardpile.cpp +++ b/noncore/games/solitaire/cardpile.cpp | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <qlist.h> | 27 | #include <qlist.h> |
28 | 28 | ||
29 | 29 | ||
30 | CardPile::CardPile(int x, int y) : pileX(x), pileY(y), dealing(FALSE) { | 30 | CardPile::CardPile(int x, int y) : pileX(x), pileY(y), dealing(FALSE), PileResize(FALSE) { |
31 | pileWidth = 0; | 31 | pileWidth = 0; |
32 | pileHeight = 0; | 32 | pileHeight = 0; |
33 | pileNextX = pileX; | 33 | pileNextX = pileX; |
@@ -35,6 +35,7 @@ CardPile::CardPile(int x, int y) : pileX(x), pileY(y), dealing(FALSE) { | |||
35 | pileCenterX = x + pileWidth / 2; | 35 | pileCenterX = x + pileWidth / 2; |
36 | pileCenterY = y + pileHeight / 2; | 36 | pileCenterY = y + pileHeight / 2; |
37 | pileRadius = (pileWidth > pileHeight) ? pileWidth : pileHeight; | 37 | pileRadius = (pileWidth > pileHeight) ? pileWidth : pileHeight; |
38 | pileOffsetDown = 13; | ||
38 | } | 39 | } |
39 | 40 | ||
40 | 41 | ||