From 4c66f74b58e9a2c191f22a37f485047dd19be131 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 26 Dec 2011 22:09:47 +0200 Subject: DREAMWEB: Remove dead code and move most functions to DreamBase --- engines/dreamweb/vgagrafx.cpp | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'engines/dreamweb/vgagrafx.cpp') diff --git a/engines/dreamweb/vgagrafx.cpp b/engines/dreamweb/vgagrafx.cpp index ecb295a353..06743ed3bb 100644 --- a/engines/dreamweb/vgagrafx.cpp +++ b/engines/dreamweb/vgagrafx.cpp @@ -27,13 +27,6 @@ namespace DreamGen { -void DreamGenContext::multiGet() { - multiGet(ds.ptr(si, 0), di, bx, cl, ch); - si += cl * ch; - di += bx * kScreenwidth + kScreenwidth * ch; - cx = 0; -} - void DreamBase::multiGet(uint8 *dst, uint16 x, uint16 y, uint8 w, uint8 h) { assert(x < 320); assert(y < 200); @@ -50,13 +43,6 @@ void DreamBase::multiGet(uint8 *dst, uint16 x, uint16 y, uint8 w, uint8 h) { } } -void DreamGenContext::multiPut() { - multiPut(ds.ptr(si, 0), di, bx, cl, ch); - si += cl * ch; - di += bx * kScreenwidth + kScreenwidth * ch; - cx = 0; -} - void DreamBase::multiPut(const uint8 *src, uint16 x, uint16 y, uint8 w, uint8 h) { assert(x < 320); assert(y < 200); @@ -73,13 +59,6 @@ void DreamBase::multiPut(const uint8 *src, uint16 x, uint16 y, uint8 w, uint8 h) } } -void DreamGenContext::multiDump() { - multiDump(di, bx, cl, ch); - unsigned offset = di + bx * kScreenwidth; - si = di = offset + ch * kScreenwidth; - cx = 0; -} - void DreamBase::multiDump(uint16 x, uint16 y, uint8 width, uint8 height) { unsigned offset = x + y * kScreenwidth; //debug(1, "multiDump %ux%u(segment: %04x) -> %d,%d(address: %d)", w, h, (uint16)ds, x, y, offset); -- cgit v1.2.3