summaryrefslogtreecommitdiff
path: root/noncore/games/zlines/linesboard.h
Unidiff
Diffstat (limited to 'noncore/games/zlines/linesboard.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/zlines/linesboard.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/noncore/games/zlines/linesboard.h b/noncore/games/zlines/linesboard.h
index 97697cd..58478ee 100644
--- a/noncore/games/zlines/linesboard.h
+++ b/noncore/games/zlines/linesboard.h
@@ -24,20 +24,12 @@
24#include <qtimer.h> 24#include <qtimer.h>
25 25
26#include "field.h" 26#include "field.h"
27//#include "shotcounter.h" 27//#include "shotcounter.h"
28#include "ballpainter.h" 28#include "ballpainter.h"
29 29
30#ifdef Q_WS_QWS
31 #define debug (void)
32#else
33 #define debug qDebug
34#endif
35#define fatal qFatal
36#define warning qWarning
37
38class LinesBoard : public Field 30class LinesBoard : public Field
39{ 31{
40 Q_OBJECT 32 Q_OBJECT
41public: 33public:
42 LinesBoard( BallPainter * abPainter, QWidget* parent=0, const char* name=0 ); 34 LinesBoard( BallPainter * abPainter, QWidget* parent=0, const char* name=0 );
43 ~LinesBoard(); 35 ~LinesBoard();
@@ -45,26 +37,26 @@ public:
45 int width(); 37 int width();
46 int height(); 38 int height();
47 int wHint(); 39 int wHint();
48 int hHint(); 40 int hHint();
49// void doAfterBalls(); 41// void doAfterBalls();
50 void placeBalls(int nextBalls[BALLSDROP]); 42 void placeBalls(int nextBalls[BALLSDROP]);
51 void undo(); 43 void undo();
52 44
53signals: 45signals:
54 void endTurn(); 46 void endTurn();
55 void endGame(); 47 void endGame();
56 void eraseLine(int nb); 48 void eraseLine(int nb);
57 49
58private: 50private:
59 int anim; 51 int anim;
60 52
61 struct Waypoints { 53 struct Waypoints {
62 int x,y; 54 int x,y;
63 } *way; 55 } *way;
64 int nextBalls[BALLSDROP]; 56 int nextBalls[BALLSDROP];
65 57
66 int animmax; 58 int animmax;
67 59
68 //used for running and animation phase 60 //used for running and animation phase
69 int painting; 61 int painting;
70 int animstep; 62 int animstep;