diff options
author | Paul Gilbert | 2015-01-02 11:01:41 -1000 |
---|---|---|
committer | Paul Gilbert | 2015-01-02 11:01:41 -1000 |
commit | feacce66b92f17c655d70ec2cc233fc63feb517c (patch) | |
tree | 9116c96c4ef9ca6bd93c11b974d57cd989f74911 /engines/xeen/xeen.cpp | |
parent | 971a70a2b3cea2ab6d0d77b130c8300ad5f05ca7 (diff) | |
download | scummvm-rg350-feacce66b92f17c655d70ec2cc233fc63feb517c.tar.gz scummvm-rg350-feacce66b92f17c655d70ec2cc233fc63feb517c.tar.bz2 scummvm-rg350-feacce66b92f17c655d70ec2cc233fc63feb517c.zip |
XEEN: Implemented dynamic data loading for new games
Diffstat (limited to 'engines/xeen/xeen.cpp')
-rw-r--r-- | engines/xeen/xeen.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/xeen/xeen.cpp b/engines/xeen/xeen.cpp index 35b4188c06..96a4f5f3cf 100644 --- a/engines/xeen/xeen.cpp +++ b/engines/xeen/xeen.cpp @@ -37,6 +37,7 @@ XeenEngine::XeenEngine(OSystem *syst, const XeenGameDescription *gameDesc) : _gameDescription(gameDesc), Engine(syst), _randomSource("Xeen") { _debugger = nullptr; _events = nullptr; + _saves = nullptr; _screen = nullptr; _sound = nullptr; _eventData = nullptr; @@ -45,6 +46,7 @@ XeenEngine::XeenEngine(OSystem *syst, const XeenGameDescription *gameDesc) XeenEngine::~XeenEngine() { delete _debugger; delete _events; + delete _saves; delete _screen; delete _sound; delete _eventData; @@ -61,6 +63,7 @@ void XeenEngine::initialize() { FileManager::init(this); _debugger = new Debugger(this); _events = new EventsManager(this); + _saves = new SavesManager(this); _screen = new Screen(this); _screen->setupWindows(); _sound = new SoundManager(this); @@ -237,7 +240,8 @@ void XeenEngine::showMainMenu() { } void XeenEngine::playGame() { - + _saves->reset(); +// drawUI(); } void XeenEngine::drawUI() { |