diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/ad/ad_region.cpp | 8 | ||||
-rw-r--r-- | engines/wintermute/ad/ad_region.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/engines/wintermute/ad/ad_region.cpp b/engines/wintermute/ad/ad_region.cpp index 39e0ddcf9a..daf0c89606 100644 --- a/engines/wintermute/ad/ad_region.cpp +++ b/engines/wintermute/ad/ad_region.cpp @@ -51,19 +51,19 @@ AdRegion::AdRegion(BaseGame *inGame) : BaseRegion(inGame) { AdRegion::~AdRegion() { } -uint32 AdRegion::getAlpha() { +uint32 AdRegion::getAlpha() const { return _alpha; } -float AdRegion::getZoom() { +float AdRegion::getZoom() const { return _zoom; } -bool AdRegion::isBlocked() { +bool AdRegion::isBlocked() const { return _blocked; } -bool AdRegion::hasDecoration() { +bool AdRegion::hasDecoration() const { return _decoration; } diff --git a/engines/wintermute/ad/ad_region.h b/engines/wintermute/ad/ad_region.h index 454e4bdebe..960dde5f15 100644 --- a/engines/wintermute/ad/ad_region.h +++ b/engines/wintermute/ad/ad_region.h @@ -43,10 +43,10 @@ public: bool loadBuffer(byte *buffer, bool complete = true); virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent); - bool hasDecoration(); - bool isBlocked(); - uint32 getAlpha(); - float getZoom(); + bool hasDecoration() const; + bool isBlocked() const; + uint32 getAlpha() const; + float getZoom() const; // scripting interface virtual ScValue *scGetProperty(const Common::String &name); virtual bool scSetProperty(const char *name, ScValue *value); |