diff options
author | Paul Gilbert | 2015-03-21 11:24:35 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-03-21 11:24:35 -0400 |
commit | b6076dd52458320f39442bc225ef8b0ce531ea51 (patch) | |
tree | dd8ac2cc125e2fe43ea431437b55c8df37160fad /engines/sherlock/sherlock.cpp | |
parent | 06fbefc7875b37dd531b65c42087e4e6782c03a6 (diff) | |
download | scummvm-rg350-b6076dd52458320f39442bc225ef8b0ce531ea51.tar.gz scummvm-rg350-b6076dd52458320f39442bc225ef8b0ce531ea51.tar.bz2 scummvm-rg350-b6076dd52458320f39442bc225ef8b0ce531ea51.zip |
SHERLOCK: Implemented setWalking
Diffstat (limited to 'engines/sherlock/sherlock.cpp')
-rw-r--r-- | engines/sherlock/sherlock.cpp | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/engines/sherlock/sherlock.cpp b/engines/sherlock/sherlock.cpp index 60e32bda82..2787e2b924 100644 --- a/engines/sherlock/sherlock.cpp +++ b/engines/sherlock/sherlock.cpp @@ -44,6 +44,7 @@ SherlockEngine::SherlockEngine(OSystem *syst, const SherlockGameDescription *gam _useEpilogue2 = false; _justLoaded = false; _talkToAbort = false; + _onChessboard = false; } SherlockEngine::~SherlockEngine() { @@ -65,20 +66,8 @@ void SherlockEngine::initialize() { DebugMan.addDebugChannel(kDebugScript, "scripts", "Script debug level"); - /* - int midiDriver = MidiDriver::detectMusicDriver(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI); - bool native_mt32 = ((midiDriver == MD_MT32) || ConfMan.getBool("native_mt32")); - - MidiDriver *driver = MidiDriver::createMidi(midiDriver); - if (native_mt32) - driver->property(MidiDriver::PROP_CHANNEL_MASK, 0x03FE); - - _midi = new MidiPlayer(this, driver); - _midi->setGM(true); - _midi->setNativeMT32(native_mt32); - */ - ImageFile::setVm(this); + Sprite::setVm(this); _res = new Resources(); _animation = new Animation(this); _debugger = new Debugger(this); |