22#ifndef SCI_GRAPHICS_REMAP_H
23#define SCI_GRAPHICS_REMAP_H
25#include "common/array.h"
26#include "common/serializer.h"
37 enum ColorRemappingType {
46 void resetRemapping();
47 void setRemappingPercent(
byte color,
byte percent);
48 void setRemappingRange(
byte color,
byte from,
byte to,
byte base);
49 bool isRemapped(
byte color)
const {
50 return _remapOn && (_remappingType[color] != kRemapNone);
52 byte remapColor(
byte remappedColor,
byte screenColor);
53 void updateRemapping();
59 ColorRemappingType _remappingType[256];
60 byte _remappingByPercent[256];
61 byte _remappingByRange[256];
62 uint16 _remappingPercentToSet;
Definition: palette16.h:41