diff options
author | Paul Gilbert | 2014-12-30 22:50:24 -1000 |
---|---|---|
committer | Paul Gilbert | 2014-12-30 22:50:24 -1000 |
commit | 9506635bad402d58886cc9a47512871b321a10a2 (patch) | |
tree | 28e5c8ae598df25dc16770aca56b721f8225dd25 /engines/xeen/xeen.cpp | |
parent | fb47ec9627937fe5031f20d16c175e5a12b5dfe2 (diff) | |
download | scummvm-rg350-9506635bad402d58886cc9a47512871b321a10a2.tar.gz scummvm-rg350-9506635bad402d58886cc9a47512871b321a10a2.tar.bz2 scummvm-rg350-9506635bad402d58886cc9a47512871b321a10a2.zip |
XEEN: Implemented Window functionality
Diffstat (limited to 'engines/xeen/xeen.cpp')
-rw-r--r-- | engines/xeen/xeen.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/xeen/xeen.cpp b/engines/xeen/xeen.cpp index 311e139b21..505d9bd2db 100644 --- a/engines/xeen/xeen.cpp +++ b/engines/xeen/xeen.cpp @@ -38,6 +38,7 @@ XeenEngine::XeenEngine(OSystem *syst, const XeenGameDescription *gameDesc) _events = nullptr; _screen = nullptr; _sound = nullptr; + _eventData = nullptr; } XeenEngine::~XeenEngine() { @@ -45,6 +46,7 @@ XeenEngine::~XeenEngine() { delete _events; delete _screen; delete _sound; + delete _eventData; } void XeenEngine::initialize() { @@ -61,6 +63,9 @@ void XeenEngine::initialize() { _screen = new Screen(this); _sound = new SoundManager(this); + File f("029.obj"); + _eventData = f.readStream(f.size()); + // Set graphics mode initGraphics(320, 200, false); |