Diffstat (limited to 'noncore/games/parashoot/base.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/parashoot/base.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/noncore/games/parashoot/base.cpp b/noncore/games/parashoot/base.cpp index cdf1dfa..5f3c79d 100644 --- a/noncore/games/parashoot/base.cpp +++ b/noncore/games/parashoot/base.cpp | |||
@@ -10,29 +10,27 @@ | |||
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
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 | #include "codes.h" | 20 | #include "codes.h" |
21 | #include "base.h" | 21 | #include "base.h" |
22 | #include "man.h" | ||
23 | 22 | ||
24 | #include <qtopia/resource.h> | 23 | #include <qtopia/resource.h> |
25 | 24 | ||
26 | #include <qregexp.h> | ||
27 | 25 | ||
28 | int damage; | 26 | int damage; |
29 | 27 | ||
30 | Base::Base(QCanvas* canvas) : | 28 | Base::Base(QCanvas* canvas) : |
31 | QCanvasSprite(0, canvas), | 29 | QCanvasSprite(0, canvas), |
32 | kaboom("landmine"), | 30 | kaboom("landmine"), |
33 | ohdear("crmble01") | 31 | ohdear("crmble01") |
34 | { | 32 | { |
35 | basearray = new QCanvasPixmapArray(); | 33 | basearray = new QCanvasPixmapArray(); |
36 | QString b0 = Resource::findPixmap("parashoot/b0001"); | 34 | QString b0 = Resource::findPixmap("parashoot/b0001"); |
37 | b0.replace(QRegExp("0001"),"%1"); | 35 | b0.replace(QRegExp("0001"),"%1"); |
38 | basearray->readPixmaps(b0, 4); | 36 | basearray->readPixmaps(b0, 4); |