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_entity.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_entity.h')
-rw-r--r-- | engines/wintermute/ad/ad_entity.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/wintermute/ad/ad_entity.h b/engines/wintermute/ad/ad_entity.h index 94921aaa27..c23b37366d 100644 --- a/engines/wintermute/ad/ad_entity.h +++ b/engines/wintermute/ad/ad_entity.h @@ -42,7 +42,7 @@ public: void updatePosition(); virtual int getHeight(); BaseRegion *_region; - virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent); + virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent) override; virtual bool update(); virtual bool display(); AdEntity(BaseGame *inGame); @@ -56,10 +56,10 @@ public: const char* getItemName() const; // 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; private: int32 _walkToX; int32 _walkToY; |