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

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Sun Jul 25 19:01:55 CEST 2010


Revision: 51278
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51278&view=rev
Author:   m_kiewitz
Date:     2010-07-25 17:01:54 +0000 (Sun, 25 Jul 2010)

Log Message:
-----------
SCI: removing onControl from coordAdjuster32

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

Modified: scummvm/trunk/engines/sci/graphics/coordadjuster.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/coordadjuster.cpp	2010-07-25 16:38:25 UTC (rev 51277)
+++ scummvm/trunk/engines/sci/graphics/coordadjuster.cpp	2010-07-25 17:01:54 UTC (rev 51278)
@@ -111,12 +111,6 @@
 	y += planeTop;
 }
 
-Common::Rect GfxCoordAdjuster32::onControl(Common::Rect rect) {
-	Common::Rect adjustedRect = rect;
-	adjustedRect.translate(0, 10);
-	return adjustedRect;
-}
-
 void GfxCoordAdjuster32::setScriptsResolution(uint16 width, uint16 height) {
 	scriptsRunningWidth = width;
 	scriptsRunningHeight = height;

Modified: scummvm/trunk/engines/sci/graphics/coordadjuster.h
===================================================================
--- scummvm/trunk/engines/sci/graphics/coordadjuster.h	2010-07-25 16:38:25 UTC (rev 51277)
+++ scummvm/trunk/engines/sci/graphics/coordadjuster.h	2010-07-25 17:01:54 UTC (rev 51278)
@@ -87,8 +87,6 @@
 	void kernelGlobalToLocal(int16 &x, int16 &y, reg_t planeObject = NULL_REG);
 	void kernelLocalToGlobal(int16 &x, int16 &y, reg_t planeObject = NULL_REG);
 
-	Common::Rect onControl(Common::Rect rect);
-
 	void setScriptsResolution(uint16 width, uint16 height);
 	void fromScriptToDisplay(int16 &y, int16 &x);
 	void fromDisplayToScript(int16 &y, int16 &x);


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