From d059f3b7d661dc8d080880e85e408a75f273714e Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 13 Sep 2016 10:32:09 +0200 Subject: FULLPIPE: Added more debug to scene29 --- engines/fullpipe/scenes/scene29.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/fullpipe/scenes/scene29.cpp b/engines/fullpipe/scenes/scene29.cpp index 6b68da00e0..f77af6f438 100644 --- a/engines/fullpipe/scenes/scene29.cpp +++ b/engines/fullpipe/scenes/scene29.cpp @@ -389,6 +389,8 @@ void sceneHandler29_ballHitCheck() { } void sceneHandler29_manFromL() { + debugC(2, kDebugSceneLogic, "scene29: manFromL"); + if (g_vars->scene29_manX < 497 && !g_vars->scene29_scrollingDisabled) { getCurrSceneSc2MotionController()->activate(); getGameLoaderInteractionController()->enableFlag24(); @@ -403,6 +405,8 @@ void sceneHandler29_manFromL() { } void sceneHandler29_manFromR() { + debugC(2, kDebugSceneLogic, "scene29: manFromR"); + getCurrSceneSc2MotionController()->activate(); getGameLoaderInteractionController()->enableFlag24(); @@ -424,6 +428,8 @@ int sceneHandler29_updateScreenCallback() { } void sceneHandler29_manToL() { + debugC(2, kDebugSceneLogic, "scene29: manToL"); + getCurrSceneSc2MotionController()->deactivate(); getGameLoaderInteractionController()->disableFlag24(); @@ -440,6 +446,8 @@ void sceneHandler29_manToL() { } void sceneHandler29_manToR() { + debugC(2, kDebugSceneLogic, "scene29: manToR"); + getCurrSceneSc2MotionController()->deactivate(); getGameLoaderInteractionController()->disableFlag24(); @@ -521,7 +529,9 @@ void sceneHandler29_shootersEscape() { g_fp->_aniMan->setOXY(g_vars->scene29_manX, g_vars->scene29_manY); if (g_vars->scene29_manX > 1310 && !g_vars->scene29_shooter1->_movement && !g_vars->scene29_shooter2->_movement - && g_vars->scene29_shooter1->_statics->_staticsId == ST_STR1_RIGHT) { + && g_vars->scene29_shooter1->_statics->_staticsId == ST_STR1_RIGHT) { + debugC(2, kDebugSceneLogic, "scene29: shootersEscape"); + g_vars->scene29_shootCountdown = 0; g_vars->scene29_shooter1->changeStatics2(ST_STR1_STAND); -- cgit v1.2.3