[Scummvm-cvs-logs] SF.net SVN: scummvm:[43403] scummvm/branches/branch-1-0-0/engines/agos/ animation.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Sat Aug 15 12:32:23 CEST 2009
Revision: 43403
http://scummvm.svn.sourceforge.net/scummvm/?rev=43403&view=rev
Author: Kirben
Date: 2009-08-15 10:32:23 +0000 (Sat, 15 Aug 2009)
Log Message:
-----------
Restore code to clear screen, before playing videos with smaller resolution in the Amiga version of The Feeble Files.
Modified Paths:
--------------
scummvm/branches/branch-1-0-0/engines/agos/animation.cpp
Modified: scummvm/branches/branch-1-0-0/engines/agos/animation.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/engines/agos/animation.cpp 2009-08-15 10:31:20 UTC (rev 43402)
+++ scummvm/branches/branch-1-0-0/engines/agos/animation.cpp 2009-08-15 10:32:23 UTC (rev 43403)
@@ -265,6 +265,13 @@
}
void MoviePlayerDXA::playVideo() {
+ // Most of the videos included in the Amiga version, reduced the
+ // resoluton to 384 x 280, so require the screen to be cleared,
+ // before starting playing those videos.
+ if (getWidth() == 384 && getHeight() == 280) {
+ _vm->clearSurfaces();
+ }
+
while (getCurFrame() < getFrameCount() && !_skipMovie && !_vm->shouldQuit())
handleNextFrame();
}
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