mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 23:24:41 +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
|
|
@ -51,15 +51,15 @@ public:
|
|||
/*C*/ afxEA_T3DSpotLight();
|
||||
/*D*/ ~afxEA_T3DSpotLight();
|
||||
|
||||
virtual void ea_set_datablock(SimDataBlock*);
|
||||
virtual bool ea_start();
|
||||
virtual bool ea_update(F32 dt);
|
||||
virtual void ea_finish(bool was_stopped);
|
||||
virtual void ea_set_scope_status(bool flag);
|
||||
virtual void onDeleteNotify(SimObject*);
|
||||
virtual void getBaseColor(LinearColorF& color);
|
||||
void ea_set_datablock(SimDataBlock*) override;
|
||||
bool ea_start() override;
|
||||
bool ea_update(F32 dt) override;
|
||||
void ea_finish(bool was_stopped) override;
|
||||
void ea_set_scope_status(bool flag) override;
|
||||
void onDeleteNotify(SimObject*) override;
|
||||
void getBaseColor(LinearColorF& color) override;
|
||||
|
||||
virtual bool ea_is_enabled() { return true; }
|
||||
bool ea_is_enabled() override { return true; }
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
@ -128,7 +128,7 @@ public:
|
|||
mLight->setColor(live_color);
|
||||
}
|
||||
|
||||
void submitLights(LightManager* lm, bool staticLighting)
|
||||
void submitLights(LightManager* lm, bool staticLighting) override
|
||||
{
|
||||
if (mAnimState.active && mAnimationData && mFade_amt < 1.0f)
|
||||
{
|
||||
|
|
@ -269,12 +269,12 @@ class afxEA_T3DSpotLightDesc : public afxEffectAdapterDesc, public afxEffectDefs
|
|||
static afxEA_T3DSpotLightDesc desc;
|
||||
|
||||
public:
|
||||
virtual bool testEffectType(const SimDataBlock*) const;
|
||||
virtual bool requiresStop(const afxEffectWrapperData*, const afxEffectTimingData&) const;
|
||||
virtual bool runsOnServer(const afxEffectWrapperData*) const { return false; }
|
||||
virtual bool runsOnClient(const afxEffectWrapperData*) const { return true; }
|
||||
bool testEffectType(const SimDataBlock*) const override;
|
||||
bool requiresStop(const afxEffectWrapperData*, const afxEffectTimingData&) const override;
|
||||
bool runsOnServer(const afxEffectWrapperData*) const override { return false; }
|
||||
bool runsOnClient(const afxEffectWrapperData*) const override { return true; }
|
||||
|
||||
virtual afxEffectWrapper* create() const { return new afxEA_T3DSpotLight; }
|
||||
afxEffectWrapper* create() const override { return new afxEA_T3DSpotLight; }
|
||||
};
|
||||
|
||||
afxEA_T3DSpotLightDesc afxEA_T3DSpotLightDesc::desc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue