mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-27 23:35:45 +00:00
virtuals removed
virtuals removed and replaced with override where necessary, clang-tidy to the rescue.
This commit is contained in:
parent
88a43f3137
commit
efbe5e90f5
255 changed files with 2164 additions and 2164 deletions
|
|
@ -156,20 +156,20 @@ public:
|
|||
static void initPersistFields();
|
||||
|
||||
// SimObject
|
||||
virtual bool onAdd();
|
||||
virtual void onRemove();
|
||||
virtual void inspectPostApply();
|
||||
virtual bool processArguments(S32 argc, ConsoleValue *argv);
|
||||
bool onAdd() override;
|
||||
void onRemove() override;
|
||||
void inspectPostApply() override;
|
||||
bool processArguments(S32 argc, ConsoleValue *argv) override;
|
||||
|
||||
// NetObject
|
||||
virtual U32 packUpdate( NetConnection * conn, U32 mask, BitStream *stream );
|
||||
virtual void unpackUpdate( NetConnection * conn, BitStream *stream );
|
||||
U32 packUpdate( NetConnection * conn, U32 mask, BitStream *stream ) override;
|
||||
void unpackUpdate( NetConnection * conn, BitStream *stream ) override;
|
||||
|
||||
// SceneObject
|
||||
virtual void prepRenderImage( SceneRenderState *state );
|
||||
void prepRenderImage( SceneRenderState *state ) override;
|
||||
virtual void renderObject( ObjectRenderInst *ri, SceneRenderState *state, BaseMatInstance *overrideMat );
|
||||
virtual SFXAmbience* getSoundAmbience() const { return mSoundAmbience; }
|
||||
virtual bool containsPoint( const Point3F& point ) { return isUnderwater( point ); }
|
||||
SFXAmbience* getSoundAmbience() const override { return mSoundAmbience; }
|
||||
bool containsPoint( const Point3F& point ) override { return isUnderwater( point ); }
|
||||
|
||||
// WaterObject
|
||||
virtual F32 getViscosity() const { return mViscosity; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue