aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/xeen.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-01-25 21:19:59 -0500
committerPaul Gilbert2015-01-25 21:19:59 -0500
commit2abce62b8fd1b29d2c351ca7502f21010882674f (patch)
treeff514584451018778baac1ce7b08f27611d156f8 /engines/xeen/xeen.cpp
parent84741d73a09f45232b0dccd26df5b05eb6c80476 (diff)
downloadscummvm-rg350-2abce62b8fd1b29d2c351ca7502f21010882674f.tar.gz
scummvm-rg350-2abce62b8fd1b29d2c351ca7502f21010882674f.tar.bz2
scummvm-rg350-2abce62b8fd1b29d2c351ca7502f21010882674f.zip
XEEN: Add skeleton for spells class
Diffstat (limited to 'engines/xeen/xeen.cpp')
-rw-r--r--engines/xeen/xeen.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/xeen/xeen.cpp b/engines/xeen/xeen.cpp
index 8489f86ed5..8879b15a0d 100644
--- a/engines/xeen/xeen.cpp
+++ b/engines/xeen/xeen.cpp
@@ -47,6 +47,7 @@ XeenEngine::XeenEngine(OSystem *syst, const XeenGameDescription *gameDesc)
_screen = nullptr;
_scripts = nullptr;
_sound = nullptr;
+ _spells = nullptr;
_eventData = nullptr;
_dangerSenseAllowed = false;
_noDirectionSense = false;
@@ -67,6 +68,7 @@ XeenEngine::~XeenEngine() {
delete _screen;
delete _scripts;
delete _sound;
+ delete _spells;
delete _eventData;
delete _files;
}
@@ -91,6 +93,7 @@ void XeenEngine::initialize() {
_scripts = new Scripts(this);
_screen->setupWindows();
_sound = new SoundManager(this);
+ _spells = new Spells(this);
File f("029.obj");
_eventData = f.readStream(f.size());