aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/ai.cpp10
-rw-r--r--engines/hdb/ai.h1
2 files changed, 11 insertions, 0 deletions
diff --git a/engines/hdb/ai.cpp b/engines/hdb/ai.cpp
index 0562b39e45..9d5767c312 100644
--- a/engines/hdb/ai.cpp
+++ b/engines/hdb/ai.cpp
@@ -223,6 +223,16 @@ void AI::cineWaitUntilDone() {
_cine.push_back(cmd);
}
+void AI::cineSetEntity(const char *entName, int x, int y, int level) {
+ CineCommand *cmd = new CineCommand;
+ cmd->string = entName;
+ cmd->x = x * kTileWidth;
+ cmd->y = y * kTileHeight;
+ cmd->x2 = level;
+ cmd->cmdType = C_SETENTITY;
+ _cine.push_back(cmd);
+}
+
void AI::cineFadeIn(bool isBlack, int steps) {
CineCommand *cmd = new CineCommand;
cmd->speed = steps;
diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h
index 182f918105..8cabf2e287 100644
--- a/engines/hdb/ai.h
+++ b/engines/hdb/ai.h
@@ -388,6 +388,7 @@ public:
void cineMoveCamera(int x, int y, int speed);
void cineWait(int seconds);
void cineWaitUntilDone();
+ void cineSetEntity(const char *entName, int x, int y, int level);
void cineFadeIn(bool isBlack, int steps);
void cineFadeOut(bool isBlack, int steps);