aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/remap.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/graphics/remap.h')
-rw-r--r--engines/sci/graphics/remap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/graphics/remap.h b/engines/sci/graphics/remap.h
index b2b37aa815..d2cec5baeb 100644
--- a/engines/sci/graphics/remap.h
+++ b/engines/sci/graphics/remap.h
@@ -130,7 +130,8 @@ public:
void setNoMatchRange(byte from, byte count);
bool remapAllTables(bool palChanged);
int getRemapCount() const { return _remapCount; }
-
+ int getStartColor() const { return _remapEndColor - REMAP_COLOR_COUNT + 1; }
+ int getEndColor() const { return _remapEndColor; }
private:
GfxPalette32 *_palette;
RemapParams _remaps[REMAP_COLOR_COUNT];