FULLPIPE: Added more debug output to scene04

This commit is contained in:
Eugene Sandulenko 2016-09-22 07:44:57 +02:00
parent 785696ae5d
commit 19780a8e05

View File

@ -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);