diff options
author | Chris Apers | 2003-05-05 12:29:26 +0000 |
---|---|---|
committer | Chris Apers | 2003-05-05 12:29:26 +0000 |
commit | 5944d40eaae53fbbc5bc93e8a0c4f075525c43a6 (patch) | |
tree | 8d32f4f7627a6648bee88a436d9fc3827b6f0cb9 /scumm/akos.cpp | |
parent | b1ff9cb1cde7a6a442d6217c83ff558c45f475c8 (diff) | |
download | scummvm-rg350-5944d40eaae53fbbc5bc93e8a0c4f075525c43a6.tar.gz scummvm-rg350-5944d40eaae53fbbc5bc93e8a0c4f075525c43a6.tar.bz2 scummvm-rg350-5944d40eaae53fbbc5bc93e8a0c4f075525c43a6.zip |
Add more ScummVM globals to PDB
svn-id: r7346
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r-- | scumm/akos.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index dc4b421fb0..302411532a 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -524,6 +524,9 @@ void AkosRenderer::codec1_spec3() { } while (1); } +#ifdef __PALM_OS__ +const byte *default_scale_table; +#else const byte default_scale_table[768] = { 0x00, 0x80, 0x40, 0xC0, 0x20, 0xA0, 0x60, 0xE0, 0x10, 0x90, 0x50, 0xD0, 0x30, 0xB0, 0x70, 0xF0, @@ -624,6 +627,7 @@ const byte default_scale_table[768] = { 0x0F, 0x8F, 0x4F, 0xCF, 0x2F, 0xAF, 0x6F, 0xEF, 0x1F, 0x9F, 0x5F, 0xDF, 0x3F, 0xBF, 0x7F, 0xFF, }; +#endif void AkosRenderer::codec1() { int num_colors; @@ -1378,6 +1382,7 @@ bool Scumm::akos_increaseAnim(Actor *a, int chan, byte *aksq, uint16 *akfo, int case AKC_SkipG: case AKC_SkipLE: case AKC_SkipL: + case AKC_SkipNE: case AKC_SkipE: curpos += 5; @@ -1650,3 +1655,13 @@ bool Scumm::akos_compare(int a, int b, byte cmd) { return a >= b; } } + +#ifdef __PALM_OS__ +#include "scumm_globals.h" // init globals +void Akos_initGlobals() { + GSETPTR(default_scale_table, GBVARS_DEFAULTSCALETABLE_INDEX, byte, GBVARS_SCUMM) +} +void Akos_releaseGlobals() { + GRELEASEPTR(GBVARS_DEFAULTSCALETABLE_INDEX, GBVARS_SCUMM) +} +#endif |