diff options
author | Einar Johan Trøan Sømåen | 2012-12-09 12:13:04 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-12-09 12:13:04 +0100 |
commit | 0e93e898c5b80e99da60a97faf3816091b6e1b35 (patch) | |
tree | 8d6bfe550a91a9f1096765dde40318de36f5b4db /engines/wintermute/ad/ad_region.h | |
parent | 8d866683d90e69c3313fda5fed63679a603d2b45 (diff) | |
download | scummvm-rg350-0e93e898c5b80e99da60a97faf3816091b6e1b35.tar.gz scummvm-rg350-0e93e898c5b80e99da60a97faf3816091b6e1b35.tar.bz2 scummvm-rg350-0e93e898c5b80e99da60a97faf3816091b6e1b35.zip |
WINTERMUTE: Privatize members in AdRegion
Diffstat (limited to 'engines/wintermute/ad/ad_region.h')
-rw-r--r-- | engines/wintermute/ad/ad_region.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/engines/wintermute/ad/ad_region.h b/engines/wintermute/ad/ad_region.h index 6112900361..454e4bdebe 100644 --- a/engines/wintermute/ad/ad_region.h +++ b/engines/wintermute/ad/ad_region.h @@ -36,21 +36,27 @@ namespace Wintermute { class AdRegion : public BaseRegion { public: DECLARE_PERSISTENT(AdRegion, BaseRegion) - uint32 _alpha; - float _zoom; - bool _blocked; - bool _decoration; + AdRegion(BaseGame *inGame); virtual ~AdRegion(); bool loadFile(const char *filename); bool loadBuffer(byte *buffer, bool complete = true); virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent); + bool hasDecoration(); + bool isBlocked(); + uint32 getAlpha(); + float getZoom(); // scripting interface virtual ScValue *scGetProperty(const Common::String &name); virtual bool scSetProperty(const char *name, ScValue *value); virtual bool scCallMethod(ScScript *script, ScStack *stack, ScStack *thisStack, const char *name); virtual const char *scToString(); +private: + uint32 _alpha; + float _zoom; + bool _blocked; + bool _decoration; }; } // end of namespace Wintermute |