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/gfx.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/gfx.cpp')
| -rw-r--r-- | scumm/gfx.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 0a175df329..56f5ef26ce 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -3248,11 +3248,11 @@ void Scumm::bompScaleFuncX(byte * line_buffer, byte * scalling_x_ptr, byte skip, void Scumm::drawBomp(BompDrawData * bd, int decode_mode, int mask) { byte skip_y = 128; - byte skip_y_new = 0; // FIXME - is this a sensible default value? - byte bits = 0; // FIXME - is this a sensible default value? + byte skip_y_new = 0; + byte bits = 0; + byte *mask_out = 0; byte tmp; int32 clip_left, clip_right, clip_top, clip_bottom, tmp_x, tmp_y; - byte *mask_out = 0; // FIXME - is this a sensible default value? if (bd->x < 0) { clip_left = -bd->x; @@ -3351,7 +3351,7 @@ void Scumm::drawBomp(BompDrawData * bd, int decode_mode, int mask) { bompApplyActorPalette(line_ptr, clip_right); - switch(_bompShadowMode) { + switch(bd->shadowMode) { case 0: bompApplyShadow0(line_ptr, dst, clip_right); break; @@ -3362,7 +3362,7 @@ void Scumm::drawBomp(BompDrawData * bd, int decode_mode, int mask) { bompApplyShadow3(line_ptr, dst, clip_right); break; default: - error("Unknown _bompShadowMode %d", _bompShadowMode); + error("Unknown bomp shadowMode %d", bd->shadowMode); } labelBompSkip: |
