aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v72he.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-05-23 03:33:08 +0000
committerTravis Howell2005-05-23 03:33:08 +0000
commita103d1f2ec9ce471928eabccebdaf90d8e740589 (patch)
tree0fc023cdc7c12079b4b7397fc0b7587cfabdd86f /scumm/script_v72he.cpp
parent0ccb1b726b80de340408946412a757d7b90253d8 (diff)
downloadscummvm-rg350-a103d1f2ec9ce471928eabccebdaf90d8e740589.tar.gz
scummvm-rg350-a103d1f2ec9ce471928eabccebdaf90d8e740589.tar.bz2
scummvm-rg350-a103d1f2ec9ce471928eabccebdaf90d8e740589.zip
Move wizImage functions to Wiz class.
svn-id: r18226
Diffstat (limited to 'scumm/script_v72he.cpp')
-rw-r--r--scumm/script_v72he.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp
index 1a33969bb3..d4929821c2 100644
--- a/scumm/script_v72he.cpp
+++ b/scumm/script_v72he.cpp
@@ -657,7 +657,7 @@ void ScummEngine_v72he::decodeScriptString(byte *dst, bool scriptString) {
*dst = 0;
}
-byte *ScummEngine_v72he::heFindResourceData(uint32 tag, byte *ptr) {
+byte *ScummEngine_v70he::heFindResourceData(uint32 tag, byte *ptr) {
ptr = heFindResource(tag, ptr);
if (ptr == NULL)
@@ -665,7 +665,7 @@ byte *ScummEngine_v72he::heFindResourceData(uint32 tag, byte *ptr) {
return ptr + _resourceHeaderSize;
}
-byte *ScummEngine_v72he::heFindResource(uint32 tag, byte *searchin) {
+byte *ScummEngine_v70he::heFindResource(uint32 tag, byte *searchin) {
uint32 curpos, totalsize, size;
debugC(DEBUG_RESOURCE, "heFindResource(%s, %lx)", tag2str(tag), searchin);
@@ -694,7 +694,7 @@ byte *ScummEngine_v72he::heFindResource(uint32 tag, byte *searchin) {
return NULL;
}
-byte *ScummEngine_v72he::findWrappedBlock(uint32 tag, byte *ptr, int state, bool errorFlag) {
+byte *ScummEngine_v70he::findWrappedBlock(uint32 tag, byte *ptr, int state, bool errorFlag) {
if (READ_UINT32(ptr) == MKID('MULT')) {
byte *offs, *wrap;
uint32 size;
@@ -859,7 +859,7 @@ void ScummEngine_v72he::o72_captureWizImage() {
grab.right = pop() + 1;
grab.top = pop();
grab.left = pop();
- captureWizImage(pop(), grab, false, true);
+ _wiz->captureWizImage(pop(), grab, false, true);
}
void ScummEngine_v72he::o72_getTimer() {
@@ -963,7 +963,7 @@ void ScummEngine_v72he::o72_printWizImage() {
wi.x1 = wi.y1 = 0;
wi.state = 0;
wi.flags = kWIFPrint;
- displayWizImage(&wi);
+ _wiz->displayWizImage(&wi);
}
void ScummEngine_v72he::o72_getArrayDimSize() {
@@ -1690,7 +1690,7 @@ void ScummEngine_v72he::o72_drawWizImage() {
wi.x1 = pop();
wi.resNum = pop();
wi.state = 0;
- displayWizImage(&wi);
+ _wiz->displayWizImage(&wi);
}
void ScummEngine_v72he::o72_debugInput() {