mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +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
|
|
@ -103,14 +103,14 @@ class DecalData : public SimDataBlock
|
|||
|
||||
DECLARE_CONOBJECT(DecalData);
|
||||
static void initPersistFields();
|
||||
virtual void onStaticModified( const char *slotName, const char *newValue = NULL );
|
||||
void onStaticModified( const char *slotName, const char *newValue = NULL ) override;
|
||||
|
||||
virtual bool onAdd();
|
||||
virtual void onRemove();
|
||||
bool onAdd() override;
|
||||
void onRemove() override;
|
||||
|
||||
virtual bool preload( bool server, String &errorStr );
|
||||
virtual void packData( BitStream* );
|
||||
virtual void unpackData( BitStream* );
|
||||
bool preload( bool server, String &errorStr ) override;
|
||||
void packData( BitStream* ) override;
|
||||
void unpackData( BitStream* ) override;
|
||||
|
||||
Material* getMaterialDefinition();
|
||||
BaseMatInstance* getMaterialInstance();
|
||||
|
|
@ -118,7 +118,7 @@ class DecalData : public SimDataBlock
|
|||
static SimSet* getSet();
|
||||
static DecalData* findDatablock( String lookupName );
|
||||
|
||||
virtual void inspectPostApply();
|
||||
void inspectPostApply() override;
|
||||
void reloadRects();
|
||||
|
||||
protected:
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ class DecalManager : public SceneObject
|
|||
U32 _generateConvexHull( const Vector<Point3F> &points, Vector<Point3F> *outPoints );
|
||||
|
||||
// Rendering
|
||||
void prepRenderImage( SceneRenderState *state );
|
||||
void prepRenderImage( SceneRenderState *state ) override;
|
||||
|
||||
void _generateWindingOrder( const Point3F &cornerPoint, Vector<Point3F> *sortPoints );
|
||||
|
||||
|
|
@ -180,8 +180,8 @@ class DecalManager : public SceneObject
|
|||
bool _createDataFile();
|
||||
|
||||
// SceneObject.
|
||||
virtual bool onSceneAdd();
|
||||
virtual void onSceneRemove(); public:
|
||||
bool onSceneAdd() override;
|
||||
void onSceneRemove() override; public:
|
||||
|
||||
public:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue