diff options
Diffstat (limited to 'src/msgbox.cpp')
-rw-r--r-- | src/msgbox.cpp | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/msgbox.cpp b/src/msgbox.cpp index c480070..a576189 100644 --- a/src/msgbox.cpp +++ b/src/msgbox.cpp @@ -29,9 +29,7 @@ class dMsgBoxManager_c : public dStageActor_c { DECLARE_STATE(LoadRes); DECLARE_STATE(Wait); DECLARE_STATE(BoxAppearWait); -// DECLARE_STATE(ButtonAppearWait); DECLARE_STATE(ShownWait); -// DECLARE_STATE(ButtonDisappearWait); DECLARE_STATE(BoxDisappearWait); static dMsgBoxManager_c *instance; @@ -61,8 +59,6 @@ dMsgBoxManager_c *dMsgBoxManager_c::build() { #define ANIM_BOX_APPEAR 0 #define ANIM_BOX_DISAPPEAR 1 -//#define ANIM_BUTTON_APPEAR 2 -//#define ANIM_BUTTON_DISAPPEAR 3 extern int MessageBoxIsShowing; @@ -76,13 +72,10 @@ int dMsgBoxManager_c::onCreate() { static const char *brlanNames[2] = { "BoxAppear.brlan", "BoxDisappear.brlan", -// "ButtonAppear.brlan", -// "ButtonDisappear.brlan" }; static const char *groupNames[2] = { "G_Box", "G_Box", -// "G_Button", "G_Button" }; layout.build("MessageBox.brlyt"); @@ -199,24 +192,6 @@ void dMsgBoxManager_c::executeState_BoxAppearWait() { void dMsgBoxManager_c::endState_BoxAppearWait() { } /*****************************************************************************/ -// Show Button -/*CREATE_STATE(dMsgBoxManager_c, ButtonAppearWait); - -void dMsgBoxManager_c::beginState_ButtonAppearWait() { - layout.enableNonLoopAnim(ANIM_BUTTON_APPEAR); - OSReport("Enabling button appear @ %d\n", GlobalTickCount); -} - -void dMsgBoxManager_c::executeState_ButtonAppearWait() { - if (!layout.isAnimOn(ANIM_BUTTON_APPEAR)) { - OSReport("Button appeared @ %d\n", GlobalTickCount); - state.setState(&StateID_ShownWait); - } -} - -void dMsgBoxManager_c::endState_ButtonAppearWait() { }*/ - -/*****************************************************************************/ // Wait For Player To Finish CREATE_STATE(dMsgBoxManager_c, ShownWait); @@ -231,24 +206,6 @@ void dMsgBoxManager_c::executeState_ShownWait() { void dMsgBoxManager_c::endState_ShownWait() { } /*****************************************************************************/ -// Hide Button -/*CREATE_STATE(dMsgBoxManager_c, ButtonDisappearWait); - -void dMsgBoxManager_c::beginState_ButtonDisappearWait() { - layout.enableNonLoopAnim(ANIM_BUTTON_DISAPPEAR); - OSReport("Enabling button disappear @ %d\n", GlobalTickCount); -} - -void dMsgBoxManager_c::executeState_ButtonDisappearWait() { - if (!layout.isAnimOn(ANIM_BUTTON_DISAPPEAR)) { - OSReport("Button disappeared @ %d\n", GlobalTickCount); - state.setState(&StateID_BoxDisappearWait); - } -} - -void dMsgBoxManager_c::endState_ButtonDisappearWait() { }*/ - -/*****************************************************************************/ // Hide Box CREATE_STATE(dMsgBoxManager_c, BoxDisappearWait); |