diff options
Diffstat (limited to 'engines/neverhood/palette.h')
-rw-r--r-- | engines/neverhood/palette.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/neverhood/palette.h b/engines/neverhood/palette.h index e3d95aa7f6..01f63e8e7e 100644 --- a/engines/neverhood/palette.h +++ b/engines/neverhood/palette.h @@ -38,7 +38,7 @@ public: Palette(NeverhoodEngine *vm, const char *filename); // Create from resource with fileHash Palette(NeverhoodEngine *vm, uint32 fileHash); - ~Palette(); + virtual ~Palette(); void usePalette(); void addPalette(const char *filename, int toIndex, int count, int fromIndex); void addPalette(uint32 fileHash, int toIndex, int count, int fromIndex); @@ -60,7 +60,8 @@ public: Palette2(NeverhoodEngine *vm); // TODO: Other ctors Palette2(NeverhoodEngine *vm, uint32 fileHash); - ~Palette2(); + virtual ~Palette2(); + void copyBasePalette(int toIndex, int count, int fromIndex); void addPalette(uint32 fileHash, int toIndex, int count, int fromIndex); void startFadeToPalette(int counter); public: |