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

@ -54,12 +54,12 @@ class SFXNullVoice : public SFXVoice
bool mIsLooping;
// SFXVoice.
virtual SFXStatus _status() const;
virtual void _play();
virtual void _pause();
virtual void _stop();
virtual void _seek( U32 sample );
virtual U32 _tell() const;
SFXStatus _status() const override;
void _play() override;
void _pause() override;
void _stop() override;
void _seek( U32 sample ) override;
U32 _tell() const override;
///
U32 _getPlayTime() const
@ -72,15 +72,15 @@ class SFXNullVoice : public SFXVoice
virtual ~SFXNullVoice();
/// SFXVoice
SFXStatus getStatus() const;
void setPosition( U32 sample );
void play( bool looping );
void setMinMaxDistance( F32 min, F32 max );
void setVelocity( const VectorF& velocity );
void setTransform( const MatrixF& transform );
void setVolume( F32 volume );
void setPitch( F32 pitch );
void setCone( F32 innerAngle, F32 outerAngle, F32 outerVolume );
SFXStatus getStatus() const override;
void setPosition( U32 sample ) override;
void play( bool looping ) override;
void setMinMaxDistance( F32 min, F32 max ) override;
void setVelocity( const VectorF& velocity ) override;
void setTransform( const MatrixF& transform ) override;
void setVolume( F32 volume ) override;
void setPitch( F32 pitch ) override;
void setCone( F32 innerAngle, F32 outerAngle, F32 outerVolume ) override;
};
#endif // _SFXNULLVOICE_H_