-rw-r--r-- | noncore/games/sfcave/sfcave.h | 3 |
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 @@ -19,24 +19,25 @@ class SFCave : public QMainWindow Q_OBJECT public: int sWidth; int sHeight; int segSize; int currentSeed; QList<int> replayList; QListIterator<int> *replayIt; bool replay; + QString replayFile; int blockWidth; int blockHeight; int gapHeight; int state; int prevState; int speed; int crashLineLength; static double UpThrustVals[3][3]; static double DownThrustVals[3][3]; static double MaxUpThrustVals[3][3]; @@ -103,16 +104,18 @@ public: void addGate(); void setPoint( int point ); void drawBoss(); void draw(); void handleKeys(); void displayMenu(); void dealWithMenuSelection(); void keyPressEvent( QKeyEvent *e ); void keyReleaseEvent( QKeyEvent *e ); void saveScore(); + void saveReplay(); + void loadReplay(); private slots: void run(); }; |