mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +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
|
|
@ -52,9 +52,9 @@ protected:
|
|||
TSLastDetail *mDetail;
|
||||
|
||||
// ForestCellBatch
|
||||
virtual bool _prepBatch( const ForestItem &item );
|
||||
virtual void _rebuildBatch();
|
||||
virtual void _render( const SceneRenderState *state );
|
||||
bool _prepBatch( const ForestItem &item ) override;
|
||||
void _rebuildBatch() override;
|
||||
void _render( const SceneRenderState *state ) override;
|
||||
|
||||
public:
|
||||
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ protected:
|
|||
void _updateCollisionDetails();
|
||||
|
||||
// ForestItemData
|
||||
void _preload() { _loadShape(); }
|
||||
void _preload() override { _loadShape(); }
|
||||
|
||||
public:
|
||||
|
||||
|
|
@ -71,11 +71,11 @@ public:
|
|||
TSForestItemData();
|
||||
virtual ~TSForestItemData();
|
||||
|
||||
bool preload( bool server, String &errorBuffer );
|
||||
void onRemove();
|
||||
bool onAdd();
|
||||
bool preload( bool server, String &errorBuffer ) override;
|
||||
void onRemove() override;
|
||||
bool onAdd() override;
|
||||
|
||||
virtual void inspectPostApply();
|
||||
void inspectPostApply() override;
|
||||
|
||||
TSLastDetail* getLastDetail() const;
|
||||
|
||||
|
|
@ -86,10 +86,10 @@ public:
|
|||
const Vector<S32>& getLOSDetails() const { return mLOSDetails; }
|
||||
|
||||
// ForestItemData
|
||||
const Box3F& getObjBox() const { return mShape ? mShape->mBounds : Box3F::Zero; }
|
||||
bool render( TSRenderState *rdata, const ForestItem& item ) const;
|
||||
ForestCellBatch* allocateBatch() const;
|
||||
bool canBillboard( const SceneRenderState *state, const ForestItem &item, F32 distToCamera ) const;
|
||||
const Box3F& getObjBox() const override { return mShape ? mShape->mBounds : Box3F::Zero; }
|
||||
bool render( TSRenderState *rdata, const ForestItem& item ) const override;
|
||||
ForestCellBatch* allocateBatch() const override;
|
||||
bool canBillboard( const SceneRenderState *state, const ForestItem &item, F32 distToCamera ) const override;
|
||||
bool buildPolyList( const ForestItem& item, AbstractPolyList *polyList, const Box3F *box ) const { return false; }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue