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

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Wed May 12 18:36:08 CEST 2010


Revision: 49014
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49014&view=rev
Author:   m_kiewitz
Date:     2010-05-12 16:36:08 +0000 (Wed, 12 May 2010)

Log Message:
-----------
SCI: added comments about r49012, change actually happened during sci0late

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

Modified: scummvm/trunk/engines/sci/graphics/paint16.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/paint16.cpp	2010-05-12 14:11:28 UTC (rev 49013)
+++ scummvm/trunk/engines/sci/graphics/paint16.cpp	2010-05-12 16:36:08 UTC (rev 49014)
@@ -452,7 +452,7 @@
 	Common::Rect rect;
 	reg_t result = NULL_REG;
 
-	// Make a "backup" of the port settings
+	// Make a "backup" of the port settings (required for SCI01+ only)
 	Port oldPort = *_ports->getPort();
 
 	// setting defaults
@@ -536,6 +536,8 @@
 	uint16 tLeft = currport->curLeft;
 	if (getSciVersion() >= SCI_VERSION_01) {
 		// Restore port settings for SCI01+ only
+		// the change actually happened inbetween sci0late. sq3new has fixed scripts and includes this change
+		//  sq3old doesn't and restoring the port will result in font 0 getting used when scanning for planets
 		*currport = oldPort;
 	}
 	currport->curTop = tTop;


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