diff options
author | Max Horn | 2002-11-06 14:54:21 +0000 |
---|---|---|
committer | Max Horn | 2002-11-06 14:54:21 +0000 |
commit | 1974075bb3aa1416fbdc30189fb641e903d526e8 (patch) | |
tree | 51a4abce3355860f9bb541be6407647b0b5bba76 | |
parent | f37e0fc763dce6752901e86669d821293bed33c7 (diff) | |
download | scummvm-rg350-1974075bb3aa1416fbdc30189fb641e903d526e8.tar.gz scummvm-rg350-1974075bb3aa1416fbdc30189fb641e903d526e8.tar.bz2 scummvm-rg350-1974075bb3aa1416fbdc30189fb641e903d526e8.zip |
removed unused parameters from drawBomp
svn-id: r5440
-rw-r--r-- | scumm/akos.cpp | 4 | ||||
-rw-r--r-- | scumm/gfx.cpp | 2 | ||||
-rw-r--r-- | scumm/object.cpp | 4 | ||||
-rw-r--r-- | scumm/scumm.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index 9ee3b0b4f6..6328bbee6f 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -926,9 +926,9 @@ void AkosRenderer::codec5() { if (clipping != 0) { _vm->_bompMaskPtr = _vm->getResourceAddress(rtBuffer, 9) + _vm->_screenStartStrip + _vm->gdi._imgBufOffs[clipping]; _vm->_bompMaskPitch = _vm->_realWidth / 8; - _vm->drawBomp(&bdd, 0, bdd.dataptr, decode_mode, 1); + _vm->drawBomp(&bdd, decode_mode, 1); } else { - _vm->drawBomp(&bdd, 0, bdd.dataptr, decode_mode, 0); + _vm->drawBomp(&bdd, decode_mode, 0); } _vm->_bompActorPalletePtr = NULL; diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 541af04102..0a175df329 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -3246,7 +3246,7 @@ void Scumm::bompScaleFuncX(byte * line_buffer, byte * scalling_x_ptr, byte skip, } } -void Scumm::drawBomp(BompDrawData * bd, int param1, byte * data_ptr, int decode_mode, int mask) { +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? diff --git a/scumm/object.cpp b/scumm/object.cpp index 07d60a2868..104fa30783 100644 --- a/scumm/object.cpp +++ b/scumm/object.cpp @@ -1260,10 +1260,10 @@ void Scumm::drawBlastObject(BlastObject *eo) _bompScallingYPtr = bomp_scalling_y; _bompScaleRight = setupBompScale(_bompScallingXPtr, bdd.srcwidth, bdd.scale_x); _bompScaleBottom = setupBompScale(_bompScallingYPtr, bdd.srcheight, bdd.scale_y); - drawBomp(&bdd, 0, bdd.dataptr, 1, 3); + drawBomp(&bdd, 1, 3); } else { _bompShadowMode = eo->mode; - drawBomp(&bdd, 0, bdd.dataptr, 1, 0); + drawBomp(&bdd, 1, 0); } _bompShadowMode = 0; diff --git a/scumm/scumm.h b/scumm/scumm.h index 08ee492878..fdcedd8b4d 100644 --- a/scumm/scumm.h +++ b/scumm/scumm.h @@ -851,7 +851,7 @@ public: // bomp void decompressBomp(byte *dst, byte *src, int w, int h); - void drawBomp(BompDrawData * bd, int param1, byte *data_ptr, int decode_mode, int mask); + void drawBomp(BompDrawData * bd, int decode_mode, int mask); int32 setupBompScale(byte * scalling, int32 size, byte scale); void bompScaleFuncX(byte * line_buffer, byte * scalling_x_ptr, byte skip, int32 size); int32 bompDecodeLineMode0(byte * src, byte * line_buffer, int32 size); |