diff options
author | Strangerke | 2016-04-22 00:26:09 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-10 09:54:21 +0200 |
commit | 861e5c10677d1493fc00542fec9ed1f0a030cb25 (patch) | |
tree | 24df33b2c931c19cbc306e88e405d4378bf61f0c /engines/gnap/scenes/scenecore.h | |
parent | c30810c933111857a914fc904e71051e861ec125 (diff) | |
download | scummvm-rg350-861e5c10677d1493fc00542fec9ed1f0a030cb25.tar.gz scummvm-rg350-861e5c10677d1493fc00542fec9ed1f0a030cb25.tar.bz2 scummvm-rg350-861e5c10677d1493fc00542fec9ed1f0a030cb25.zip |
GNAP: Refactor scenes 16, 47, 48, 54 (cutscenes)
Diffstat (limited to 'engines/gnap/scenes/scenecore.h')
-rw-r--r-- | engines/gnap/scenes/scenecore.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/engines/gnap/scenes/scenecore.h b/engines/gnap/scenes/scenecore.h index 63f11b9c8b..1f49fd8641 100644 --- a/engines/gnap/scenes/scenecore.h +++ b/engines/gnap/scenes/scenecore.h @@ -44,6 +44,26 @@ protected: GnapEngine *_vm; }; +class CutScene : public Scene { +public: + CutScene(GnapEngine *vm) : Scene(vm) {}; + ~CutScene() {}; + + virtual int init() = 0; + void updateHotspots() {} + void run(); + void updateAnimations() {} + void updateAnimationsCb() {} + +protected: + GnapEngine *_vm; + + int _s99_itemsCount; + int _s99_resourceIdArr[16]; + int _s99_sequenceCountArr[16]; + int _s99_sequenceIdArr[50]; + bool _s99_canSkip[16]; +}; } // End of namespace Gnap #endif // GNAP_SCENECORE_H |