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

@ -97,18 +97,18 @@ public:
static void initPersistFields();
// Handle when we are added to the scene and removed from the scene
bool onAdd();
void onRemove();
bool onAdd() override;
void onRemove() override;
// Override this so that we can dirty the network flag when it is called
void setTransform( const MatrixF &mat );
void setTransform( const MatrixF &mat ) override;
// This function handles sending the relevant data from the server
// object to the client object
U32 packUpdate( NetConnection *conn, U32 mask, BitStream *stream );
U32 packUpdate( NetConnection *conn, U32 mask, BitStream *stream ) override;
// This function handles receiving relevant data from the server
// object and applying it to the client object
void unpackUpdate( NetConnection *conn, BitStream *stream );
void unpackUpdate( NetConnection *conn, BitStream *stream ) override;
//--------------------------------------------------------------------------
// Object Rendering
@ -124,7 +124,7 @@ public:
void createGeometry();
// This is the function that allows this object to submit itself for rendering
void prepRenderImage( SceneRenderState *state );
void prepRenderImage( SceneRenderState *state ) override;
// This is the function that actually gets called to do the rendering
// Note that there is no longer a predefined name for this function.