diff options
author | Denis Kasak | 2009-07-29 01:11:53 +0000 |
---|---|---|
committer | Denis Kasak | 2009-07-29 01:11:53 +0000 |
commit | e9669b8e2bcc4a65d5cc1225e9328d9171726690 (patch) | |
tree | 87361ed3d977fdfa684d5963e7621a145a8102aa /engines/draci/draci.h | |
parent | dd9303d27e5b55175781b55c9da63468ce287a2a (diff) | |
download | scummvm-rg350-e9669b8e2bcc4a65d5cc1225e9328d9171726690.tar.gz scummvm-rg350-e9669b8e2bcc4a65d5cc1225e9328d9171726690.tar.bz2 scummvm-rg350-e9669b8e2bcc4a65d5cc1225e9328d9171726690.zip |
* Moved event handling to DraciEngine::handleEvents()
* Added Game::start() method which is called from DraciEngine::go()
* Made Game::loop() suitable for calling from other places (like GPL scripts) by handling events, redrawing the screen, etc from inside. This way it doesn't freeze the game if it doesn't return immediately.
* Added Game::shouldQuit() and Game::setQuit() which can be used to signal the engine to quit.
* Fixed race condition related to mouse buttons not getting released.
* Instead of deleting frames for the title animation and adding a new one, reset the text for its frame.
svn-id: r42875
Diffstat (limited to 'engines/draci/draci.h')
-rw-r--r-- | engines/draci/draci.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/draci/draci.h b/engines/draci/draci.h index e6b78f310a..1f43fc8f68 100644 --- a/engines/draci/draci.h +++ b/engines/draci/draci.h @@ -50,6 +50,8 @@ public: Common::Error run(); bool hasFeature(Engine::EngineFeature f) const; + + bool handleEvents(); Screen *_screen; Mouse *_mouse; @@ -70,6 +72,8 @@ public: BArchive *_walkingMapsArchive; BArchive *_initArchive; + bool _showWalkingMap; + Common::RandomSource _rnd; }; |