diff options
author | Filippos Karapetis | 2015-10-22 02:14:41 +0300 |
---|---|---|
committer | Filippos Karapetis | 2015-10-22 02:14:41 +0300 |
commit | 9bfa51ef300cf95872ca2325b7bd0d64f85372e6 (patch) | |
tree | 4a492273ace032bb94743af615e961b81eb12bf0 /engines/mads/phantom/phantom_scenes1.cpp | |
parent | 80dae7b8fcd3e20a0f18d9287a9fc44793f6c38a (diff) | |
download | scummvm-rg350-9bfa51ef300cf95872ca2325b7bd0d64f85372e6.tar.gz scummvm-rg350-9bfa51ef300cf95872ca2325b7bd0d64f85372e6.tar.bz2 scummvm-rg350-9bfa51ef300cf95872ca2325b7bd0d64f85372e6.zip |
MADS: Phantom: Expand the existing camera adjustment logic for V2 games
This fixes all of the scenes that expand over the screen (e.g. 101, 104,
109 in Phantom, as well as the several scenes in the Dragonsphere intro).
Also added a new debugger command, "set_camera", which sets the scene
camera to specific coordinates
Diffstat (limited to 'engines/mads/phantom/phantom_scenes1.cpp')
-rw-r--r-- | engines/mads/phantom/phantom_scenes1.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/mads/phantom/phantom_scenes1.cpp b/engines/mads/phantom/phantom_scenes1.cpp index 5b8abbd4fa..0b6f4af753 100644 --- a/engines/mads/phantom/phantom_scenes1.cpp +++ b/engines/mads/phantom/phantom_scenes1.cpp @@ -254,8 +254,7 @@ void Scene101::step() { } } - if (!_startSittingFl && (_globals[kBrieTalkStatus] != 2)) { - warning("TODO: Add a check on view port x > 200"); + if (_scene->_posAdjust.x > 200 && !_startSittingFl && (_globals[kBrieTalkStatus] != 2)) { _startSittingFl = true; _game._player.walk(Common::Point(490, 119), FACING_NORTHEAST); _game._player._stepEnabled = false; |