HDB: Add cineUseEntity()

This commit is contained in:
Nipun Garg 2019-06-19 17:58:37 +05:30 committed by Eugene Sandulenko
parent cc801cc7a1
commit 81f90c7721
2 changed files with 8 additions and 0 deletions

View File

@ -241,6 +241,13 @@ void AI::cineSetEntity(const char *entName, int x, int y, int level) {
_cine.push_back(cmd);
}
void AI::cineUse(const char *entName) {
CineCommand *cmd = new CineCommand;
cmd->string = entName;
cmd->cmdType = C_USEENTITY;
_cine.push_back(cmd);
}
void AI::cineFadeIn(bool isBlack, int steps) {
CineCommand *cmd = new CineCommand;
cmd->speed = steps;

View File

@ -411,6 +411,7 @@ public:
void cineWait(int seconds);
void cineWaitUntilDone();
void cineSetEntity(const char *entName, int x, int y, int level);
void cineUse(const char *entName);
void cineFadeIn(bool isBlack, int steps);
void cineFadeOut(bool isBlack, int steps);