summaryrefslogtreecommitdiff
path: root/src/msgbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/msgbox.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/msgbox.cpp b/src/msgbox.cpp
index 99dd8c6..adbeb24 100644
--- a/src/msgbox.cpp
+++ b/src/msgbox.cpp
@@ -99,7 +99,6 @@ int dMsgBoxManager_c::onCreate() {
}
int dMsgBoxManager_c::onExecute() {
- //OSReport("E: %s\n", state.getCurrentState()->getName());
state.execute();
layout.execAnimations();
@@ -129,13 +128,9 @@ int dMsgBoxManager_c::onDelete() {
CREATE_STATE_E(dMsgBoxManager_c, LoadRes);
void dMsgBoxManager_c::executeState_LoadRes() {
- OSReport("Trying to load\n");
if (msgDataLoader.load("/NewerRes/Messages.bin")) {
- OSReport(":)\n");
state.setState(&StateID_Wait);
- OSReport("changed\n");
} else {
- OSReport(":(\n");
}
}
@@ -164,7 +159,6 @@ void dMsgBoxManager_c::showMessage(int id) {
}
if (title == 0) {
- OSReport("WARNING! Tried to show message %x but it could not be found!\n", id);
return;
}
@@ -181,12 +175,10 @@ void dMsgBoxManager_c::beginState_BoxAppearWait() {
visible = true;
MessageBoxIsShowing = true;
layout.enableNonLoopAnim(ANIM_BOX_APPEAR);
- OSReport("Enabling box appear @ %d\n", GlobalTickCount);
}
void dMsgBoxManager_c::executeState_BoxAppearWait() {
if (!layout.isAnimOn(ANIM_BOX_APPEAR)) {
- OSReport("Box appeared @ %d\n", GlobalTickCount);
state.setState(&StateID_ShownWait);
}
}
@@ -213,12 +205,10 @@ CREATE_STATE(dMsgBoxManager_c, BoxDisappearWait);
void dMsgBoxManager_c::beginState_BoxDisappearWait() {
layout.enableNonLoopAnim(ANIM_BOX_DISAPPEAR);
- OSReport("Enabling box disappear @ %d\n", GlobalTickCount);
}
void dMsgBoxManager_c::executeState_BoxDisappearWait() {
if (!layout.isAnimOn(ANIM_BOX_DISAPPEAR)) {
- OSReport("Box disappeared @ %d\n", GlobalTickCount);
state.setState(&StateID_Wait);
for (int i = 0; i < 2; i++)
@@ -265,7 +255,6 @@ CREATE_STATE(daEnMsgBlock_c, Wait);
int daEnMsgBlock_c::onCreate() {
- OSReport("Creating Block\n");
blockInit(pos.y);
physicsInfo.x1 = -8;
@@ -292,7 +281,6 @@ int daEnMsgBlock_c::onCreate() {
tile.tileNumber = 0x98;
doStateChange(&daEnMsgBlock_c::StateID_Wait);
- OSReport("Created Block\n");
return true;
}