mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
videoIsLoaded() -> isVideoLoaded()
svn-id: r35777
This commit is contained in:
parent
2e1fa58cf8
commit
9752501a07
@ -40,13 +40,13 @@ MoviePlayer::MoviePlayer(ScummEngine_v90he *vm, Audio::Mixer *mixer)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int MoviePlayer::getImageNum() {
|
int MoviePlayer::getImageNum() {
|
||||||
if (!videoIsLoaded())
|
if (!isVideoLoaded())
|
||||||
return 0;
|
return 0;
|
||||||
return _wizResNum;
|
return _wizResNum;
|
||||||
}
|
}
|
||||||
|
|
||||||
int MoviePlayer::load(const char *filename, int flags, int image) {
|
int MoviePlayer::load(const char *filename, int flags, int image) {
|
||||||
if (videoIsLoaded()) {
|
if (isVideoLoaded()) {
|
||||||
closeFile();
|
closeFile();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ int MoviePlayer::load(const char *filename, int flags, int image) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MoviePlayer::handleNextFrame() {
|
void MoviePlayer::handleNextFrame() {
|
||||||
if (!videoIsLoaded()) {
|
if (!isVideoLoaded()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Returns if a video file is loaded or not
|
* Returns if a video file is loaded or not
|
||||||
*/
|
*/
|
||||||
bool videoIsLoaded() { return (_fileStream != NULL); }
|
bool isVideoLoaded() { return (_fileStream != NULL); }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set RGB palette, based on current frame
|
* Set RGB palette, based on current frame
|
||||||
|
Loading…
Reference in New Issue
Block a user