[Scummvm-cvs-logs] SF.net SVN: scummvm:[52881] scummvm/trunk/engines/agi/picture.cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Sat Sep 25 16:28:48 CEST 2010


Revision: 52881
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52881&view=rev
Author:   mthreepwood
Date:     2010-09-25 14:28:48 +0000 (Sat, 25 Sep 2010)

Log Message:
-----------
AGI: Fix C64 AGI pictures

The initial screen color needs to be 0 and not 0xf for these. Winnie C64/Apple II should be completable now, with some graphical glitches and palette problems.

Modified Paths:
--------------
    scummvm/trunk/engines/agi/picture.cpp

Modified: scummvm/trunk/engines/agi/picture.cpp
===================================================================
--- scummvm/trunk/engines/agi/picture.cpp	2010-09-25 13:39:19 UTC (rev 52880)
+++ scummvm/trunk/engines/agi/picture.cpp	2010-09-25 14:28:48 UTC (rev 52881)
@@ -562,7 +562,7 @@
 	_patCode = 0;
 	_patNum = 0;
 	_priOn = _scrOn = false;
-	_scrColor = 0xf;
+	_scrColor = (_pictureVersion == AGIPIC_C64) ? 0x0 : 0xf;
 	_priColor = 0x4;
 
 	drawing = 1;


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