mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 08:15:44 +00:00
virtuals removed
virtuals removed and replaced with override where necessary, clang-tidy to the rescue.
This commit is contained in:
parent
88a43f3137
commit
efbe5e90f5
255 changed files with 2164 additions and 2164 deletions
|
|
@ -47,10 +47,10 @@ public:
|
|||
/*C*/ afxParticlePoolData(const afxParticlePoolData&, bool = false);
|
||||
/*D*/ ~afxParticlePoolData();
|
||||
|
||||
virtual void packData(BitStream*);
|
||||
virtual void unpackData(BitStream*);
|
||||
void packData(BitStream*) override;
|
||||
void unpackData(BitStream*) override;
|
||||
|
||||
virtual bool allowSubstitutions() const { return true; }
|
||||
bool allowSubstitutions() const override { return true; }
|
||||
|
||||
static void initPersistFields();
|
||||
|
||||
|
|
@ -75,7 +75,7 @@ class afxParticlePool : public GameBase
|
|||
class ObjectDeleteEvent : public SimEvent
|
||||
{
|
||||
public:
|
||||
void process(SimObject *obj) { if (obj) obj->deleteObject(); }
|
||||
void process(SimObject *obj) override { if (obj) obj->deleteObject(); }
|
||||
};
|
||||
|
||||
struct SortParticlePool
|
||||
|
|
@ -102,14 +102,14 @@ private:
|
|||
GFXVertexBufferHandle<GFXVertexPCT> mVertBuff2;
|
||||
|
||||
protected:
|
||||
virtual void prepRenderImage(SceneRenderState*);
|
||||
void prepRenderImage(SceneRenderState*) override;
|
||||
|
||||
void pool_prepBatchRender(RenderPassManager*, const Point3F &camPos, const LinearColorF &ambientColor);
|
||||
void pool_renderObject_Normal(RenderPassManager*, const Point3F &camPos, const LinearColorF &ambientColor);
|
||||
void pool_renderObject_TwoPass(RenderPassManager*, const Point3F &camPos, const LinearColorF &ambientColor);
|
||||
|
||||
virtual bool onAdd();
|
||||
virtual void onRemove();
|
||||
bool onAdd() override;
|
||||
void onRemove() override;
|
||||
|
||||
void renderBillboardParticle_blend(Particle&, const Point3F* basePnts, const MatrixF& camView, const F32 spinFactor,
|
||||
const F32 blend_factor, ParticleEmitter*);
|
||||
|
|
@ -120,7 +120,7 @@ public:
|
|||
/*C*/ afxParticlePool();
|
||||
/*D*/ ~afxParticlePool();
|
||||
|
||||
virtual bool onNewDataBlock(GameBaseData* dptr, bool reload);
|
||||
bool onNewDataBlock(GameBaseData* dptr, bool reload) override;
|
||||
|
||||
void addParticleEmitter(ParticleEmitter*);
|
||||
void removeParticleEmitter(ParticleEmitter*);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue