diff options
author | Paul Gilbert | 2014-10-18 11:20:50 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-10-18 11:20:50 -0400 |
commit | 72303564f70573dc4bacd9c726dc626920bf21e8 (patch) | |
tree | 0609776637669a2681c66641fd36027a1578f645 /engines/mads/menu_views.h | |
parent | 22aaf995ed4f5131ae9cf6753d228718a96293f3 (diff) | |
download | scummvm-rg350-72303564f70573dc4bacd9c726dc626920bf21e8.tar.gz scummvm-rg350-72303564f70573dc4bacd9c726dc626920bf21e8.tar.bz2 scummvm-rg350-72303564f70573dc4bacd9c726dc626920bf21e8.zip |
MADS: Hook up Rex game endings to show the correct animation and/or credits
Diffstat (limited to 'engines/mads/menu_views.h')
-rw-r--r-- | engines/mads/menu_views.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/engines/mads/menu_views.h b/engines/mads/menu_views.h index 6faa665bff..c13213c3ed 100644 --- a/engines/mads/menu_views.h +++ b/engines/mads/menu_views.h @@ -36,6 +36,7 @@ class MenuView: public FullScreenDialog { protected: bool _breakFlag; bool _redrawFlag; + Common::String _filename; virtual void doFrame() = 0; @@ -51,6 +52,8 @@ public: virtual ~MenuView() {} virtual void show(); + + Common::String getResourceName(); }; struct TextLine { @@ -107,11 +110,6 @@ private: int getParameter(const char **paramP); /** - * Called when the script is finished - */ - void scriptDone(); - - /** * Reset the game palette */ void resetPalette(); @@ -119,6 +117,11 @@ protected: virtual void display(); virtual void doFrame(); + + /** + * Called when the script is finished + */ + virtual void scriptDone(); public: /** * Queue the given text resource for display @@ -201,8 +204,6 @@ private: int getParameter(); - void scriptDone(); - void loadNextResource(); protected: virtual void display(); @@ -210,6 +211,8 @@ protected: virtual void doFrame(); virtual bool onEvent(Common::Event &event); + + virtual void scriptDone(); public: /** * Queue the given text resource for display |