author | imm <imm> | 2002-08-31 22:00:08 (UTC) |
---|---|---|
committer | imm <imm> | 2002-08-31 22:00:08 (UTC) |
commit | 45c0bbbfb9eefb501a69cbdc5bd736b1d3376c22 (patch) (unidiff) | |
tree | ef84efaf072d1285dcec669c8fc2bf334db04435 | |
parent | a6102be62cdbb8836c5c9a73ba64d62dbd821776 (diff) | |
download | opie-45c0bbbfb9eefb501a69cbdc5bd736b1d3376c22.zip opie-45c0bbbfb9eefb501a69cbdc5bd736b1d3376c22.tar.gz opie-45c0bbbfb9eefb501a69cbdc5bd736b1d3376c22.tar.bz2 |
- <memarray.h>
-rw-r--r-- | noncore/games/zbounce/game.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/noncore/games/zbounce/game.h b/noncore/games/zbounce/game.h index ae0d4fa..656fba3 100644 --- a/noncore/games/zbounce/game.h +++ b/noncore/games/zbounce/game.h | |||
@@ -16,17 +16,16 @@ | |||
16 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 16 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #ifndef GAME_H_INCLUDED | 19 | #ifndef GAME_H_INCLUDED |
20 | #define GAME_H_INCLUDED | 20 | #define GAME_H_INCLUDED |
21 | 21 | ||
22 | #include <qwidget.h> | 22 | #include <qwidget.h> |
23 | #include <qcanvas.h> | 23 | #include <qcanvas.h> |
24 | #include <qmemarray.h> | ||
25 | 24 | ||
26 | class QTimer; | 25 | class QTimer; |
27 | class JezzField; | 26 | class JezzField; |
28 | 27 | ||
29 | #define FIELD_WIDTH 26 | 28 | #define FIELD_WIDTH 26 |
30 | #define FIELD_HEIGHT 26 | 29 | #define FIELD_HEIGHT 26 |
31 | 30 | ||
32 | class Arrow : public QCanvasSprite | 31 | class Arrow : public QCanvasSprite |
@@ -98,17 +97,16 @@ public: | |||
98 | void setGameTile( int x, int y, bool black ); | 97 | void setGameTile( int x, int y, bool black ); |
99 | 98 | ||
100 | signals: | 99 | signals: |
101 | void ballCollision( Ball *ball, int x, int y, int tile ); | 100 | void ballCollision( Ball *ball, int x, int y, int tile ); |
102 | 101 | ||
103 | private: | 102 | private: |
104 | friend class Ball; | 103 | friend class Ball; |
105 | QPixmap m_tiles; | 104 | QPixmap m_tiles; |
106 | QMemArray<QPixmap> m_backTiles; | ||
107 | 105 | ||
108 | void setPixmaps( QPixmap tiles ); | 106 | void setPixmaps( QPixmap tiles ); |
109 | void emitBallCollisiton( Ball *ball, int x, int y, int tile ) | 107 | void emitBallCollisiton( Ball *ball, int x, int y, int tile ) |
110 | { emit ballCollision( ball, x, y, tile ); }; | 108 | { emit ballCollision( ball, x, y, tile ); }; |
111 | 109 | ||
112 | }; | 110 | }; |
113 | 111 | ||
114 | 112 | ||