summaryrefslogtreecommitdiff
path: root/noncore/games/sfcave/sfcave.h
Side-by-side diff
Diffstat (limited to 'noncore/games/sfcave/sfcave.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/sfcave/sfcave.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/noncore/games/sfcave/sfcave.h b/noncore/games/sfcave/sfcave.h
index 69a0e13..0d9a626 100644
--- a/noncore/games/sfcave/sfcave.h
+++ b/noncore/games/sfcave/sfcave.h
@@ -5,6 +5,7 @@
#include <qrect.h>
#include <qtimer.h>
+#include <qlist.h>
-
+#include "random.h"
#define MAPSIZE 52
@@ -12,4 +13,6 @@
#define TRAILSIZE 30
+
+
class SFCave : public QMainWindow
{
@@ -21,4 +24,10 @@ public:
int segSize;
+ int currentSeed;
+
+ QList<int> replayList;
+ QListIterator<int> *replayIt;
+ bool replay;
+
int blockWidth;
int blockHeight;
@@ -80,4 +89,5 @@ public:
~SFCave();
void start();
+ void setSeed( int seed );
int nextInt( int range );
void setUp();