diff options
author | Filippos Karapetis | 2015-06-16 10:02:32 +0300 |
---|---|---|
committer | Filippos Karapetis | 2015-06-16 10:02:32 +0300 |
commit | 7e6539f400f0607e35b269dfb9e33459dc2e85cf (patch) | |
tree | ea449548ed60516ff1642aaab0f2bbf7c6b1b02b /engines/sherlock/scalpel/scalpel_map.cpp | |
parent | 25e729efe0dc9cedf31bbedc12c393de756ed9d7 (diff) | |
download | scummvm-rg350-7e6539f400f0607e35b269dfb9e33459dc2e85cf.tar.gz scummvm-rg350-7e6539f400f0607e35b269dfb9e33459dc2e85cf.tar.bz2 scummvm-rg350-7e6539f400f0607e35b269dfb9e33459dc2e85cf.zip |
SHERLOCK: Use IS_3DO in more places
Diffstat (limited to 'engines/sherlock/scalpel/scalpel_map.cpp')
-rw-r--r-- | engines/sherlock/scalpel/scalpel_map.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sherlock/scalpel/scalpel_map.cpp b/engines/sherlock/scalpel/scalpel_map.cpp index bde56c874d..2177fc5885 100644 --- a/engines/sherlock/scalpel/scalpel_map.cpp +++ b/engines/sherlock/scalpel/scalpel_map.cpp @@ -142,7 +142,7 @@ int ScalpelMap::show() { // Load the entire map ImageFile *bigMap = NULL; - if (_vm->getPlatform() != Common::kPlatform3DO) { + if (!IS_3DO) { // PC bigMap = new ImageFile("bigmap.vgs"); screen.setPalette(bigMap->_palette); @@ -154,7 +154,7 @@ int ScalpelMap::show() { // Load need sprites setupSprites(); - if (_vm->getPlatform() != Common::kPlatform3DO) { + if (!IS_3DO) { screen._backBuffer1.blitFrom((*bigMap)[0], Common::Point(-_bigPos.x, -_bigPos.y)); screen._backBuffer1.blitFrom((*bigMap)[1], Common::Point(-_bigPos.x, SHERLOCK_SCREEN_HEIGHT - _bigPos.y)); screen._backBuffer1.blitFrom((*bigMap)[2], Common::Point(SHERLOCK_SCREEN_WIDTH - _bigPos.x, -_bigPos.y)); @@ -220,7 +220,7 @@ int ScalpelMap::show() { // Map has scrolled, so redraw new map view changed = false; - if (_vm->getPlatform() != Common::kPlatform3DO) { + if (!IS_3DO) { screen._backBuffer1.blitFrom((*bigMap)[0], Common::Point(-_bigPos.x, -_bigPos.y)); screen._backBuffer1.blitFrom((*bigMap)[1], Common::Point(-_bigPos.x, SHERLOCK_SCREEN_HEIGHT - _bigPos.y)); screen._backBuffer1.blitFrom((*bigMap)[2], Common::Point(SHERLOCK_SCREEN_WIDTH - _bigPos.x, -_bigPos.y)); @@ -300,7 +300,7 @@ void ScalpelMap::setupSprites() { Scene &scene = *_vm->_scene; _savedPos.x = -1; - if (_vm->getPlatform() != Common::kPlatform3DO) { + if (!IS_3DO) { // PC _mapCursors = new ImageFile("omouse.vgs"); _shapes = new ImageFile("mapicon.vgs"); |