aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorMax Horn2004-03-28 16:30:50 +0000
committerMax Horn2004-03-28 16:30:50 +0000
commit14378cb56e18237cf1b8b5e088995e0b91f47410 (patch)
treee646deabd966699f0538880f74883255df2810bb /scumm/gfx.cpp
parentefb5f3777a2aa664c6bc5e7fb5ab3f2b92da6ca8 (diff)
downloadscummvm-rg350-14378cb56e18237cf1b8b5e088995e0b91f47410.tar.gz
scummvm-rg350-14378cb56e18237cf1b8b5e088995e0b91f47410.tar.bz2
scummvm-rg350-14378cb56e18237cf1b8b5e088995e0b91f47410.zip
Renamed more OSystem methods
svn-id: r13410
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 8d4295e9e2..75275c485e 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -408,7 +408,7 @@ void Gdi::drawStripToScreen(VirtScreen *vs, int x, int width, int top, int botto
// We don't clip height and width here, rather we rely on the backend to
// perform any needed clipping.
ptr = vs->screenPtr + (x + vs->xstart) + top * vs->width;
- _vm->_system->copy_rect(ptr, vs->width, x, vs->topline + top - _vm->_screenTop, width, height);
+ _vm->_system->copyRectToScreen(ptr, vs->width, x, vs->topline + top - _vm->_screenTop, width, height);
}
#pragma mark -
@@ -2548,7 +2548,7 @@ void ScummEngine::dissolveEffect(int width, int height) {
for (i = 0; i < w * h; i++) {
x = offsets[i] % vs->width;
y = offsets[i] / vs->width;
- _system->copy_rect(vs->screenPtr + vs->xstart + y * vs->width + x, vs->width, x, y + vs->topline, width, height);
+ _system->copyRectToScreen(vs->screenPtr + vs->xstart + y * vs->width + x, vs->width, x, y + vs->topline, width, height);
if (++blits >= blits_before_refresh) {
blits = 0;
@@ -2584,7 +2584,7 @@ void ScummEngine::scrollEffect(int dir) {
y = 1 + step;
while (y < vs->height) {
_system->move_screen(0, -step, vs->height);
- _system->copy_rect(vs->screenPtr + vs->xstart + (y - step) * vs->width,
+ _system->copyRectToScreen(vs->screenPtr + vs->xstart + (y - step) * vs->width,
vs->width,
0, vs->height - step,
vs->width, step);
@@ -2599,7 +2599,7 @@ void ScummEngine::scrollEffect(int dir) {
y = 1 + step;
while (y < vs->height) {
_system->move_screen(0, step, vs->height);
- _system->copy_rect(vs->screenPtr + vs->xstart + vs->width * (vs->height-y),
+ _system->copyRectToScreen(vs->screenPtr + vs->xstart + vs->width * (vs->height-y),
vs->width,
0, 0,
vs->width, step);
@@ -2614,7 +2614,7 @@ void ScummEngine::scrollEffect(int dir) {
x = 1 + step;
while (x < vs->width) {
_system->move_screen(-step, 0, vs->height);
- _system->copy_rect(vs->screenPtr + vs->xstart + x - step,
+ _system->copyRectToScreen(vs->screenPtr + vs->xstart + x - step,
vs->width,
vs->width - step, 0,
step, vs->height);
@@ -2629,7 +2629,7 @@ void ScummEngine::scrollEffect(int dir) {
x = 1 + step;
while (x < vs->width) {
_system->move_screen(step, 0, vs->height);
- _system->copy_rect(vs->screenPtr + vs->xstart + vs->width - x,
+ _system->copyRectToScreen(vs->screenPtr + vs->xstart + vs->width - x,
vs->width,
0, 0,
step, vs->height);