aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/he')
-rw-r--r--engines/scumm/he/palette_he.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/engines/scumm/he/palette_he.cpp b/engines/scumm/he/palette_he.cpp
index 02f3f3fc5c..ff29f9ecd0 100644
--- a/engines/scumm/he/palette_he.cpp
+++ b/engines/scumm/he/palette_he.cpp
@@ -33,27 +33,6 @@
namespace Scumm {
-uint8 *ScummEngine::getHEPaletteSlot(uint16 palSlot) {
- assertRange(0, palSlot, _numPalettes, "palette");
-
- if (_game.heversion >= 99) {
- if (palSlot)
- return _hePalettes + palSlot * _hePaletteSlot + 768;
- else
- return _hePalettes + _hePaletteSlot + 768;
- }
-
- return NULL;
-}
-
-uint16 ScummEngine::get16BitColor(uint8 r, uint8 g, uint8 b) {
- uint16 ar = (r >> 3) << 10;
- uint16 ag = (g >> 3) << 5;
- uint16 ab = (b >> 3) << 0;
- uint16 col = ar | ag | ab;
- return col;
-}
-
void ScummEngine_v71he::remapHEPalette(const uint8 *src, uint8 *dst) {
int r, g, b, sum, bestitem, bestsum;
int ar, ag, ab;