diff options
author | Paul Gilbert | 2014-08-16 10:33:03 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-08-16 10:33:03 -0400 |
commit | dc5500e2464d3457d9dee70993ecd4340963946e (patch) | |
tree | f304fa53c90a9adc09077b638fd5fa95760aa332 /engines/access/data.h | |
parent | b3ab8a42a6bf77d99b6b349793f1fa7393359d24 (diff) | |
download | scummvm-rg350-dc5500e2464d3457d9dee70993ecd4340963946e.tar.gz scummvm-rg350-dc5500e2464d3457d9dee70993ecd4340963946e.tar.bz2 scummvm-rg350-dc5500e2464d3457d9dee70993ecd4340963946e.zip |
ACCESS: Cleanup of timer flags and some inventory logic
Diffstat (limited to 'engines/access/data.h')
-rw-r--r-- | engines/access/data.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/engines/access/data.h b/engines/access/data.h index b9da858216..67b9cfe9fd 100644 --- a/engines/access/data.h +++ b/engines/access/data.h @@ -51,6 +51,25 @@ struct TimerEntry { } }; +class TimerList : public Common::Array<TimerEntry> { +private: + Common::Array<TimerEntry> _savedTimers; +public: + bool _timersSavedFlag; +public: + TimerList(); + + /** + * Save a copy of all current timers + */ + void saveTimers(); + + /** + * Resetore the set of previously saved timers + */ + void restoreTimers(); +}; + class ExtraCell { public: int _vidTable; |