summaryrefslogtreecommitdiff
path: root/src/msgbox.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/msgbox.h16
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 */