From 6513748c460424bef3b2f95dba1648a6be39f72e Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Thu, 27 Jan 2011 20:50:18 +0000 Subject: GOB: Add Pixel::isValid() and ConstPixel::isValid() svn-id: r55573 --- engines/gob/surface.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/gob/surface.h') diff --git a/engines/gob/surface.h b/engines/gob/surface.h index b8426989f3..a8d52c7b36 100644 --- a/engines/gob/surface.h +++ b/engines/gob/surface.h @@ -49,6 +49,8 @@ public: uint32 get() const; void set(uint32 p); + bool isValid() const; + private: byte *_vidMem; byte *_min, *_max; @@ -71,6 +73,8 @@ public: uint32 get() const; + bool isValid() const; + private: const byte *_vidMem; const byte *_min, *_max; -- cgit v1.2.3