diff options
author | Treeki <treeki@gmail.com> | 2013-11-17 20:42:06 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2013-11-17 20:42:06 +0100 |
commit | c220e400436703c71adf2b49a04a863b72c41d29 (patch) | |
tree | 5d615b6834ee24233549a5ee4860f363c6e50185 /src/msgbox.h | |
parent | d55debf80b417793ce924ec977ed3a16413fd5d6 (diff) | |
download | kamek-c220e400436703c71adf2b49a04a863b72c41d29.tar.gz kamek-c220e400436703c71adf2b49a04a863b72c41d29.zip |
broken translations and shit, possibly final commit before public releaselevel-select
Diffstat (limited to '')
-rw-r--r-- | src/msgbox.h | 16 |
1 files changed, 1 insertions, 15 deletions
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<dMsgBoxManager_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 */ |