aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/palette.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/palette.h')
-rw-r--r--engines/mads/palette.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/mads/palette.h b/engines/mads/palette.h
index b306c8acb0..75aff7a6ec 100644
--- a/engines/mads/palette.h
+++ b/engines/mads/palette.h
@@ -45,13 +45,13 @@ enum {
PALFLAG_MASK = 0xfc00 // Mask for all the palette flags
};
-struct RGB4 {
+struct PaletteCycle {
byte _colorCount;
- byte g;
+ byte _firstListColor;
byte _firstColorIndex;
- byte u;
+ byte _ticks;
- RGB4() { _colorCount = g = _firstColorIndex = u = 0; }
+ PaletteCycle() { _colorCount = _firstListColor = _firstColorIndex = _ticks = 0; }
};
struct RGB6 {
@@ -165,7 +165,7 @@ protected:
void reset();
public:
byte _mainPalette[PALETTE_SIZE];
- byte _savedPalette[PALETTE_SIZE];
+ byte _cyclingPalette[PALETTE_SIZE];
uint32 _palFlags[PALETTE_COUNT];
PaletteUsage _paletteUsage;
RGBList _rgbList;