author | tille <tille> | 2002-07-10 13:58:19 (UTC) |
---|---|---|
committer | tille <tille> | 2002-07-10 13:58:19 (UTC) |
commit | 6fefe6d5f0b7721e8f692ad8759666f3c50cd437 (patch) (unidiff) | |
tree | fa55166dba5b4366479a9c96c9efcc35a4ab7a02 /noncore/games/solitaire/teeclubcardgame.cpp | |
parent | dcf25882f9093a34571454ec7bb2ecb821575498 (diff) | |
download | opie-6fefe6d5f0b7721e8f692ad8759666f3c50cd437.zip opie-6fefe6d5f0b7721e8f692ad8759666f3c50cd437.tar.gz opie-6fefe6d5f0b7721e8f692ad8759666f3c50cd437.tar.bz2 |
tr(comments)
Diffstat (limited to 'noncore/games/solitaire/teeclubcardgame.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/solitaire/teeclubcardgame.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/noncore/games/solitaire/teeclubcardgame.cpp b/noncore/games/solitaire/teeclubcardgame.cpp index e15da96..0941e0d 100644 --- a/noncore/games/solitaire/teeclubcardgame.cpp +++ b/noncore/games/solitaire/teeclubcardgame.cpp | |||
@@ -17,7 +17,15 @@ | |||
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | ** | 19 | ** |
20 | ** Modified by C.A.Mader 2002 | 20 | ** created on base of patiencecardgame by cam (C.A.Mader) 2002 |
21 | ** Rules for this game: | ||
22 | ** use 2 decks = 104 cards | ||
23 | ** deal 9 rows with 5 open cards each | ||
24 | ** append one card to each other card which is one step higher | ||
25 | ** move only columns of cards which are equal in suit | ||
26 | ** each card can be layed on a free place | ||
27 | ** deal 1 card at once on the first pile | ||
28 | ** | ||
21 | ** | 29 | ** |
22 | **********************************************************************/ | 30 | **********************************************************************/ |
23 | #include <qgfx_qws.h> | 31 | #include <qgfx_qws.h> |
@@ -84,7 +92,7 @@ void TeeclubCardGame::resizePiles() | |||
84 | beginDealing(); | 92 | beginDealing(); |
85 | for (int i = 0; i < 9; i++) { | 93 | for (int i = 0; i < 9; i++) { |
86 | while ((workingPiles[i]->getCardPos(NULL).y() > 230) && (workingPiles[i]->getOffsetDown()>1)) { | 94 | while ((workingPiles[i]->getCardPos(NULL).y() > 230) && (workingPiles[i]->getOffsetDown()>1)) { |
87 | // Resizen des Stapels | 95 | // resize the pile |
88 | workingPiles[i]->setOffsetDown(workingPiles[i]->getOffsetDown()-1); | 96 | workingPiles[i]->setOffsetDown(workingPiles[i]->getOffsetDown()-1); |
89 | Card *card = workingPiles[i]->cardOnBottom(); | 97 | Card *card = workingPiles[i]->cardOnBottom(); |
90 | int p=0; | 98 | int p=0; |