diff options
Diffstat (limited to 'engines/hdb/ai.cpp')
-rw-r--r-- | engines/hdb/ai.cpp | 10 |
1 files changed, 10 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; |