mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
HDB: Add cineWait() and cineWaitUntilDone()
This commit is contained in:
1 parent
6910430770
commit
7e728aff4e
2 files changed
+16
No files matched your search
@@ -116,4 +116,18 @@ void AI::cineMoveCamera(int x, int y, int speed) {
|
||||
_cine->push_back(cmd);
|
||||
}
|
||||
|
||||
void AI::cineWait(int seconds) {
|
||||
CineCommand *cmd = new CineCommand;
|
||||
cmd->start = 0;
|
||||
cmd->cmdType = C_WAIT;
|
||||
cmd->delay = seconds;
|
||||
_cine->push_back(cmd);
|
||||
}
|
||||
|
||||
void AI::cineWaitUntilDone() {
|
||||
CineCommand *cmd = new CineCommand;
|
||||
cmd->cmdType = C_WAITUNTILDONE;
|
||||
_cine->push_back(cmd);
|
||||
}
|
||||
|
||||
} // End of Namespace
|
||||
@@ -91,6 +91,8 @@ public:
|
||||
void cineSetCamera(int x, int y);
|
||||
void cineResetCamera();
|
||||
void cineMoveCamera(int x, int y, int speed);
|
||||
void cineWait(int seconds);
|
||||
void cineWaitUntilDone();
|
||||
|
||||
Common::Array<CineCommand *> *_cine;
|
||||
|
||||
|
||||
Reference in new issue
Block a user