aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/screen_hof.cpp
diff options
context:
space:
mode:
authorathrxx2012-08-09 18:13:15 +0200
committerathrxx2012-11-11 19:14:29 +0100
commit9840744acc6e43135ef5e28d041b1d55dd86804b (patch)
tree68cc574de7393fd8451f64db2e730ad5f4a5dcc4 /engines/kyra/screen_hof.cpp
parente016e7dfc2b1e3cdb39c01d81c5a34eee66a277b (diff)
downloadscummvm-rg350-9840744acc6e43135ef5e28d041b1d55dd86804b.tar.gz
scummvm-rg350-9840744acc6e43135ef5e28d041b1d55dd86804b.tar.bz2
scummvm-rg350-9840744acc6e43135ef5e28d041b1d55dd86804b.zip
KYRA: move HOF sequence player into its own class
(also cleaning up and fixing things while doing that)
Diffstat (limited to 'engines/kyra/screen_hof.cpp')
-rw-r--r--engines/kyra/screen_hof.cpp6
1 files changed, 0 insertions, 6 deletions
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;