diff options
author | Nipun Garg | 2019-06-18 04:26:31 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:47 +0200 |
commit | 0ce230ba7fb2b356886440c8159bec43db66d2a6 (patch) | |
tree | 66d402f779a65ab91bfcda11dbc82d9808468858 | |
parent | 6acdc9670add32049cad8142b54d00556c2b4414 (diff) | |
download | scummvm-rg350-0ce230ba7fb2b356886440c8159bec43db66d2a6.tar.gz scummvm-rg350-0ce230ba7fb2b356886440c8159bec43db66d2a6.tar.bz2 scummvm-rg350-0ce230ba7fb2b356886440c8159bec43db66d2a6.zip |
HDB: Complete the cineStart function
-rw-r--r-- | engines/hdb/ai.cpp | 7 | ||||
-rw-r--r-- | engines/hdb/ai.h | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/engines/hdb/ai.cpp b/engines/hdb/ai.cpp index 358631d53e..2246a51a1b 100644 --- a/engines/hdb/ai.cpp +++ b/engines/hdb/ai.cpp @@ -33,7 +33,12 @@ AI::~AI() { } void AI::cineStart(bool abortable, char *abortFunc) { - warning("STUB: AI::cineStart"); + _cineAbortable = abortable; + _cineAborted = false; + _cineAbortFunc = abortFunc; + _cineActive = true; + _playerLock = false; + _cameraLock = false; } void AI::cineSetCamera(int x, int y) { diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h index d5aa926573..0c4b80f670 100644 --- a/engines/hdb/ai.h +++ b/engines/hdb/ai.h @@ -96,6 +96,8 @@ public: private: // Cinematics Variables bool _cineAbortable; + bool _cineAborted; + char *_cineAbortFunc; bool _cineActive; bool _playerLock; bool _cameraLock; |