#include </home/clem/local/src/opie/noncore/games/zlines/linesboard.h>
Inheritance diagram for LinesBoard:


Signals | |
| void | endTurn () |
| void | endGame () |
| void | eraseLine (int nb) |
Public Member Functions | |
| LinesBoard (BallPainter *abPainter, QWidget *parent=0, const char *name=0) | |
| ~LinesBoard () | |
| int | width () |
| int | height () |
| int | wHint () |
| int | hHint () |
| void | placeBalls (int nextBalls[BALLSDROP]) |
| void | undo () |
Protected Slots | |
| void | timerSlot () |
Private Member Functions | |
| void | paintEvent (QPaintEvent *) |
| void | mousePressEvent (QMouseEvent *) |
| void | AnimStart (int panim) |
| void | AnimNext () |
| int | AnimEnd () |
| int | getAnim (int x, int y) |
| void | AnimJump (int col, int row) |
| int | erase5Balls () |
| bool | existPath (int ax, int ay, int bx, int by) |
| void | placeBall () |
Private Attributes | |
| int | anim |
| LinesBoard::Waypoints * | way |
| int | nextBalls [BALLSDROP] |
| int | animmax |
| int | painting |
| int | animstep |
| int | animdelaycount |
| int | animdelaystart |
| int | direction |
| int | nextBallToPlace |
| int | jumpingCol |
| int | jumpingRow |
| QTimer * | timer |
| BallPainter * | bPainter |
Classes | |
| struct | Waypoints |
|
||||||||||||||||
|
Definition at line 28 of file linesboard.cpp. References anim, ANIM_NO, bPainter, FALSE, hHint(), NUMCELLSH, NUMCELLSW, painting, timer, TIMERCLOCK, timerSlot(), way, and wHint(). |
|
|
Definition at line 57 of file linesboard.cpp. |
|
|
Definition at line 239 of file linesboard.cpp. References anim, ANIM_BORN, ANIM_BURN, ANIM_NO, ANIM_RUN, animmax, animstep, BALLSDROP, debug, Field::deleteAnimatedBalls(), endGame(), endTurn(), erase5Balls(), eraseLine(), FALSE, Field::freeSpace(), Field::moveBall(), nextBallToPlace, placeBall(), way, Opie::MM::x, and Opie::MM::y. Referenced by AnimJump(), AnimNext(), AnimStart(), and undo(). |
|
||||||||||||
|
Definition at line 189 of file linesboard.cpp. References anim, ANIM_JUMP, AnimEnd(), AnimStart(), Field::clearAnim(), debug, Field::getBall(), jumpingCol, jumpingRow, NOBALL, and Field::setAnim(). Referenced by mousePressEvent(). |
|
|
Definition at line 315 of file linesboard.cpp. References anim, ANIM_JUMP, ANIM_NO, ANIM_RUN, animdelaycount, animdelaystart, AnimEnd(), animmax, animstep, debug, direction, FALSE, Field::moveBall(), way, Opie::MM::x, and Opie::MM::y. Referenced by timerSlot(). |
|
|
Definition at line 203 of file linesboard.cpp. References anim, ANIM_BORN, ANIM_BURN, ANIM_JUMP, ANIM_NO, ANIM_RUN, animdelaycount, animdelaystart, AnimEnd(), animmax, animstep, BOOMBALLS, debug, direction, FIREBALLS, FIREPIX, and PIXTIME. Referenced by AnimJump(), erase5Balls(), existPath(), mousePressEvent(), and placeBall(). |
|
|
Referenced by AnimEnd(), and placeBall(). |
|
|
Referenced by AnimEnd(). |
|
|
Definition at line 354 of file linesboard.cpp. References ANIM_BURN, ANIM_NO, ANIM_YES, AnimStart(), debug, Field::getBall(), i, NOBALL, NUMCELLSH, NUMCELLSW, Field::setAnim(), Opie::MM::x, and Opie::MM::y. Referenced by AnimEnd(). |
|
|
Referenced by AnimEnd(). |
|
||||||||||||||||||||
|
Definition at line 502 of file linesboard.cpp. References ANIM_BLOCK, animmax, AnimStart(), debug, Field::getBall(), GO_A, GO_B, GO_BALL, GO_EMPTY, i, NOBALL, NUMCELLSH, NUMCELLSW, way, LinesBoard::Waypoints::x, Opie::MM::x, LinesBoard::Waypoints::y, and Opie::MM::y. Referenced by mousePressEvent(). |
|
||||||||||||
|
Reimplemented from Field. Definition at line 342 of file linesboard.cpp. References anim, ANIM_NO, and Field::getAnim(). Referenced by paintEvent(). |
|
|
Definition at line 125 of file linesboard.cpp. References CELLSIZE, and NUMCELLSH. Referenced by hHint(), and paintEvent(). |
|
|
Definition at line 127 of file linesboard.cpp. References height(). Referenced by LinesBoard(). |
|
|
Reimplemented from Field. Definition at line 159 of file linesboard.cpp. References anim, ANIM_JUMP, ANIM_NO, ANIM_RUN, AnimJump(), AnimStart(), CELLSIZE, Field::checkBounds(), curCol, debug, existPath(), Field::getBall(), jumpingCol, jumpingRow, NOBALL, and Field::saveUndo(). |
|
|
Reimplemented from Field. Definition at line 131 of file linesboard.cpp. References animstep, bitBlt(), bPainter, CELLSIZE, getAnim(), BallPainter::GetBackgroundPix(), BallPainter::GetBall(), Field::getBall(), height(), NOBALL, NUMCELLSH, NUMCELLSW, Field::pixmap, width(), Opie::MM::x, and Opie::MM::y. |
|
|
Definition at line 76 of file linesboard.cpp. References ANIM_BORN, AnimStart(), Field::clearAnim(), debug, empty, endGame(), Field::getBall(), nextBalls, nextBallToPlace, NOBALL, NUMCELLSH, NUMCELLSW, pos, Field::putBall(), Field::setAnim(), Opie::MM::x, and Opie::MM::y. Referenced by AnimEnd(), and placeBalls(). |
|
|
Definition at line 66 of file linesboard.cpp. References debug, i, nextBalls, nextBallToPlace, and placeBall(). Referenced by KLines::placeBalls(). |
|
|
Definition at line 348 of file linesboard.cpp. References AnimNext(). Referenced by LinesBoard(). |
|
|
Definition at line 582 of file linesboard.cpp. References AnimEnd(), FALSE, and Field::restoreUndo(). Referenced by KLines::undo(). |
|
|
Definition at line 126 of file linesboard.cpp. References width(). Referenced by LinesBoard(). |
|
|
Definition at line 124 of file linesboard.cpp. References CELLSIZE, and NUMCELLSW. Referenced by paintEvent(), and wHint(). |
|
|
Definition at line 51 of file linesboard.h. Referenced by AnimEnd(), AnimJump(), AnimNext(), AnimStart(), getAnim(), LinesBoard(), and mousePressEvent(). |
|
|
Definition at line 63 of file linesboard.h. Referenced by AnimNext(), and AnimStart(). |
|
|
Definition at line 64 of file linesboard.h. Referenced by AnimNext(), and AnimStart(). |
|
|
Definition at line 58 of file linesboard.h. Referenced by AnimEnd(), AnimNext(), AnimStart(), and existPath(). |
|
|
Definition at line 62 of file linesboard.h. Referenced by AnimEnd(), AnimNext(), AnimStart(), and paintEvent(). |
|
|
Definition at line 75 of file linesboard.h. Referenced by LinesBoard(), and paintEvent(). |
|
|
Definition at line 65 of file linesboard.h. Referenced by AnimNext(), and AnimStart(). |
|
|
Definition at line 69 of file linesboard.h. Referenced by AnimJump(), and mousePressEvent(). |
|
|
Definition at line 70 of file linesboard.h. Referenced by AnimJump(), and mousePressEvent(). |
|
|
Definition at line 56 of file linesboard.h. Referenced by placeBall(), and placeBalls(). |
|
|
Definition at line 68 of file linesboard.h. Referenced by AnimEnd(), placeBall(), and placeBalls(). |
|
|
Definition at line 61 of file linesboard.h. Referenced by LinesBoard(). |
|
|
Reimplemented from Field. Definition at line 73 of file linesboard.h. Referenced by LinesBoard(), and ~LinesBoard(). |
|
|
Referenced by AnimEnd(), AnimNext(), existPath(), LinesBoard(), and ~LinesBoard(). |
1.4.2