diff options
Diffstat (limited to '')
-rw-r--r-- | src/msgbox.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/msgbox.h b/src/msgbox.h index f71749d..22ae812 100644 --- a/src/msgbox.h +++ b/src/msgbox.h @@ -5,7 +5,7 @@ class dMsgBoxManager_c : public dStageActor_c { public: - void showMessage(int id); + void showMessage(int id, bool canCancel=true, int delay=-1); dMsgBoxManager_c() : state(this, &StateID_LoadRes) { } @@ -25,6 +25,9 @@ class dMsgBoxManager_c : public dStageActor_c { bool layoutLoaded; bool visible; + bool canCancel; + int delay; + dStateWrapper_c<dMsgBoxManager_c> state; USING_STATES(dMsgBoxManager_c); |