diff options
author | Eugene Sandulenko | 2016-09-22 07:44:57 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-22 18:18:59 +0200 |
commit | 19780a8e0544c4c81b4cd04ae59f2366ec647da0 (patch) | |
tree | b905e665b3c2de55f388a2f90d4e34e2f3456771 /engines | |
parent | 785696ae5db6f84b2d4fd26d788a07bd08594a13 (diff) | |
download | scummvm-rg350-19780a8e0544c4c81b4cd04ae59f2366ec647da0.tar.gz scummvm-rg350-19780a8e0544c4c81b4cd04ae59f2366ec647da0.tar.bz2 scummvm-rg350-19780a8e0544c4c81b4cd04ae59f2366ec647da0.zip |
FULLPIPE: Added more debug output to scene04
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/scenes/scene04.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/engines/fullpipe/scenes/scene04.cpp b/engines/fullpipe/scenes/scene04.cpp index 3bdc338630..a093eab6fb 100644 --- a/engines/fullpipe/scenes/scene04.cpp +++ b/engines/fullpipe/scenes/scene04.cpp @@ -67,7 +67,7 @@ void scene04_springCallback(int *phase) { void scene04_initScene(Scene *sc) { debugC(1, kDebugSceneLogic, "scene04_initScene()"); -#if 0 +#if 1 Inventory2 *inv = getGameLoaderInventory(); inv->addItem(ANI_INV_COIN, 1); inv->rebuildItemRects(); @@ -573,6 +573,8 @@ MessageQueue *sceneHandler04_kozFly3(StaticANIObject *ani, double phase) { AniHandler aniHandler; MakeQueueStruct mkQueue; + debugC(2, kDebugSceneLogic, "scene04: kozFly3 (OK)"); + aniHandler.attachObject(ANI_KOZAWKA); mkQueue.ani = ani; @@ -622,6 +624,8 @@ MessageQueue *sceneHandler04_kozFly5(StaticANIObject *ani, double phase) { AniHandler aniHandler; MakeQueueStruct mkQueue; + debugC(2, kDebugSceneLogic, "scene04: kozFly5 (OK)"); + aniHandler.attachObject(ANI_KOZAWKA); mkQueue.ani = ani; @@ -693,6 +697,8 @@ MessageQueue *sceneHandler04_kozFly6(StaticANIObject *ani) { AniHandler aniHandler; MakeQueueStruct mkQueue; + debugC(2, kDebugSceneLogic, "scene04: kozFly6 (OK)"); + aniHandler.attachObject(ANI_KOZAWKA); mkQueue.ani = ani; @@ -751,6 +757,8 @@ MessageQueue *sceneHandler04_kozFly7(StaticANIObject *ani, double phase) { AniHandler aniHandler; MakeQueueStruct mkQueue; + debugC(2, kDebugSceneLogic, "scene04: kozFly7"); + aniHandler.attachObject(ANI_KOZAWKA); mkQueue.ani = ani; @@ -870,7 +878,7 @@ void sceneHandler04_shootKozyawka() { else mq = sceneHandler04_kozFly7(g_vars->scene04_walkingKozyawka, (double)(phase - 6) * 0.3333333333333333); } else { - mq = sceneHandler04_kozFly5(g_vars->scene04_walkingKozyawka, (double)(phase - 2) * 0.3333333333333333); + mq = sceneHandler04_kozFly7(g_vars->scene04_walkingKozyawka, (double)(phase - 2) * 0.3333333333333333); } } else { mq = sceneHandler04_kozFly3(g_vars->scene04_walkingKozyawka, (double)phase * 0.5); @@ -1179,6 +1187,8 @@ void sceneHandler04_handTake() { } void sceneHandler04_putKozyawkaBack(StaticANIObject *ani) { + debugC(2, kDebugSceneLogic, "scene04: putKozyawkaBack"); + g_vars->scene04_bottleObjList.push_back(ani); g_vars->scene04_kozyawkiAni.push_back(ani); |