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

@ -88,21 +88,21 @@ public:
// Allows the object to update its editable settings
// from the server object to the client
virtual void inspectPostApply();
void inspectPostApply() override;
// 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
@ -116,7 +116,7 @@ public:
void createShape();
// This is the function that allows this object to submit itself for rendering
void prepRenderImage( SceneRenderState *state );
void prepRenderImage( SceneRenderState *state ) override;
};
#endif // _RENDERSHAPEEXAMPLE_H_