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
|
|
@ -46,10 +46,10 @@ public:
|
|||
/*C*/ afxStaticShapeData();
|
||||
/*C*/ afxStaticShapeData(const afxStaticShapeData&, bool = false);
|
||||
|
||||
void packData(BitStream* stream);
|
||||
void unpackData(BitStream* stream);
|
||||
void packData(BitStream* stream) override;
|
||||
void unpackData(BitStream* stream) override;
|
||||
|
||||
virtual bool allowSubstitutions() const { return true; }
|
||||
bool allowSubstitutions() const override { return true; }
|
||||
|
||||
static void initPersistFields();
|
||||
|
||||
|
|
@ -72,7 +72,7 @@ private:
|
|||
StringTableEntry mGhost_cons_name;
|
||||
|
||||
protected:
|
||||
virtual void prepRenderImage(SceneRenderState*);
|
||||
void prepRenderImage(SceneRenderState*) override;
|
||||
|
||||
public:
|
||||
/*C*/ afxStaticShape();
|
||||
|
|
@ -80,10 +80,10 @@ public:
|
|||
|
||||
void init(U32 chor_id, StringTableEntry cons_name);
|
||||
|
||||
virtual bool onNewDataBlock(GameBaseData* dptr, bool reload);
|
||||
virtual void advanceTime(F32 dt);
|
||||
virtual U32 packUpdate(NetConnection*, U32, BitStream*);
|
||||
virtual void unpackUpdate(NetConnection*, BitStream*);
|
||||
bool onNewDataBlock(GameBaseData* dptr, bool reload) override;
|
||||
void advanceTime(F32 dt) override;
|
||||
U32 packUpdate(NetConnection*, U32, BitStream*) override;
|
||||
void unpackUpdate(NetConnection*, BitStream*) override;
|
||||
|
||||
const char* getShapeFileName() const { return mDataBlock->mShapeAsset->getShapeFileName(); }
|
||||
void setVisibility(bool flag) { mIs_visible = flag; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue