aboutsummaryrefslogtreecommitdiff
path: root/sky/control.h
diff options
context:
space:
mode:
authorMax Horn2004-06-25 22:39:21 +0000
committerMax Horn2004-06-25 22:39:21 +0000
commit6b722ff11bcaa4622cf662245819993316eb8c5d (patch)
tree32c18fbb30a80698904e50377b5ce2b83739246d /sky/control.h
parent7a8d469c666f162570f633ec465798e1e5720eef (diff)
downloadscummvm-rg350-6b722ff11bcaa4622cf662245819993316eb8c5d.tar.gz
scummvm-rg350-6b722ff11bcaa4622cf662245819993316eb8c5d.tar.bz2
scummvm-rg350-6b722ff11bcaa4622cf662245819993316eb8c5d.zip
Added Engine::_saveFileMan; thus was able to get rid of auto_ptr usage again
svn-id: r14058
Diffstat (limited to 'sky/control.h')
-rw-r--r--sky/control.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sky/control.h b/sky/control.h
index c670c4f5cf..8a29df20e7 100644
--- a/sky/control.h
+++ b/sky/control.h
@@ -26,6 +26,7 @@
#include "common/scummsys.h"
class OSystem;
+class SaveFileManager;
namespace Sky {
@@ -174,7 +175,7 @@ private:
class Control {
public:
- Control(Screen *screen, Disk *disk, Mouse *mouse, Text *text, MusicBase *music, Logic *logic, Sound *sound, OSystem *system, const char *savePath);
+ Control(SaveFileManager *saveFileMan, Screen *screen, Disk *disk, Mouse *mouse, Text *text, MusicBase *music, Logic *logic, Sound *sound, OSystem *system, const char *savePath);
void doControlPanel(void);
void doLoadSavePanel(void);
void restartGame(void);
@@ -242,6 +243,7 @@ private:
void appendMemList(uint16 *pMem);
void freeMemList(void);
+ SaveFileManager *_saveFileMan;
Screen *_skyScreen;
Disk *_skyDisk;
Mouse *_skyMouse;