aboutsummaryrefslogtreecommitdiff
path: root/base/engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/engine.h')
-rw-r--r--base/engine.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/engine.h b/base/engine.h
index 474c0c3783..5dafb272bc 100644
--- a/base/engine.h
+++ b/base/engine.h
@@ -44,6 +44,9 @@ protected:
const Common::String _gameDataPath;
Common::SaveFileManager *_saveFileMan;
+private:
+ int _autosavePeriod;
+
public:
Engine(OSystem *syst);
virtual ~Engine();
@@ -72,6 +75,9 @@ public:
/** On some systems, check if the game appears to be run from CD. */
void checkCD();
+
+ /* Indicate if an autosave should be performed */
+ bool shouldPerformAutoSave(int lastSaveTime);
};
extern Engine *g_engine;