summaryrefslogtreecommitdiff
path: root/noncore/games
authorandyq <andyq>2002-12-11 17:48:40 (UTC)
committer andyq <andyq>2002-12-11 17:48:40 (UTC)
commit483e550c75f935706fde4e0ca29c4486aeca09a0 (patch) (side-by-side diff)
tree6312a2b87905296622cd7464bd0e286924eefaf9 /noncore/games
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/games') (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
@@ -28,6 +28,7 @@ public:
QList<int> replayList;
QListIterator<int> *replayIt;
bool replay;
+ QString replayFile;
int blockWidth;
int blockHeight;
@@ -112,6 +113,8 @@ public:
void keyPressEvent( QKeyEvent *e );
void keyReleaseEvent( QKeyEvent *e );
void saveScore();
+ void saveReplay();
+ void loadReplay();
private slots:
void run();