diff options
author | Paul Gilbert | 2015-05-26 22:05:27 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-05-26 22:05:27 -0400 |
commit | 483a72b8b840a9ebbb7009b3dcd20878d0ffad58 (patch) | |
tree | 2745e69a24da7b239078fd870e9e65d624f30381 /engines/sherlock/scene.h | |
parent | 30edd4efb80e203d7315e0fad41989c40dfe68ff (diff) | |
download | scummvm-rg350-483a72b8b840a9ebbb7009b3dcd20878d0ffad58.tar.gz scummvm-rg350-483a72b8b840a9ebbb7009b3dcd20878d0ffad58.tar.bz2 scummvm-rg350-483a72b8b840a9ebbb7009b3dcd20878d0ffad58.zip |
SHERLOK: Beginnings of split of doBgAnim logic
Diffstat (limited to 'engines/sherlock/scene.h')
-rw-r--r-- | engines/sherlock/scene.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/engines/sherlock/scene.h b/engines/sherlock/scene.h index 50f8f07ef4..2aecdfa3b2 100644 --- a/engines/sherlock/scene.h +++ b/engines/sherlock/scene.h @@ -273,9 +273,9 @@ public: int toggleObject(const Common::String &name); /** - * Animate all objects and people. + * Draw all objects and characters. */ - void doBgAnim(); + virtual void doBgAnim(); /** * Attempts to find a background shape within the passed bounds. If found, @@ -328,11 +328,17 @@ protected: virtual void checkBgShapes(); public: ScalpelScene(SherlockEngine *vm) : Scene(vm) {} + + /** + * Draw all objects and characters. + */ + virtual void doBgAnim(); }; class TattooScene : public Scene { private: CAnimStream _activeCAnim; + int _arrowZone; protected: /** * Checks all the background shapes. If a background shape is animating, @@ -341,7 +347,12 @@ protected: */ virtual void checkBgShapes(); public: - TattooScene(SherlockEngine *vm) : Scene(vm) {} + TattooScene(SherlockEngine *vm); + + /** + * Draw all objects and characters. + */ + virtual void doBgAnim(); }; } // End of namespace Sherlock |