aboutsummaryrefslogtreecommitdiff
path: root/gfx.cpp
diff options
context:
space:
mode:
authorLudvig Strigeus2002-04-16 12:07:19 +0000
committerLudvig Strigeus2002-04-16 12:07:19 +0000
commit71eac5acd30cb1fd48cbfbc464b4a37adee8a6b4 (patch)
tree8b6e4950c5dd6805344f8051cac517461691d76d /gfx.cpp
parentd91b85049fc8d40cd9ac5ac42fef2d4f1008d63e (diff)
downloadscummvm-rg350-71eac5acd30cb1fd48cbfbc464b4a37adee8a6b4.tar.gz
scummvm-rg350-71eac5acd30cb1fd48cbfbc464b4a37adee8a6b4.tar.bz2
scummvm-rg350-71eac5acd30cb1fd48cbfbc464b4a37adee8a6b4.zip
endian fixes,
don't use adlib driver if sound initialization fails, simon1 savedialog works svn-id: r3955
Diffstat (limited to 'gfx.cpp')
-rw-r--r--gfx.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/gfx.cpp b/gfx.cpp
index c50fb1713a..443ea86061 100644
--- a/gfx.cpp
+++ b/gfx.cpp
@@ -157,31 +157,6 @@ void Scumm::drawDirtyScreenParts()
}
}
-void Scumm::redrawLines(int from, int to)
-{
- VirtScreen *vs = virtscr;
- int i, j;
-
- if (to <= from)
- return;
-
- for (i = 0; i != ARRAYSIZE(virtscr); i++, vs++) {
- if (to > vs->topline && from < vs->topline + vs->height) {
- int min = from - vs->topline;
- int max = to - vs->topline;
- if (min < 0)
- min = 0;
- if (max > vs->height)
- max = vs->height;
- for (j = 0; j != 40; j++) {
- vs->tdirty[j] = min;
- vs->bdirty[j] = max;
- }
- gdi.updateDirtyScreen(vs);
- }
- }
-}
-
void Scumm::updateDirtyScreen(int slot)
{
gdi.updateDirtyScreen(&virtscr[slot]);