diff options
author | Einar Johan Trøan Sømåen | 2013-04-18 18:04:51 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-04-18 18:04:51 +0200 |
commit | 6c55213cd5a63ff198a25573ad38672e7faa02ce (patch) | |
tree | e91f4fda30f287f5fc9a6da4a581489f81a7ab73 /engines/wintermute/ad/ad_layer.h | |
parent | b6242d0ea5603f73b488ed144ee3807b89829072 (diff) | |
download | scummvm-rg350-6c55213cd5a63ff198a25573ad38672e7faa02ce.tar.gz scummvm-rg350-6c55213cd5a63ff198a25573ad38672e7faa02ce.tar.bz2 scummvm-rg350-6c55213cd5a63ff198a25573ad38672e7faa02ce.zip |
WINTERMUTE: Add 'override' to most Script-related functions.
Diffstat (limited to 'engines/wintermute/ad/ad_layer.h')
-rw-r--r-- | engines/wintermute/ad/ad_layer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/wintermute/ad/ad_layer.h b/engines/wintermute/ad/ad_layer.h index 95f96617f5..8fe4d4f91e 100644 --- a/engines/wintermute/ad/ad_layer.h +++ b/engines/wintermute/ad/ad_layer.h @@ -44,13 +44,13 @@ public: BaseArray<AdSceneNode *> _nodes; bool loadFile(const char *filename); bool loadBuffer(byte *buffer, bool complete = true); - virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent); + virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent) override; // 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(); + virtual ScValue *scGetProperty(const Common::String &name) override; + virtual bool scSetProperty(const char *name, ScValue *value) override; + virtual bool scCallMethod(ScScript *script, ScStack *stack, ScStack *thisStack, const char *name) override; + virtual const char *scToString() override; }; } // end of namespace Wintermute |