aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/palette.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/neverhood/palette.h')
-rw-r--r--engines/neverhood/palette.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/neverhood/palette.h b/engines/neverhood/palette.h
index b29d77181b..752ae3aedb 100644
--- a/engines/neverhood/palette.h
+++ b/engines/neverhood/palette.h
@@ -54,6 +54,19 @@ protected:
void fadeColor(byte *rgb, byte toR, byte toG, byte toB);
};
+class Palette2 : public Palette {
+public:
+ Palette2(NeverhoodEngine *vm);
+ // TODO: Other ctors
+ Palette2(NeverhoodEngine *vm, uint32 fileHash);
+ ~Palette2();
+ void addPalette(uint32 fileHash, int toIndex, int count, int fromIndex);
+ void startFadeToPalette(int counter);
+public:
+ byte *_basePalette;
+ void update();
+};
+
} // End of namespace Neverhood
#endif /* NEVERHOOD_PALETTE_H */