diff options
author | Paul Gilbert | 2014-02-24 00:38:49 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-02-24 00:38:49 -0500 |
commit | 4c867aa62fea19f2bff7d3aa632b340aae110306 (patch) | |
tree | fe2cdea63210f67b2b7506ec9549d5a6dc7e4121 /engines/mads/nebular | |
parent | 37b788b7ddb679f32653be326ae96ad9132feb1f (diff) | |
download | scummvm-rg350-4c867aa62fea19f2bff7d3aa632b340aae110306.tar.gz scummvm-rg350-4c867aa62fea19f2bff7d3aa632b340aae110306.tar.bz2 scummvm-rg350-4c867aa62fea19f2bff7d3aa632b340aae110306.zip |
MADS: Shift some fields and methods to Dialogs and Game classes
Diffstat (limited to 'engines/mads/nebular')
-rw-r--r-- | engines/mads/nebular/dialogs_nebular.h | 10 | ||||
-rw-r--r-- | engines/mads/nebular/game_nebular.cpp | 4 | ||||
-rw-r--r-- | engines/mads/nebular/game_nebular.h | 2 |
3 files changed, 10 insertions, 6 deletions
diff --git a/engines/mads/nebular/dialogs_nebular.h b/engines/mads/nebular/dialogs_nebular.h index 53f377ae0a..d4e4fe921e 100644 --- a/engines/mads/nebular/dialogs_nebular.h +++ b/engines/mads/nebular/dialogs_nebular.h @@ -31,6 +31,16 @@ namespace MADS { namespace Nebular { +class DialogsNebular: public Dialogs { + friend class Dialogs; +protected: + DialogsNebular(MADSEngine *vm): Dialogs(vm) {} +public: + virtual void showDialog() { + warning("TODO: showDialog"); + } +}; + struct HOGANUS { int _bookId; int _pageNum; diff --git a/engines/mads/nebular/game_nebular.cpp b/engines/mads/nebular/game_nebular.cpp index 2e27eaea0f..6e2b77d477 100644 --- a/engines/mads/nebular/game_nebular.cpp +++ b/engines/mads/nebular/game_nebular.cpp @@ -152,10 +152,6 @@ void GameNebular::initialiseGlobals() { loadResourceSequence("ROX", 1); } -void GameNebular::showDialog() { - warning("TODO: showDialog"); -} - void GameNebular::setSectionHandler() { delete _sectionHandler; diff --git a/engines/mads/nebular/game_nebular.h b/engines/mads/nebular/game_nebular.h index 31bd4ae2b2..9232b26969 100644 --- a/engines/mads/nebular/game_nebular.h +++ b/engines/mads/nebular/game_nebular.h @@ -39,8 +39,6 @@ protected: virtual void initialiseGlobals(); - virtual void showDialog(); - virtual void setSectionHandler(); }; |