mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +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
|
|
@ -57,7 +57,7 @@ class afxSelectronData : public afxChoreographerData, public afxSelectronDefs
|
|||
U32 id;
|
||||
public:
|
||||
ewValidator(U32 id) { this->id = id; }
|
||||
void validateType(SimObject *object, void *typePtr);
|
||||
void validateType(SimObject *object, void *typePtr) override;
|
||||
};
|
||||
|
||||
bool do_id_convert;
|
||||
|
|
@ -90,18 +90,18 @@ public:
|
|||
/*C*/ afxSelectronData(const afxSelectronData&, bool = false);
|
||||
/*D*/ ~afxSelectronData();
|
||||
|
||||
virtual void reloadReset();
|
||||
void reloadReset() override;
|
||||
|
||||
virtual bool onAdd();
|
||||
virtual void packData(BitStream*);
|
||||
virtual void unpackData(BitStream*);
|
||||
bool onAdd() override;
|
||||
void packData(BitStream*) override;
|
||||
void unpackData(BitStream*) override;
|
||||
|
||||
bool preload(bool server, String &errorStr);
|
||||
bool preload(bool server, String &errorStr) override;
|
||||
|
||||
bool matches(U32 mask, U8 style);
|
||||
void gatherConstraintDefs(Vector<afxConstraintDef>&);
|
||||
|
||||
virtual bool allowSubstitutions() const { return true; }
|
||||
bool allowSubstitutions() const override { return true; }
|
||||
|
||||
static void initPersistFields();
|
||||
|
||||
|
|
@ -163,7 +163,7 @@ public:
|
|||
class ObjectDeleteEvent : public SimEvent
|
||||
{
|
||||
public:
|
||||
void process(SimObject *obj) { if (obj) obj->deleteObject(); }
|
||||
void process(SimObject *obj) override { if (obj) obj->deleteObject(); }
|
||||
};
|
||||
|
||||
private:
|
||||
|
|
@ -206,15 +206,15 @@ public:
|
|||
/*D*/ ~afxSelectron();
|
||||
|
||||
// STANDARD OVERLOADED METHODS //
|
||||
virtual bool onNewDataBlock(GameBaseData* dptr, bool reload);
|
||||
virtual void processTick(const Move*);
|
||||
virtual void advanceTime(F32 dt);
|
||||
virtual bool onAdd();
|
||||
virtual void onRemove();
|
||||
virtual U32 packUpdate(NetConnection*, U32, BitStream*);
|
||||
virtual void unpackUpdate(NetConnection*, BitStream*);
|
||||
bool onNewDataBlock(GameBaseData* dptr, bool reload) override;
|
||||
void processTick(const Move*) override;
|
||||
void advanceTime(F32 dt) override;
|
||||
bool onAdd() override;
|
||||
void onRemove() override;
|
||||
U32 packUpdate(NetConnection*, U32, BitStream*) override;
|
||||
void unpackUpdate(NetConnection*, BitStream*) override;
|
||||
|
||||
virtual void sync_with_clients();
|
||||
void sync_with_clients() override;
|
||||
void finish_startup();
|
||||
|
||||
DECLARE_CONOBJECT(afxSelectron);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue