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:
marauder2k7 2024-03-18 18:40:22 +00:00
parent efbe5e90f5
commit 2b295fb7f0
454 changed files with 4162 additions and 4156 deletions

View file

@ -98,8 +98,8 @@ protected:
void _updateTimeOfDay( TimeOfDay *timeOfDay, F32 time );
// SimObject.
virtual void _onSelected();
virtual void _onUnselected();
void _onSelected() override;
void _onUnselected() override;
enum NetMaskBits
{
@ -112,28 +112,28 @@ public:
virtual ~Sun();
// SimObject
virtual bool onAdd();
virtual void onRemove();
bool onAdd() override;
void onRemove() override;
// ConsoleObject
DECLARE_CONOBJECT(Sun);
DECLARE_CATEGORY("Lighting \t Lights");
static void initPersistFields();
void inspectPostApply();
void inspectPostApply() override;
// NetObject
U32 packUpdate( NetConnection *conn, U32 mask, BitStream *stream );
void unpackUpdate( NetConnection *conn, BitStream *stream );
U32 packUpdate( NetConnection *conn, U32 mask, BitStream *stream ) override;
void unpackUpdate( NetConnection *conn, BitStream *stream ) override;
// ISceneLight
virtual void submitLights( LightManager *lm, bool staticLighting );
virtual LightInfo* getLight() { return mLight; }
void submitLights( LightManager *lm, bool staticLighting ) override;
LightInfo* getLight() override { return mLight; }
// SceneObject
virtual void prepRenderImage( SceneRenderState* state );
void prepRenderImage( SceneRenderState* state ) override;
// ProcessObject
virtual void advanceTime( F32 dt );
void advanceTime( F32 dt ) override;
///
void setAzimuth( F32 azimuth );