aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/pal.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cine/pal.h')
-rw-r--r--engines/cine/pal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/cine/pal.h b/engines/cine/pal.h
index 1f55a4f73f..f63073763c 100644
--- a/engines/cine/pal.h
+++ b/engines/cine/pal.h
@@ -139,10 +139,14 @@ public:
*/
Palette &saturatedAddNormalizedGray(Palette& output, byte firstIndex, byte lastIndex, signed grayDividend, signed grayDenominator);
+ bool empty() const;
uint colorCount() const;
Palette &fillWithBlack();
+ /*! \brief Is the palette valid? (Mostly just checks the color format for correctness) */
+ bool isValid() const;
+
/*! \brief The original color format in which this palette was loaded. */
Graphics::PixelFormat colorFormat() const;