#include "game.h"#include <opie2/odebug.h>#include <qpe/qpeapplication.h>#include <qtimer.h>#include <stdlib.h>Include dependency graph for game.cpp:

Go to the source code of this file.
Defines | |
| #define | TILE_SIZE 9 |
| #define | TILE_FIRST ((FIELD_WIDTH-2)*(FIELD_HEIGHT-2)) |
| #define | TILE_FREE (TILE_FIRST + 0) |
| #define | TILE_BORDER (TILE_FIRST + 1) |
| #define | TILE_WALLEND (TILE_FIRST + 2) |
| #define | TILE_WALLUP (TILE_FIRST + 3) |
| #define | TILE_WALLDOWN (TILE_FIRST + 4) |
| #define | TILE_WALLLEFT (TILE_FIRST + 5) |
| #define | TILE_WALLRIGHT (TILE_FIRST + 6) |
| #define | GAME_DELAY 15 |
| #define | BALL_ANIM_DELAY 60 |
| #define | WALL_DELAY 100 |
| #define | MS2TICKS(ms) ((ms)/GAME_DELAY) |
|
|
Definition at line 45 of file game.cpp. Referenced by Ball::update(). |
|
|
Definition at line 44 of file game.cpp. Referenced by JezzGame::JezzGame(). |
|
|
Definition at line 48 of file game.cpp. Referenced by Wall::advance(), and Ball::update(). |
|
|
Definition at line 37 of file game.cpp. Referenced by JezzGame::ballCollision(), JezzGame::fill(), JezzGame::JezzGame(), and JezzField::setGameTile(). |
|
|
|
|
|
Definition at line 36 of file game.cpp. Referenced by Ball::advance(), JezzGame::ballCollision(), JezzGame::buildWall(), Ball::collide(), JezzGame::fill(), Wall::isFree(), JezzGame::JezzGame(), JezzGame::makeBlack(), JezzGame::percent(), and JezzField::setGameTile(). |
|
|
Definition at line 33 of file game.cpp. Referenced by Ball::advance(), JezzGame::buildWall(), Ball::collide(), JezzGame::display(), Wall::isFree(), JezzGame::JezzGame(), JezzGame::makeBlack(), JezzField::setPixmaps(), and JezzView::viewportMouseReleaseEvent(). |
|
|
Definition at line 40 of file game.cpp. Referenced by JezzGame::ballCollision(), and JezzGame::buildWall(). |
|
|
Definition at line 38 of file game.cpp. Referenced by Wall::advance(), JezzGame::ballCollision(), and JezzGame::wallFinished(). |
|
|
Definition at line 41 of file game.cpp. Referenced by JezzGame::ballCollision(), and JezzGame::buildWall(). |
|
|
Definition at line 42 of file game.cpp. Referenced by JezzGame::ballCollision(), and JezzGame::buildWall(). |
|
|
Definition at line 39 of file game.cpp. Referenced by JezzGame::ballCollision(), and JezzGame::buildWall(). |
|
|
Definition at line 46 of file game.cpp. Referenced by Wall::advance(). |
1.4.2