diff options
author | Paul Gilbert | 2012-02-12 22:03:50 +1100 |
---|---|---|
committer | Strangerke | 2012-04-06 08:21:10 +0200 |
commit | a29bd180f730ba79e380d9c04a140ab8303c5d77 (patch) | |
tree | 55e1b4fc76e3898d1dc596bd0214f3a7514dc403 /engines/mortevielle/sprint.cpp | |
parent | 459ef933395e9f7108c6047c7d07b2a22351a315 (diff) | |
download | scummvm-rg350-a29bd180f730ba79e380d9c04a140ab8303c5d77.tar.gz scummvm-rg350-a29bd180f730ba79e380d9c04a140ab8303c5d77.tar.bz2 scummvm-rg350-a29bd180f730ba79e380d9c04a140ab8303c5d77.zip |
MORTEVIELLE: Replaced all box() calls with ScreenSurface::fillBox
Diffstat (limited to 'engines/mortevielle/sprint.cpp')
-rw-r--r-- | engines/mortevielle/sprint.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/mortevielle/sprint.cpp b/engines/mortevielle/sprint.cpp index 6a52b2cdb2..e6d00358d5 100644 --- a/engines/mortevielle/sprint.cpp +++ b/engines/mortevielle/sprint.cpp @@ -35,11 +35,13 @@ namespace Mortevielle { void fill_box(int x, int y, int dx) { - box(15, gd, pred(int, x) << 3, pred(int, y) << 3, pred(int, x + dx) << 3, y << 3, 255); + g_vm->_screenSurface.fillBox(15, Common::Rect(pred(int, x) << 3, pred(int, y) << 3, + pred(int, x + dx) << 3, y << 3)); } void clear_box(int x, int y, int dx) { - box(0, gd, pred(int, x) << 3, pred(int, y) << 3, pred(int, x + dx) << 3, y << 3, 255); + g_vm->_screenSurface.fillBox(0, Common::Rect(pred(int, x) << 3, pred(int, y) << 3, + pred(int, x + dx) << 3, y << 3)); } } // End of namespace Mortevielle |