diff options
author | Paul Gilbert | 2015-06-18 19:21:04 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-18 19:21:04 -0400 |
commit | 1732428aa63c35c3989568fbc3a3e9c63bc8482c (patch) | |
tree | 915d16465e39c28b65c84b7e2d7f1688a16bacf2 /engines/sherlock/sherlock.cpp | |
parent | f6c710e5b33b72723c4983bc498a4127497d772e (diff) | |
download | scummvm-rg350-1732428aa63c35c3989568fbc3a3e9c63bc8482c.tar.gz scummvm-rg350-1732428aa63c35c3989568fbc3a3e9c63bc8482c.tar.bz2 scummvm-rg350-1732428aa63c35c3989568fbc3a3e9c63bc8482c.zip |
SHERLOCK: RT: Implement font _yOffsets table
Since this table must only be set up for RT when changing fonts, I
needed to put an engine reference in the Fonts base class. Because
of this, I've been able to simplify the creation of the various
surfaces, since you no longer need to pass in the platform
Diffstat (limited to 'engines/sherlock/sherlock.cpp')
-rw-r--r-- | engines/sherlock/sherlock.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/sherlock.cpp b/engines/sherlock/sherlock.cpp index fe92ff227f..d1e52f670a 100644 --- a/engines/sherlock/sherlock.cpp +++ b/engines/sherlock/sherlock.cpp @@ -78,10 +78,10 @@ void SherlockEngine::initialize() { DebugMan.addDebugChannel(kDebugLevelMT32Driver, "MT32", "MT32 driver debugging"); DebugMan.addDebugChannel(kDebugLevelMusic, "Music", "Music debugging"); + Fonts::setVm(this); ImageFile::setVm(this); ImageFile3DO::setVm(this); - Object::setVm(this); - Sprite::setVm(this); + BaseObject::setVm(this); if (isDemo()) { Common::File f; |