aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter.h
diff options
context:
space:
mode:
authorSven Hesse2008-12-11 03:06:43 +0000
committerSven Hesse2008-12-11 03:06:43 +0000
commitc7fa7f888ac8d3dac31bba9ff93bb54f917ea9fe (patch)
treef93a5bf2535809ef184770e55deaad992862c477 /engines/gob/inter.h
parentc7094e20df6b4dfb497e16e5d1d06456f82e01d0 (diff)
downloadscummvm-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.h1
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 &params);
bool o6_evaluateStore(OpFuncParams &params);
+ bool o6_palLoad(OpFuncParams &params);
};
} // End of namespace Gob