From c220e400436703c71adf2b49a04a863b72c41d29 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 17 Nov 2013 20:42:06 +0100 Subject: broken translations and shit, possibly final commit before public release --- src/msgbox.h | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/msgbox.h') diff --git a/src/msgbox.h b/src/msgbox.h index 22ae812..f2d0e16 100644 --- a/src/msgbox.h +++ b/src/msgbox.h @@ -7,7 +7,7 @@ class dMsgBoxManager_c : public dStageActor_c { public: void showMessage(int id, bool canCancel=true, int delay=-1); - dMsgBoxManager_c() : state(this, &StateID_LoadRes) { } + dMsgBoxManager_c() : state(this, &StateID_Wait) { } int onCreate(); int onDelete(); @@ -20,7 +20,6 @@ class dMsgBoxManager_c : public dStageActor_c { int afterDraw(int) { return true; } m2d::EmbedLayout_c layout; - dDvdLoader_c msgDataLoader; bool layoutLoaded; bool visible; @@ -31,7 +30,6 @@ class dMsgBoxManager_c : public dStageActor_c { dStateWrapper_c state; USING_STATES(dMsgBoxManager_c); - DECLARE_STATE(LoadRes); DECLARE_STATE(Wait); DECLARE_STATE(BoxAppearWait); DECLARE_STATE(ShownWait); @@ -39,17 +37,5 @@ class dMsgBoxManager_c : public dStageActor_c { static dMsgBoxManager_c *instance; static dMsgBoxManager_c *build(); - - private: - struct entry_s { - u32 id; - u32 titleOffset; - u32 msgOffset; - }; - - struct header_s { - u32 count; - entry_s entry[1]; - }; }; #endif /* MSGBOX_H */ -- cgit v1.2.3