diff options
author | Eugene Sandulenko | 2016-09-15 15:44:36 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-15 15:44:36 +0200 |
commit | 20cdb0182a49bff7f5f61169be5d8879dbbb9930 (patch) | |
tree | 46ba8810fb8dab4ace6b4f7e64ba04487c18b364 /engines | |
parent | 7155f143103dbeb86a90c5c8de6e4743b50041fb (diff) | |
download | scummvm-rg350-20cdb0182a49bff7f5f61169be5d8879dbbb9930.tar.gz scummvm-rg350-20cdb0182a49bff7f5f61169be5d8879dbbb9930.tar.bz2 scummvm-rg350-20cdb0182a49bff7f5f61169be5d8879dbbb9930.zip |
FULLPIPE: Added debug info to scene28
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/scenes/scene28.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/fullpipe/scenes/scene28.cpp b/engines/fullpipe/scenes/scene28.cpp index d7d2d213ee..391b79be88 100644 --- a/engines/fullpipe/scenes/scene28.cpp +++ b/engines/fullpipe/scenes/scene28.cpp @@ -185,6 +185,8 @@ void sceneHandler28_turnOn2() { } void sceneHandler28_startWork1() { + debugC(2, kDebugSceneLogic, "scene28: startWork"); + g_fp->_aniMan->hide(); StaticANIObject *man = g_fp->_currentScene->getStaticANIObject1ById(ANI_MAN_28, -1); @@ -245,6 +247,8 @@ void sceneHandler28_lift6Start() { void sceneHandler28_clickLift(int keycode) { int x = 0; + debugC(2, kDebugSceneLogic, "scene28: clickLift(%d)", keycode); + switch (keycode) { case 0: x = 600; break; case 1: x = 824; break; @@ -258,6 +262,8 @@ void sceneHandler28_clickLift(int keycode) { if (abs(x - g_fp->_aniMan->_ox) > 1 || abs(472 - g_fp->_aniMan->_oy) > 1 || g_fp->_aniMan->_movement || g_fp->_aniMan->_statics->_staticsId != ST_MAN_UP) { + debugC(2, kDebugSceneLogic, "scene28: clickLift: overwrite"); + MessageQueue *mq = getCurrSceneSc2MotionController()->startMove(g_fp->_aniMan, x, 472, 1, ST_MAN_UP); if (mq) { ExCommand *ex = new ExCommand(0, 17, MSG_SC28_CLICKLIFT, 0, 0, 0, 1, 0, 0, 0); |