diff options
author | Vincent Hamm | 2002-04-21 19:38:00 +0000 |
---|---|---|
committer | Vincent Hamm | 2002-04-21 19:38:00 +0000 |
commit | 1b1d5795a88cd00ac06c335fab34598a9aad2674 (patch) | |
tree | b4fdb5f00c1da33043b85f2fde749934d9bcbcc7 /akos.cpp | |
parent | f90a05e3b1d3136eba060e477f2f6061eaff9d08 (diff) | |
download | scummvm-rg350-1b1d5795a88cd00ac06c335fab34598a9aad2674.tar.gz scummvm-rg350-1b1d5795a88cd00ac06c335fab34598a9aad2674.tar.bz2 scummvm-rg350-1b1d5795a88cd00ac06c335fab34598a9aad2674.zip |
Some new V7 scummvars. Implemented custom scale table in AKOS codec 1
svn-id: r4038
Diffstat (limited to 'akos.cpp')
-rw-r--r-- | akos.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -583,7 +583,15 @@ void Scumm::akos_codec1(AkosRenderer * ar) int step; /* implement custom scale table */ - ar->v1.scaletable = default_scale_table; + + if(isGlobInMemory(rtString,_vars[VAR_CUSTOMSCALETABLE])) + { + ar->v1.scaletable = getStringAddressVar(VAR_CUSTOMSCALETABLE); + } + else + { + ar->v1.scaletable = default_scale_table; + } /* Setup color decoding variables */ num_colors = getResourceDataSize(ar->akpl); |