aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v8.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-10 21:49:59 +0000
committerMax Horn2003-05-10 21:49:59 +0000
commitacb35fc915284cb3b194ba8864eb24e39fff992e (patch)
treedfc1dd77fcda48c14ee8ea0e898cdbd023a14344 /scumm/script_v8.cpp
parente5fe73726a554d312f30682508d2474c8734b0ef (diff)
downloadscummvm-rg350-acb35fc915284cb3b194ba8864eb24e39fff992e.tar.gz
scummvm-rg350-acb35fc915284cb3b194ba8864eb24e39fff992e.tar.bz2
scummvm-rg350-acb35fc915284cb3b194ba8864eb24e39fff992e.zip
renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and _realWidth/_realHeight -> _screenWidth/_screenHeight (inspired by MadMoose, but I'll take the blame - still this seems much more logical & intuitive)
svn-id: r7423
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r--scumm/script_v8.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index f30a9fd0ed..58328e0a37 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -585,7 +585,7 @@ void Scumm::drawBlastTexts() {
_charset->_top = _blastTextQueue[i].ypos;
_charset->_startLeft = _charset->_left = _blastTextQueue[i].xpos;
- _charset->_right = _realWidth - 1;
+ _charset->_right = _screenWidth - 1;
_charset->_center = _blastTextQueue[i].center;
_charset->setColor(_blastTextQueue[i].color);
_charset->_disableOffsX = _charset->_firstChar = true;
@@ -1534,7 +1534,7 @@ void Scumm_v8::o8_kernelGetFunctions() {
break;
case 0xD8: { // findBlastObject
int x = args[1] + (camera._cur.x & 7);
- int y = args[2] + (camera._cur.y - (_realHeight /2));;
+ int y = args[2] + (camera._cur.y - (_screenHeight /2));;
BlastObject *eo;
for (int i = _blastObjectQueuePos - 1; i >= 0; i--) {