[Scummvm-cvs-logs] SF.net SVN: scummvm:[50846] scummvm/trunk/engines/sci/graphics/picture.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Tue Jul 13 17:46:21 CEST 2010


Revision: 50846
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50846&view=rev
Author:   m_kiewitz
Date:     2010-07-13 15:46:21 +0000 (Tue, 13 Jul 2010)

Log Message:
-----------
SCI: adding comment about GfxPicture::draw() and picture resource formats

Modified Paths:
--------------
    scummvm/trunk/engines/sci/graphics/picture.cpp

Modified: scummvm/trunk/engines/sci/graphics/picture.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/picture.cpp	2010-07-13 15:42:59 UTC (rev 50845)
+++ scummvm/trunk/engines/sci/graphics/picture.cpp	2010-07-13 15:46:21 UTC (rev 50846)
@@ -56,7 +56,9 @@
 	return _resourceId;
 }
 
-// TODO: subclass this
+// differentiation between various picture formats can NOT get done using sci-version checks.
+//  Games like PQ1 use the "old" vector data picture format, but are actually SCI1.1
+//  We should leave this that way to decide the format on-the-fly instead of hardcoding it in any way
 void GfxPicture::draw(int16 animationNr, bool mirroredFlag, bool addToFlag, int16 EGApaletteNo) {
 	uint16 headerSize;
 


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