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/scalpel/scalpel_map.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/scalpel/scalpel_map.cpp')
-rw-r--r-- | engines/sherlock/scalpel/scalpel_map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/scalpel/scalpel_map.cpp b/engines/sherlock/scalpel/scalpel_map.cpp index 2177fc5885..efb5e80d0f 100644 --- a/engines/sherlock/scalpel/scalpel_map.cpp +++ b/engines/sherlock/scalpel/scalpel_map.cpp @@ -56,7 +56,7 @@ const byte *MapPaths::getPath(int srcLocation, int destLocation) { /*----------------------------------------------------------------*/ -ScalpelMap::ScalpelMap(SherlockEngine *vm): Map(vm), _topLine(g_system->getWidth(), 12, vm->getPlatform()) { +ScalpelMap::ScalpelMap(SherlockEngine *vm): Map(vm), _topLine(g_system->getWidth(), 12) { _mapCursors = nullptr; _shapes = nullptr; _iconShapes = nullptr; @@ -315,7 +315,7 @@ void ScalpelMap::setupSprites() { _cursorIndex = 0; events.setCursor((*_mapCursors)[_cursorIndex]._frame); - _iconSave.create((*_shapes)[4]._width, (*_shapes)[4]._height, _vm->getPlatform()); + _iconSave.create((*_shapes)[4]._width, (*_shapes)[4]._height); Person &p = people[HOLMES]; p._description = " "; p._type = CHARACTER; |