diff options
author | Max Horn | 2003-05-10 21:49:59 +0000 |
---|---|---|
committer | Max Horn | 2003-05-10 21:49:59 +0000 |
commit | acb35fc915284cb3b194ba8864eb24e39fff992e (patch) | |
tree | dfc1dd77fcda48c14ee8ea0e898cdbd023a14344 /scumm/akos.cpp | |
parent | e5fe73726a554d312f30682508d2474c8734b0ef (diff) | |
download | scummvm-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/akos.cpp')
-rw-r--r-- | scumm/akos.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index 4950a6431e..aa5ca72d3f 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -371,7 +371,7 @@ void AkosRenderer::codec1_genericDecode() { if (v1.scaletable[v1.tmp_x] < _scaleX) { v1.x += v1.scaleXstep; - if (v1.x < 0 || v1.x >= _vm->_realWidth) + if (v1.x < 0 || v1.x >= _vm->_screenWidth) return; maskbit = revBitMask[v1.x & 7]; v1.destptr += v1.scaleXstep; @@ -437,7 +437,7 @@ void AkosRenderer::codec1_spec1() { if (v1.scaletable[v1.tmp_x] < _scaleX) { v1.x += v1.scaleXstep; - if (v1.x < 0 || v1.x >= _vm->_realWidth) + if (v1.x < 0 || v1.x >= _vm->_screenWidth) return; maskbit = revBitMask[v1.x & 7]; v1.destptr += v1.scaleXstep; @@ -510,7 +510,7 @@ void AkosRenderer::codec1_spec3() { if (v1.scaletable[v1.tmp_x] < _scaleX) { v1.x += v1.scaleXstep; - if (v1.x < 0 || v1.x >= _vm->_realWidth) + if (v1.x < 0 || v1.x >= _vm->_screenWidth) return; maskbit = revBitMask[v1.x & 7]; v1.destptr += v1.scaleXstep; @@ -1275,7 +1275,7 @@ void AkosRenderer::codec16() { int32 width_unk, height_unk; height_unk = clip_top; - int32 pitch = _vm->_realWidth; + int32 pitch = _vm->_screenWidth; int32 /*tmp1, tmp2, tmp3,*/ dir; @@ -1319,7 +1319,7 @@ void AkosRenderer::codec16() { int32 numskip_before = skip_x + (skip_y * _width); int32 numskip_after = _width - cur_x; - byte *dest = outptr + width_unk + height_unk * _vm->_realWidth; + byte *dest = outptr + width_unk + height_unk * _vm->_screenWidth; if (_zbuf == 0) { akos16Decompress(dest, pitch, srcptr, cur_x, out_height, dir, numskip_before, numskip_after, 255); |