aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle/graphics.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2012-02-12 22:21:14 +1100
committerStrangerke2012-04-06 08:21:12 +0200
commit4cd9be9f2f23631255ac4c748f5e01f8fc4e5518 (patch)
tree749e915325bc43c87a29c6f7452a411d6bdcc7fd /engines/mortevielle/graphics.cpp
parenta29bd180f730ba79e380d9c04a140ab8303c5d77 (diff)
downloadscummvm-rg350-4cd9be9f2f23631255ac4c748f5e01f8fc4e5518.tar.gz
scummvm-rg350-4cd9be9f2f23631255ac4c748f5e01f8fc4e5518.tar.bz2
scummvm-rg350-4cd9be9f2f23631255ac4c748f5e01f8fc4e5518.zip
MORTEVIELLE: Removed unused clear_box() and fill_box(), and renamed fillBox to fillRect
Diffstat (limited to 'engines/mortevielle/graphics.cpp')
-rw-r--r--engines/mortevielle/graphics.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mortevielle/graphics.cpp b/engines/mortevielle/graphics.cpp
index 3ac08cfea1..bdf6c86daa 100644
--- a/engines/mortevielle/graphics.cpp
+++ b/engines/mortevielle/graphics.cpp
@@ -1006,7 +1006,7 @@ void ScreenSurface::drawBox(int x, int y, int dx, int dy, int col) {
* @remarks Because the ScummVM surface is using a double height 640x400 surface to
* simulate the original 640x400 surface, all Y values have to be doubled
*/
-void ScreenSurface::fillBox(int colour, const Common::Rect &bounds) {
+void ScreenSurface::fillRect(int colour, const Common::Rect &bounds) {
Graphics::Surface destSurface = lockArea(Common::Rect(bounds.left, bounds.top * 2,
bounds.right, bounds.bottom * 2));
@@ -1061,7 +1061,7 @@ void ScreenSurface::writeg(const Common::String &l, int c) {
case 1:
case 3 : {
cecr = 0;
- g_vm->_screenSurface.fillBox(15, Common::Rect(pt.x, pt.y, x, pt.y + 7));
+ g_vm->_screenSurface.fillRect(15, Common::Rect(pt.x, pt.y, x, pt.y + 7));
}
break;
case 4 : {
@@ -1075,7 +1075,7 @@ void ScreenSurface::writeg(const Common::String &l, int c) {
case 0:
case 2 : {
cecr = 15;
- g_vm->_screenSurface.fillBox(0, Common::Rect(pt.x, pt.y, x, pt.y + 7));
+ g_vm->_screenSurface.fillRect(0, Common::Rect(pt.x, pt.y, x, pt.y + 7));
}
break;
}