mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
rest of virtuals removed
virtuals removed and replaced with override where necessary on the rest of the code base, clang-tidy to the rescue.
This commit is contained in:
parent
efbe5e90f5
commit
2b295fb7f0
454 changed files with 4162 additions and 4156 deletions
|
|
@ -46,12 +46,12 @@ public:
|
|||
/*C*/ afxEA_ScriptEvent();
|
||||
/*D*/ ~afxEA_ScriptEvent();
|
||||
|
||||
virtual bool isDone() { return ran_script; }
|
||||
bool isDone() override { return ran_script; }
|
||||
|
||||
virtual void ea_set_datablock(SimDataBlock*);
|
||||
virtual bool ea_start();
|
||||
virtual bool ea_update(F32 dt);
|
||||
virtual void ea_finish(bool was_stopped);
|
||||
void ea_set_datablock(SimDataBlock*) override;
|
||||
bool ea_start() override;
|
||||
bool ea_update(F32 dt) override;
|
||||
void ea_finish(bool was_stopped) override;
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
@ -126,13 +126,13 @@ class afxEA_ScriptEventDesc : public afxEffectAdapterDesc, public afxEffectDefs
|
|||
static afxEA_ScriptEventDesc desc;
|
||||
|
||||
public:
|
||||
virtual bool testEffectType(const SimDataBlock*) const;
|
||||
virtual bool requiresStop(const afxEffectWrapperData*, const afxEffectTimingData&) const { return false; }
|
||||
virtual bool runsOnServer(const afxEffectWrapperData*) const { return true; }
|
||||
virtual bool runsOnClient(const afxEffectWrapperData*) const { return false; }
|
||||
virtual bool isPositional(const afxEffectWrapperData*) const { return false; }
|
||||
bool testEffectType(const SimDataBlock*) const override;
|
||||
bool requiresStop(const afxEffectWrapperData*, const afxEffectTimingData&) const override { return false; }
|
||||
bool runsOnServer(const afxEffectWrapperData*) const override { return true; }
|
||||
bool runsOnClient(const afxEffectWrapperData*) const override { return false; }
|
||||
bool isPositional(const afxEffectWrapperData*) const override { return false; }
|
||||
|
||||
virtual afxEffectWrapper* create() const { return new afxEA_ScriptEvent; }
|
||||
afxEffectWrapper* create() const override { return new afxEA_ScriptEvent; }
|
||||
};
|
||||
|
||||
afxEA_ScriptEventDesc afxEA_ScriptEventDesc::desc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue