[Scummvm-cvs-logs] SF.net SVN: scummvm:[35777] scummvm/trunk

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Jan 7 23:06:15 CET 2009


Revision: 35777
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35777&view=rev
Author:   thebluegr
Date:     2009-01-07 22:06:15 +0000 (Wed, 07 Jan 2009)

Log Message:
-----------
videoIsLoaded() -> isVideoLoaded()

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/he/animation_he.cpp
    scummvm/trunk/graphics/video/video_player.h

Modified: scummvm/trunk/engines/scumm/he/animation_he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/animation_he.cpp	2009-01-07 21:57:05 UTC (rev 35776)
+++ scummvm/trunk/engines/scumm/he/animation_he.cpp	2009-01-07 22:06:15 UTC (rev 35777)
@@ -40,13 +40,13 @@
 }
 
 int MoviePlayer::getImageNum() {
-	if (!videoIsLoaded())
+	if (!isVideoLoaded())
 		return 0;
 	return _wizResNum;
 }
 
 int MoviePlayer::load(const char *filename, int flags, int image) {
-	if (videoIsLoaded()) {
+	if (isVideoLoaded()) {
 		closeFile();
 	}
 
@@ -67,7 +67,7 @@
 }
 
 void MoviePlayer::handleNextFrame() {
-	if (!videoIsLoaded()) {
+	if (!isVideoLoaded()) {
 		return;
 	}
 

Modified: scummvm/trunk/graphics/video/video_player.h
===================================================================
--- scummvm/trunk/graphics/video/video_player.h	2009-01-07 21:57:05 UTC (rev 35776)
+++ scummvm/trunk/graphics/video/video_player.h	2009-01-07 22:06:15 UTC (rev 35777)
@@ -107,7 +107,7 @@
 	/**
 	 * 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


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list