summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-02-01 00:29:17 +0100
committerTreeki <treeki@gmail.com>2012-02-01 00:29:17 +0100
commit0136364671054f10e5a1ad484035e877987707b2 (patch)
tree0d08c60ad89a3b043e14252ac3eaba4539033301
parentab9cb395b290ccacd6092b0e473f35520188232c (diff)
downloadkamek-0136364671054f10e5a1ad484035e877987707b2.tar.gz
kamek-0136364671054f10e5a1ad484035e877987707b2.zip
removed some dead code from MsgBox
-rw-r--r--src/msgbox.cpp43
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);