[Scummvm-cvs-logs] SF.net SVN: scummvm:[46902] scummvm/trunk/engines/sci/gui/gui.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Sat Jan 2 23:04:05 CET 2010


Revision: 46902
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46902&view=rev
Author:   m_kiewitz
Date:     2010-01-02 22:04:05 +0000 (Sat, 02 Jan 2010)

Log Message:
-----------
SCI: adjusted kDisplay change to occur SCI1late

Modified Paths:
--------------
    scummvm/trunk/engines/sci/gui/gui.cpp

Modified: scummvm/trunk/engines/sci/gui/gui.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui.cpp	2010-01-02 21:55:39 UTC (rev 46901)
+++ scummvm/trunk/engines/sci/gui/gui.cpp	2010-01-02 22:04:05 UTC (rev 46902)
@@ -264,10 +264,7 @@
 	// now drawing the text
 	_text->Size(rect, text, -1, width);
 	rect.moveTo(_gfx->GetPort()->curLeft, _gfx->GetPort()->curTop);
-	if (getSciVersion() >= SCI_VERSION_1_EGA) {
-		// TODO: Not absolutely sure when this changed happened
-		// Clipping is definitely not done in qfg1, but are done in kq5cd
-		// This fixes colonels bequest
+	if (getSciVersion() >= SCI_VERSION_1_LATE) {
 		_gfx->Move(rect.right <= _screen->_width ? 0 : _screen->_width - rect.right, rect.bottom <= _screen->_height ? 0 : _screen->_width - rect.bottom);
 		rect.moveTo(_gfx->GetPort()->curLeft, _gfx->GetPort()->curTop);
 	}


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