summaryrefslogtreecommitdiff
path: root/noncore
authorandyq <andyq>2002-12-11 17:48:40 (UTC)
committer andyq <andyq>2002-12-11 17:48:40 (UTC)
commit483e550c75f935706fde4e0ca29c4486aeca09a0 (patch) (unidiff)
tree6312a2b87905296622cd7464bd0e286924eefaf9 /noncore
parentd3d49c3022d763157a3c8309ddc5b9ce4ecde61a (diff)
downloadopie-483e550c75f935706fde4e0ca29c4486aeca09a0.zip
opie-483e550c75f935706fde4e0ca29c4486aeca09a0.tar.gz
opie-483e550c75f935706fde4e0ca29c4486aeca09a0.tar.bz2
Added new methods and members for replay loading and saving
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/sfcave/sfcave.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/games/sfcave/sfcave.h b/noncore/games/sfcave/sfcave.h
index 0d9a626..238a615 100644
--- a/noncore/games/sfcave/sfcave.h
+++ b/noncore/games/sfcave/sfcave.h
@@ -25,12 +25,13 @@ public:
25 25
26 int currentSeed; 26 int currentSeed;
27 27
28 QList<int> replayList; 28 QList<int> replayList;
29 QListIterator<int> *replayIt; 29 QListIterator<int> *replayIt;
30 bool replay; 30 bool replay;
31 QString replayFile;
31 32
32 int blockWidth; 33 int blockWidth;
33 int blockHeight; 34 int blockHeight;
34 int gapHeight; 35 int gapHeight;
35 int state; 36 int state;
36 int prevState; 37 int prevState;
@@ -109,10 +110,12 @@ public:
109 void displayMenu(); 110 void displayMenu();
110 void dealWithMenuSelection(); 111 void dealWithMenuSelection();
111 112
112 void keyPressEvent( QKeyEvent *e ); 113 void keyPressEvent( QKeyEvent *e );
113 void keyReleaseEvent( QKeyEvent *e ); 114 void keyReleaseEvent( QKeyEvent *e );
114 void saveScore(); 115 void saveScore();
116 void saveReplay();
117 void loadReplay();
115 118
116private slots: 119private slots:
117 void run(); 120 void run();
118}; 121};