From 0ce230ba7fb2b356886440c8159bec43db66d2a6 Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Tue, 18 Jun 2019 04:26:31 +0530 Subject: HDB: Complete the cineStart function --- engines/hdb/ai.cpp | 7 ++++++- engines/hdb/ai.h | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3