diff options
author | Sven Hesse | 2008-12-11 03:06:43 +0000 |
---|---|---|
committer | Sven Hesse | 2008-12-11 03:06:43 +0000 |
commit | c7fa7f888ac8d3dac31bba9ff93bb54f917ea9fe (patch) | |
tree | f93a5bf2535809ef184770e55deaad992862c477 /engines/gob/inter.h | |
parent | c7094e20df6b4dfb497e16e5d1d06456f82e01d0 (diff) | |
download | scummvm-rg350-c7fa7f888ac8d3dac31bba9ff93bb54f917ea9fe.tar.gz scummvm-rg350-c7fa7f888ac8d3dac31bba9ff93bb54f917ea9fe.tar.bz2 scummvm-rg350-c7fa7f888ac8d3dac31bba9ff93bb54f917ea9fe.zip |
On second thought, an octree only works if the color to look up is in the palette.
So using a table-based approach to find the nearest color now, using only the upper 6 bits to stop the table from getting too large. It still takes noticeable time to build it. :/
But as a result, the video actually looks okay now...
svn-id: r35298
Diffstat (limited to 'engines/gob/inter.h')
-rw-r--r-- | engines/gob/inter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/gob/inter.h b/engines/gob/inter.h index 3ea8688bc3..bdab8b84f9 100644 --- a/engines/gob/inter.h +++ b/engines/gob/inter.h @@ -624,6 +624,7 @@ protected: bool o6_loadCursor(OpFuncParams ¶ms); bool o6_evaluateStore(OpFuncParams ¶ms); + bool o6_palLoad(OpFuncParams ¶ms); }; } // End of namespace Gob |