mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +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
|
|
@ -148,10 +148,10 @@ class SFXProfile : public SFXTrack
|
|||
virtual bool isLooping() const;
|
||||
|
||||
// SimObject
|
||||
bool onAdd();
|
||||
void onRemove();
|
||||
void packData( BitStream* stream );
|
||||
void unpackData( BitStream* stream );
|
||||
bool onAdd() override;
|
||||
void onRemove() override;
|
||||
void packData( BitStream* stream ) override;
|
||||
void unpackData( BitStream* stream ) override;
|
||||
|
||||
/// Returns the sound filename.
|
||||
const String getSoundFileName() const { return mFilename; }
|
||||
|
|
@ -162,7 +162,7 @@ class SFXProfile : public SFXTrack
|
|||
|
||||
/// @note This has nothing to do with mPreload.
|
||||
/// @see SimDataBlock::preload
|
||||
bool preload( bool server, String &errorStr );
|
||||
bool preload( bool server, String &errorStr ) override;
|
||||
|
||||
/// Returns the sound resource loading it from
|
||||
/// disk if it hasn't been preloaded.
|
||||
|
|
@ -187,8 +187,8 @@ class SFXProfile : public SFXTrack
|
|||
public:
|
||||
/*C*/ SFXProfile(const SFXProfile&, bool = false);
|
||||
SFXProfile* cloneAndPerformSubstitutions(const SimObject*, S32 index=0);
|
||||
virtual void onPerformSubstitutions();
|
||||
virtual bool allowSubstitutions() const { return true; }
|
||||
void onPerformSubstitutions() override;
|
||||
bool allowSubstitutions() const override { return true; }
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue