From 9840744acc6e43135ef5e28d041b1d55dd86804b Mon Sep 17 00:00:00 2001 From: athrxx Date: Thu, 9 Aug 2012 18:13:15 +0200 Subject: KYRA: move HOF sequence player into its own class (also cleaning up and fixing things while doing that) --- engines/kyra/screen_hof.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'engines/kyra/screen_hof.cpp') diff --git a/engines/kyra/screen_hof.cpp b/engines/kyra/screen_hof.cpp index ac6ee5eb77..7fdbdeb4db 100644 --- a/engines/kyra/screen_hof.cpp +++ b/engines/kyra/screen_hof.cpp @@ -93,12 +93,6 @@ void Screen_HoF::cmpFadeFrameStep(int srcPage, int srcW, int srcH, int srcX, int } } -void Screen_HoF::copyPageMemory(int srcPage, int srcPos, int dstPage, int dstPos, int numBytes) { - const uint8 *src = getPagePtr(srcPage) + srcPos; - uint8 *dst = getPagePtr(dstPage) + dstPos; - memcpy(dst, src, numBytes); -} - void Screen_HoF::copyRegionEx(int srcPage, int srcW, int srcH, int dstPage, int dstX, int dstY, int dstW, int dstH, const ScreenDim *dim, bool flag) { int x0 = dim->sx << 3; int y0 = dim->sy; -- cgit v1.2.3