aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ad/ad_scale_level.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/ad/ad_scale_level.h')
-rw-r--r--engines/wintermute/ad/ad_scale_level.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/wintermute/ad/ad_scale_level.h b/engines/wintermute/ad/ad_scale_level.h
index 628a385eb4..5c206423cf 100644
--- a/engines/wintermute/ad/ad_scale_level.h
+++ b/engines/wintermute/ad/ad_scale_level.h
@@ -37,12 +37,14 @@ namespace Wintermute {
class AdScaleLevel : public BaseObject {
public:
DECLARE_PERSISTENT(AdScaleLevel, BaseObject)
- float _scale;
AdScaleLevel(BaseGame *inGame);
virtual ~AdScaleLevel();
virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent);
bool loadFile(const char *filename);
bool loadBuffer(byte *buffer, bool complete = true);
+ float getScale() const;
+private:
+ float _scale;
};
} // end of namespace Wintermute