virtuals removed

virtuals removed and replaced with override where necessary, clang-tidy to the rescue.
This commit is contained in:
marauder2k7 2024-03-18 18:13:00 +00:00
parent 88a43f3137
commit efbe5e90f5
255 changed files with 2164 additions and 2164 deletions

View file

@ -59,7 +59,7 @@ class AccumulationVolume : public ScenePolyhedralSpace
mutable Vector< SceneObject* > mVolumeQueryList;
// SceneSpace.
virtual void _renderObject( ObjectRenderInst* ri, SceneRenderState* state, BaseMatInstance* overrideMat );
void _renderObject( ObjectRenderInst* ri, SceneRenderState* state, BaseMatInstance* overrideMat ) override;
DECLARE_IMAGEASSET(AccumulationVolume, Texture, onTextureChanged, GFXStaticTextureSRGBProfile);
DECLARE_ASSET_NET_SETGET(AccumulationVolume, Texture, -1);
@ -76,9 +76,9 @@ class AccumulationVolume : public ScenePolyhedralSpace
DECLARE_DESCRIPTION( "Allows objects in an area to have accumulation effect applied." );
DECLARE_CATEGORY("Volume");
virtual bool onAdd();
virtual void onRemove();
void inspectPostApply();
bool onAdd() override;
void onRemove() override;
void inspectPostApply() override;
void setTexture( const String& name );
// Static Functions.
@ -93,12 +93,12 @@ class AccumulationVolume : public ScenePolyhedralSpace
static void updateObject(SceneObject* object);
// Network
U32 packUpdate( NetConnection *, U32 mask, BitStream *stream );
void unpackUpdate( NetConnection *, BitStream *stream );
U32 packUpdate( NetConnection *, U32 mask, BitStream *stream ) override;
void unpackUpdate( NetConnection *, BitStream *stream ) override;
// SceneObject.
virtual void buildSilhouette( const SceneCameraState& cameraState, Vector< Point3F >& outPoints );
virtual void setTransform( const MatrixF& mat );
void buildSilhouette( const SceneCameraState& cameraState, Vector< Point3F >& outPoints ) override;
void setTransform( const MatrixF& mat ) override;
};
#endif // !_AccumulationVolume_H_