diff options
author | Paul Gilbert | 2014-02-23 21:34:20 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-02-23 21:34:20 -0500 |
commit | 8ee283d921ec88bad61469e136a31aef0ff5b9ca (patch) | |
tree | d0f839c55947816715a513f8ab639c479fd4f930 /engines/mads/game.h | |
parent | 8c9420a8349b0cdb93dcace36c2bd5f93e03476f (diff) | |
download | scummvm-rg350-8ee283d921ec88bad61469e136a31aef0ff5b9ca.tar.gz scummvm-rg350-8ee283d921ec88bad61469e136a31aef0ff5b9ca.tar.bz2 scummvm-rg350-8ee283d921ec88bad61469e136a31aef0ff5b9ca.zip |
MADS: Implemented sound player logic and outer game loop
Diffstat (limited to 'engines/mads/game.h')
-rw-r--r-- | engines/mads/game.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/engines/mads/game.h b/engines/mads/game.h index 9dd7ca0ace..4a8daed6ca 100644 --- a/engines/mads/game.h +++ b/engines/mads/game.h @@ -77,9 +77,9 @@ protected: public: SectionHandler(MADSEngine *vm): _vm(vm) {} - virtual void loadSection() = 0; + virtual void preLoadSection() = 0; virtual void sectionPtr2() = 0; - virtual void sectionPtr3() = 0; + virtual void postLoadSection() = 0; }; class Game { @@ -88,6 +88,11 @@ private: * Main game loop */ void gameLoop(); + + /** + * Inner game loop for executing gameplay within a game section + */ + void sectionLoop(); protected: MADSEngine *_vm; MSurface *_surface; @@ -100,8 +105,9 @@ protected: int _saveSlot; int _statusFlag; DialogId _pendingDialog; - SectionHandler *_sectionHandler; + int _v1; + int _v2; /** * Constructor |