diff options
author | Max Horn | 2003-05-30 19:00:33 +0000 |
---|---|---|
committer | Max Horn | 2003-05-30 19:00:33 +0000 |
commit | c6b35e15a0d541ba0ca89f983743cafa4e082cd2 (patch) | |
tree | c4b9350f8920559b110e338b16915c8634593880 /scumm/akos.cpp | |
parent | 90468ea46e3cd96feedd93bc1a2980402e7f0a4f (diff) | |
download | scummvm-rg350-c6b35e15a0d541ba0ca89f983743cafa4e082cd2.tar.gz scummvm-rg350-c6b35e15a0d541ba0ca89f983743cafa4e082cd2.tar.bz2 scummvm-rg350-c6b35e15a0d541ba0ca89f983743cafa4e082cd2.zip |
moved bomp stuff into own files; removed some of our 6 (!) bomp decoders
svn-id: r8151
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r-- | scumm/akos.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index 5f3b436ef4..99878607c2 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -24,6 +24,7 @@ #include "scumm.h" #include "actor.h" #include "akos.h" +#include "bomp.h" #include "imuse.h" #include "sound.h" @@ -919,7 +920,7 @@ void AkosRenderer::akos16Decompress(byte *dest, int32 pitch, const byte *src, in assert(t_width > 0); while (t_height--) { akos16DecodeLine(tmp_buf, t_width, dir); - _vm->bompApplyShadow(_shadow_mode, akos16.buffer, dest, t_width, transparency); + bompApplyShadow(_shadow_mode, _shadow_table, akos16.buffer, dest, t_width, transparency); if (numskip_after != 0) { akos16SkipData(numskip_after); @@ -950,7 +951,7 @@ void AkosRenderer::akos16DecompressMask(byte *dest, int32 pitch, const byte *src while (t_height--) { akos16DecodeLine(tmp_buf, t_width, dir); akos16ApplyMask(akos16.buffer, maskptr, (byte)bitpos_start, t_width, transparency); - _vm->bompApplyShadow(_shadow_mode, akos16.buffer, dest, t_width, transparency); + bompApplyShadow(_shadow_mode, _shadow_table, akos16.buffer, dest, t_width, transparency); if (numskip_after != 0) { akos16SkipData(numskip_after); |