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

@ -108,16 +108,16 @@ public:
/*C*/ afxZodiacData();
/*C*/ afxZodiacData(const afxZodiacData&, bool = false);
virtual bool onAdd();
virtual void packData(BitStream*);
virtual void unpackData(BitStream*);
bool onAdd() override;
void packData(BitStream*) override;
void unpackData(BitStream*) override;
bool preload(bool server, String &errorStr);
bool preload(bool server, String &errorStr) override;
virtual void onStaticModified(const char* slotName, const char* newValue = NULL);
void onStaticModified(const char* slotName, const char* newValue = NULL) override;
virtual void onPerformSubstitutions();
virtual bool allowSubstitutions() const { return true; }
void onPerformSubstitutions() override;
bool allowSubstitutions() const override { return true; }
F32 calcRotationAngle(F32 elapsed, F32 rate_factor=1.0f);