videoIsLoaded() -> isVideoLoaded()

svn-id: r35777
This commit is contained in:
Filippos Karapetis 2009-01-07 22:06:15 +00:00
parent 2e1fa58cf8
commit 9752501a07
2 changed files with 4 additions and 4 deletions

View File

@ -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;
} }

View File

@ -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