diff options
author | Max Horn | 2004-06-25 22:39:21 +0000 |
---|---|---|
committer | Max Horn | 2004-06-25 22:39:21 +0000 |
commit | 6b722ff11bcaa4622cf662245819993316eb8c5d (patch) | |
tree | 32c18fbb30a80698904e50377b5ce2b83739246d /sword1/control.h | |
parent | 7a8d469c666f162570f633ec465798e1e5720eef (diff) | |
download | scummvm-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 'sword1/control.h')
-rw-r--r-- | sword1/control.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sword1/control.h b/sword1/control.h index 0c111cd469..a020f477f6 100644 --- a/sword1/control.h +++ b/sword1/control.h @@ -26,6 +26,7 @@ #include "sworddefs.h" class OSystem; +class SaveFileManager; namespace Sword1 { @@ -67,7 +68,7 @@ struct ButtonInfo { class Control { public: - Control(ResMan *pResMan, ObjectMan *pObjMan, OSystem *system, Mouse *pMouse, Sound *pSound, Music *pMusic, const char *savePath); + Control(SaveFileManager *saveFileMan, ResMan *pResMan, ObjectMan *pObjMan, OSystem *system, Mouse *pMouse, Sound *pSound, Music *pMusic, const char *savePath); ~Control(void); uint8 runPanel(void); void doRestore(void); @@ -119,6 +120,7 @@ private: static const ButtonInfo _deathButtons[3], _panelButtons[7], _saveButtons[16], _volumeButtons[4]; static const uint8 _languageStrings[8 * 20][43]; const uint8 (*_lStrings)[43]; + SaveFileManager *_saveFileMan; ObjectMan *_objMan; ResMan *_resMan; OSystem *_system; |