diff options
author | Einar Johan Trøan Sømåen | 2012-09-28 23:55:41 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-09-28 23:55:41 +0200 |
commit | 03e7bffc77c8b4e74bee34573da35fe88459703e (patch) | |
tree | 1c36392a4f3551793c905d22791ec5d7a1717c4f /engines/wintermute/base/base_region.h | |
parent | b31d6212ffc35b987cfb7ee35a5ae3f75bf34a60 (diff) | |
download | scummvm-rg350-03e7bffc77c8b4e74bee34573da35fe88459703e.tar.gz scummvm-rg350-03e7bffc77c8b4e74bee34573da35fe88459703e.tar.bz2 scummvm-rg350-03e7bffc77c8b4e74bee34573da35fe88459703e.zip |
WINTERMUTE: Privatize variables in BaseRegion and BaseSubFrame
Diffstat (limited to 'engines/wintermute/base/base_region.h')
-rw-r--r-- | engines/wintermute/base/base_region.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/wintermute/base/base_region.h b/engines/wintermute/base/base_region.h index 8dd02fe928..51989de630 100644 --- a/engines/wintermute/base/base_region.h +++ b/engines/wintermute/base/base_region.h @@ -36,9 +36,6 @@ namespace Wintermute { class BaseRegion : public BaseObject { public: - float _lastMimicScale; - int _lastMimicX; - int _lastMimicY; void cleanup(); bool mimic(BaseRegion *region, float scale = 100.0f, int x = 0, int y = 0); bool getBoundingRect(Rect32 *rect); @@ -62,6 +59,10 @@ public: 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: + float _lastMimicScale; + int _lastMimicX; + int _lastMimicY; }; } // end of namespace Wintermute |