aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v90he.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2005-05-23 02:00:49 +0000
committerEugene Sandulenko2005-05-23 02:00:49 +0000
commitb9e8e4080559f0ce9b249d3fb4c39db1431692f0 (patch)
tree795aef28cb3fdae36054ed096b2cfee8adc9f694 /scumm/script_v90he.cpp
parentf7e418d6384236c66ecb88190f815e0380d71382 (diff)
downloadscummvm-rg350-b9e8e4080559f0ce9b249d3fb4c39db1431692f0.tar.gz
scummvm-rg350-b9e8e4080559f0ce9b249d3fb4c39db1431692f0.tar.bz2
scummvm-rg350-b9e8e4080559f0ce9b249d3fb4c39db1431692f0.zip
Turn Wiz struct into class as requested.
svn-id: r18224
Diffstat (limited to 'scumm/script_v90he.cpp')
-rw-r--r--scumm/script_v90he.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp
index ff975309bf..2315b0ce10 100644
--- a/scumm/script_v90he.cpp
+++ b/scumm/script_v90he.cpp
@@ -1899,7 +1899,7 @@ void ScummEngine_v90he::o90_getPolygonOverlap() {
wp.vert[i].x = args1[i * 2 + 0];
wp.vert[i].y = args1[i * 2 + 1];
}
- push(_wiz.polygonContains(wp, args2[0], args2[1]) ? 1 : 0);
+ push(_wiz->polygonContains(wp, args2[0], args2[1]) ? 1 : 0);
}
}
break;
@@ -2591,14 +2591,14 @@ void ScummEngine_v90he::o90_kernelSetFunctions() {
// Used in readdemo
break;
case 42:
- _wiz._rectOverrideEnabled = true;
- _wiz._rectOverride.left = args[1];
- _wiz._rectOverride.top = args[2];
- _wiz._rectOverride.right = args[3];
- _wiz._rectOverride.bottom = args[4];
+ _wiz->_rectOverrideEnabled = true;
+ _wiz->_rectOverride.left = args[1];
+ _wiz->_rectOverride.top = args[2];
+ _wiz->_rectOverride.right = args[3];
+ _wiz->_rectOverride.bottom = args[4];
break;
case 43:
- _wiz._rectOverrideEnabled = false;
+ _wiz->_rectOverrideEnabled = false;
break;
case 714:
break;