Diffstat (limited to 'noncore/games/parashoot/man.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/parashoot/man.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/games/parashoot/man.cpp b/noncore/games/parashoot/man.cpp index 94807c2..0a151b0 100644 --- a/noncore/games/parashoot/man.cpp +++ b/noncore/games/parashoot/man.cpp | |||
@@ -15,25 +15,24 @@ | |||
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #include "codes.h" | 21 | #include "codes.h" |
22 | #include "man.h" | 22 | #include "man.h" |
23 | #include "base.h" | 23 | #include "base.h" |
24 | 24 | ||
25 | #include <qtopia/resource.h> | 25 | #include <qtopia/resource.h> |
26 | 26 | ||
27 | #include <qregexp.h> | ||
28 | 27 | ||
29 | int mancount; | 28 | int mancount; |
30 | 29 | ||
31 | Man::Man(QCanvas* canvas) : | 30 | Man::Man(QCanvas* canvas) : |
32 | QCanvasSprite(0, canvas), | 31 | QCanvasSprite(0, canvas), |
33 | splat("lose") // No tr | 32 | splat("lose") // No tr |
34 | { | 33 | { |
35 | manarray = new QCanvasPixmapArray(); | 34 | manarray = new QCanvasPixmapArray(); |
36 | QString m0 = Resource::findPixmap("parashoot/man0001"); | 35 | QString m0 = Resource::findPixmap("parashoot/man0001"); |
37 | m0.replace(QRegExp("0001"),"%1"); | 36 | m0.replace(QRegExp("0001"),"%1"); |
38 | manarray->readPixmaps(m0, 7); | 37 | manarray->readPixmaps(m0, 7); |
39 | setSequence(manarray); | 38 | setSequence(manarray); |