Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion code/abstract.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class AbstractClass : public IPersistent
* its place in the map or a side table while its record is still in doubt. An
* implementation chains to its base first and never touches the stream.
*/
virtual void Post_Load(void);
virtual void Post_Load(void) override;

virtual void Init(void);
virtual void Detach(AbstractClass const * target, bool all = true);
Expand Down
2 changes: 1 addition & 1 deletion code/cctooltip.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class CCToolTip : public ToolTipManager
virtual ~CCToolTip() override {}

virtual bool Update(ToolTipText *text) override;
virtual void Reset(const ToolTipText *text);
virtual void Reset(const ToolTipText *text) override;
virtual void Draw_Current(bool sidebar = false) override;
virtual void Draw(const ToolTipText *text) override;
virtual const char *ToolTip_Text(int id) override;
Expand Down
2 changes: 1 addition & 1 deletion code/factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class FactoryClass : public AbstractClass, private StageClass
int Completion(void);
TechnoClass * Get_Object(void) const;
int Get_Special_Item(void) const;
void AI(void);
void AI(void) override;
void Set(TechnoClass & object);
HouseClass * Get_House(void) {return(House);};
char const * Name(void) {return("Factory");}
Expand Down
2 changes: 1 addition & 1 deletion code/house.h
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ class HouseClass : public AbstractClass
/*
** Special house actions.
*/
void Detach(AbstractClass const * target, bool all);
void Detach(AbstractClass const * target, bool all) override;

/*
* These are the three loadouts the player fills in on the dropship screen; a dropship
Expand Down
2 changes: 1 addition & 1 deletion code/loco.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class LocomotionClass : public IPersistent, public ILocomotion
* record has been checked, so a locomotor never takes its place while its record
* is still in doubt.
*/
virtual void Post_Load(void);
virtual void Post_Load(void) override;

protected:

Expand Down
2 changes: 1 addition & 1 deletion code/super.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class SuperClass : public AbstractClass

virtual void Compute_CRC(CRCEngine & crc) const override;

void Detach(AbstractClass const * target, bool all);
void Detach(AbstractClass const * target, bool all) override;

bool Suspend(bool on);
bool Enable(bool onetime = false, bool player=false, bool quiet=false);
Expand Down
4 changes: 2 additions & 2 deletions code/team.h
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ class TeamClass : public AbstractClass
/*
* Per frame processing and teardown.
*/
void AI(void);
void Detach(AbstractClass const * target, bool all);
void AI(void) override;
void Detach(AbstractClass const * target, bool all) override;
void Took_Damage(FootClass * obj, ResultType result, TechnoClass * source);

/*
Expand Down
2 changes: 1 addition & 1 deletion code/teamtype.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class TeamTypeClass : public AbstractTypeClass
*/
TeamClass * Create_One_Of(HouseClass *house=NULL) const;
void Destroy_All_Of(void) const;
void Detach(AbstractClass const * target, bool all=true);
void Detach(AbstractClass const * target, bool all=true) override;

/*
** Utility routines
Expand Down
2 changes: 1 addition & 1 deletion code/warhead.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class WarheadTypeClass : public AbstractTypeClass

virtual void Compute_CRC(CRCEngine &) const override;

bool Read_INI(CCINIClass const & ini);
bool Read_INI(CCINIClass const & ini) override;

static WarheadTypeClass *Find_Or_Make(const char *name);
static WarheadTypeClass *From_Name(char const * name);
Expand Down
2 changes: 1 addition & 1 deletion code/weapon.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class WeaponTypeClass : public AbstractTypeClass
static WeaponTypeClass *Find_Or_Make(const char * name);

char const * Name(void) const {return(IniName);}
bool Read_INI(CCINIClass const & ini);
bool Read_INI(CCINIClass const & ini) override;
ThreatType Allowed_Threats(void) const;
bool Is_Wall_Destroyer(void) const;

Expand Down
Loading