mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 07:39:08 +00:00
ACCESS: Implement cmdEndVideo
This commit is contained in:
parent
ddfe739554
commit
08c6539900
@ -133,7 +133,7 @@ void Scripts::executeCommand(int commandIndex) {
|
||||
&Scripts::CMDPUSHLOCATION, &Scripts::CMDPUSHLOCATION, &Scripts::CMDPUSHLOCATION,
|
||||
&Scripts::CMDPUSHLOCATION, &Scripts::CMDPUSHLOCATION, &Scripts::cmdPlayerOff,
|
||||
&Scripts::cmdPlayerOn, &Scripts::cmdDead, &Scripts::cmdFadeOut,
|
||||
&Scripts::CMDENDVID
|
||||
&Scripts::cmdEndVideo
|
||||
};
|
||||
|
||||
(this->*COMMAND_LIST[commandIndex])();
|
||||
@ -862,6 +862,9 @@ void Scripts::cmdFadeOut() {
|
||||
_vm->_screen->forceFadeOut();
|
||||
}
|
||||
|
||||
void Scripts::CMDENDVID() { error("TODO CMDENDVID"); }
|
||||
void Scripts::cmdEndVideo() {
|
||||
_vm->_video->closeVideo();
|
||||
_vm->_video->_videoEnd = true;
|
||||
}
|
||||
|
||||
} // End of namespace Access
|
||||
|
@ -122,7 +122,7 @@ protected:
|
||||
void cmdDead();
|
||||
void cmdDead(int deathId);
|
||||
void cmdFadeOut();
|
||||
void CMDENDVID();
|
||||
void cmdEndVideo();
|
||||
public:
|
||||
int _sequence;
|
||||
bool _endFlag;
|
||||
|
Loading…
Reference in New Issue
Block a user