aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-25 17:01:54 +0000
committerMartin Kiewitz2010-07-25 17:01:54 +0000
commit633d13faee65eb7922ce2eb35e9e267e66747e85 (patch)
tree5e3cf6dad851cb9d376872b7404f2f692bfc91d0 /engines/sci
parentdec30186eb4892598a5d522633060cc20208dff1 (diff)
downloadscummvm-rg350-633d13faee65eb7922ce2eb35e9e267e66747e85.tar.gz
scummvm-rg350-633d13faee65eb7922ce2eb35e9e267e66747e85.tar.bz2
scummvm-rg350-633d13faee65eb7922ce2eb35e9e267e66747e85.zip
SCI: removing onControl from coordAdjuster32
svn-id: r51278
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/coordadjuster.cpp6
-rw-r--r--engines/sci/graphics/coordadjuster.h2
2 files changed, 0 insertions, 8 deletions
diff --git a/engines/sci/graphics/coordadjuster.cpp b/engines/sci/graphics/coordadjuster.cpp
index 468c41f1c1..bbeade87b5 100644
--- a/engines/sci/graphics/coordadjuster.cpp
+++ b/engines/sci/graphics/coordadjuster.cpp
@@ -111,12 +111,6 @@ void GfxCoordAdjuster32::kernelLocalToGlobal(int16 &x, int16 &y, reg_t planeObje
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;
diff --git a/engines/sci/graphics/coordadjuster.h b/engines/sci/graphics/coordadjuster.h
index 7e5d2351b9..59afd1dcb7 100644
--- a/engines/sci/graphics/coordadjuster.h
+++ b/engines/sci/graphics/coordadjuster.h
@@ -87,8 +87,6 @@ public:
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);