diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/ai-cinematic.cpp | 7 | ||||
-rw-r--r-- | engines/hdb/ai.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/engines/hdb/ai-cinematic.cpp b/engines/hdb/ai-cinematic.cpp index 4af3d9af7c..6897cfff6d 100644 --- a/engines/hdb/ai-cinematic.cpp +++ b/engines/hdb/ai-cinematic.cpp @@ -401,6 +401,13 @@ void AI::cineStart(bool abortable, const char *abortFunc) { _cameraLock = false; } +void AI::cineStop(const char *funcNext) { + CineCommand *cmd = new CineCommand; + cmd->cmdType = C_STOPCINE; + strcpy(cmd->title, funcNext); + _cine.push_back(cmd); +} + void AI::cineLockPlayer() { CineCommand *cmd = new CineCommand; cmd->cmdType = C_LOCKPLAYER; diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h index 1f6a7bce6e..82849a9c88 100644 --- a/engines/hdb/ai.h +++ b/engines/hdb/ai.h @@ -734,6 +734,7 @@ public: void cineAddToFreeList(Picture *pic); void cineFreeGfx(); void cineStart(bool abortable, const char *abortFunc); + void cineStop(const char *funcNext); void cineLockPlayer(); void cineUnlockPlayer(); void cineSetCamera(int x, int y); |