diff options
Diffstat (limited to 'src/levelspecial.cpp')
-rw-r--r-- | src/levelspecial.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/levelspecial.cpp b/src/levelspecial.cpp index 3ce6aab..b5447e9 100644 --- a/src/levelspecial.cpp +++ b/src/levelspecial.cpp @@ -82,9 +82,7 @@ bool LevelSpecial_Create(LevelSpecial *self) { char eventNum = (self->settings >> 24) & 0xFF; self->eventFlag = (u64)1 << (eventNum - 1); - OSReport("Special Event created @%p event %d\n", self, eventNum); - OSReport("Eventnum: %d. Event flag: %08x %08x\n", eventNum, self->eventFlag >> 32, self->eventFlag & 0xFFFFFFFF); self->type = (self->settings) & 15; self->effect = (self->settings >> 4) & 15; @@ -103,7 +101,6 @@ bool LevelSpecial_Execute(LevelSpecial *self) { void LevelSpecial_Update(LevelSpecial *self) { - //OSReport("%08x%08x", EventTable->events >> 32, EventTable->events & 0xFFFFFFFF); u8 newEvState = 0; if (EventTable->events & self->eventFlag) @@ -112,13 +109,11 @@ void LevelSpecial_Update(LevelSpecial *self) { if (newEvState == self->lastEvState) return; - OSReport("Event state changed from %d to %d\n", self->lastEvState, newEvState); u8 offState; if (newEvState == ACTIVATE) { offState = (newEvState == 1) ? 1 : 0; - OSReport("Activate Special Event!", offState); switch (self->type) { // case 1: // Time Freeze @@ -185,6 +180,7 @@ void LevelSpecial_Update(LevelSpecial *self) { // // Mario->ePhysics.info.yDistToEdge = Mario->ePhysics.info.yDistToEdge * 4.0; // } // } + // else //Half-Pint // { @@ -260,7 +256,6 @@ void LevelSpecial_Update(LevelSpecial *self) { else { offState = (newEvState == 1) ? 0 : 1; - OSReport("Deactivate Special Event", offState); switch (self->type) { // case 1: // Time Freeze @@ -286,9 +281,7 @@ void LevelSpecial_Update(LevelSpecial *self) { // MarioSize = 4.0; // // for(int n=0; n<4; n++) { -// OSReport("Changing Physics for Player %d\n", n); // Mario = GetSpecificPlayerActor(n); -// OSReport("Player Actor at %08x\n", Mario); // if(Mario == 0) // continue; // Mario->aPhysics.info.xDistToCenter = Mario->aPhysics.info.xDistToCenter / 4.0; @@ -380,12 +373,10 @@ void LevelSpecial_Update(LevelSpecial *self) { break; } } - OSReport("Special Event is %d\n", offState); - OSReport("Success!\n"); self->lastEvState = newEvState; |