diff options
author | Max Horn | 2002-11-06 15:29:49 +0000 |
---|---|---|
committer | Max Horn | 2002-11-06 15:29:49 +0000 |
commit | 63e1069ec1b64686f3d1d1a80a6b440a6adb1e2d (patch) | |
tree | f7a52e2b27c6a3057c7cceac2a1a3727058a223b /scumm/akos.cpp | |
parent | 2c6e69dcaf9020ebbd42233bd5cd41f2f5da2f94 (diff) | |
download | scummvm-rg350-63e1069ec1b64686f3d1d1a80a6b440a6adb1e2d.tar.gz scummvm-rg350-63e1069ec1b64686f3d1d1a80a6b440a6adb1e2d.tar.bz2 scummvm-rg350-63e1069ec1b64686f3d1d1a80a6b440a6adb1e2d.zip |
removed more unused variables; cleaned up some spaces
svn-id: r5442
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r-- | scumm/akos.cpp | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index 6328bbee6f..8f74f57e9a 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -854,8 +854,6 @@ void AkosRenderer::codec1_ignorePakCols(int num) void AkosRenderer::codec5() { int32 clip_left, clip_right, clip_top, clip_bottom, maxw, maxh, tmp_x, tmp_y; - _vm->_bompShadowMode = shadow_mode; - if (!mirror) { clip_left = (_x - move_x_cur - _width) + 1; } else { @@ -907,6 +905,7 @@ void AkosRenderer::codec5() { bdd.dataptr = srcptr; bdd.scale_x = 255; bdd.scale_y = 255; + bdd.shadowMode = shadow_mode; _vm->_bompScallingXPtr = NULL; _vm->_bompScallingYPtr = NULL; @@ -989,16 +988,16 @@ void AkosRenderer::akos16PutOnScreen(byte * dest, byte * src, byte transparency, } } -#define AKOS16_FILL_BITS() \ - if (akos16.numbits <= 8) { \ - akos16.bits |= (*akos16.dataptr++) << akos16.numbits; \ - akos16.numbits += 8; \ - } +#define AKOS16_FILL_BITS() \ + if (akos16.numbits <= 8) { \ + akos16.bits |= (*akos16.dataptr++) << akos16.numbits; \ + akos16.numbits += 8; \ + } + +#define AKOS16_EAT_BITS(n) \ + akos16.numbits -= (n); \ + akos16.bits >>= (n); -#define AKOS16_EAT_BITS(n) \ - akos16.numbits -= (n); \ - akos16.bits >>= (n); - void AkosRenderer::akos16SkipData(int32 numskip) { uint16 bits, tmp_bits; |