aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/graphics.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2016-02-10 20:14:02 +0100
committerMartin Kiewitz2016-02-10 20:14:02 +0100
commit808d622ed5fb6230d5b8ed43c417275d83d0b315 (patch)
treea817f9c2bbf42eef90dd78cba0c8ce0cd52ec3a3 /engines/agi/graphics.cpp
parenta7351610a14171740005c1270fb3062f6f6f8729 (diff)
downloadscummvm-rg350-808d622ed5fb6230d5b8ed43c417275d83d0b315.tar.gz
scummvm-rg350-808d622ed5fb6230d5b8ed43c417275d83d0b315.tar.bz2
scummvm-rg350-808d622ed5fb6230d5b8ed43c417275d83d0b315.zip
AGI: Remove unused method
Diffstat (limited to 'engines/agi/graphics.cpp')
-rw-r--r--engines/agi/graphics.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/engines/agi/graphics.cpp b/engines/agi/graphics.cpp
index af2e8ba499..b0165154c8 100644
--- a/engines/agi/graphics.cpp
+++ b/engines/agi/graphics.cpp
@@ -592,19 +592,6 @@ void GfxMgr::drawBox(int16 x, int16 y, int16 width, int16 height, byte backgroun
}
}
-// coordinates for visual screen
-void GfxMgr::drawRect(int16 x, int16 y, int16 width, int16 height, byte color) {
- if (!render_Clip(x, y, width, height, SCRIPT_WIDTH, DISPLAY_HEIGHT - _renderStartOffsetY))
- return;
-
- // coordinate translation: visual-screen -> display-screen
- x = x * 2;
- y = y + _renderStartOffsetY; // drawDisplayRect paints anywhere on the whole screen, our coordinate is within playscreen
- width = width * 2; // width was given as visual width, we need display width
-
- drawDisplayRect(x, y, width, height, color);
-}
-
// coordinates are directly for display screen
void GfxMgr::drawDisplayRect(int16 x, int16 y, int16 width, int16 height, byte color, bool copyToScreen) {
switch (_vm->_renderMode) {