Add missing override keywords
parent
2af89ab378
commit
344cda4ae6
|
@ -97,8 +97,8 @@ public:
|
|||
*/
|
||||
virtual ~CBotExternalCallDefault();
|
||||
|
||||
virtual CBotTypResult Compile(CBotVar* thisVar, CBotVar* args, void* user);
|
||||
virtual bool Run(CBotVar* thisVar, CBotStack* pStack);
|
||||
virtual CBotTypResult Compile(CBotVar* thisVar, CBotVar* args, void* user) override;
|
||||
virtual bool Run(CBotVar* thisVar, CBotStack* pStack) override;
|
||||
|
||||
private:
|
||||
RuntimeFunc m_rExec;
|
||||
|
|
|
@ -57,8 +57,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotBreak"; }
|
||||
virtual std::string GetDebugData();
|
||||
virtual const std::string GetDebugName() override { return "CBotBreak"; }
|
||||
virtual std::string GetDebugData() override;
|
||||
|
||||
private:
|
||||
//! A label if there is
|
||||
|
|
|
@ -68,8 +68,8 @@ public:
|
|||
bool CompCase(CBotStack* &pj, int val) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotCase"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotCase"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! Value to compare.
|
||||
|
|
|
@ -73,8 +73,8 @@ public:
|
|||
void RestoreCondState(CBotStack* &pj, bool bMain);
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotCatch"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotCatch"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! Instructions
|
||||
|
|
|
@ -64,9 +64,9 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotDefArray"; }
|
||||
virtual std::string GetDebugData();
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotDefArray"; }
|
||||
virtual std::string GetDebugData() override;
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! The variables to initialize.
|
||||
|
|
|
@ -58,8 +58,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotDefBoolean"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotDefBoolean"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! Variable to initialise.
|
||||
|
|
|
@ -69,8 +69,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotClassInstr"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotClassInstr"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
|
||||
|
|
|
@ -58,8 +58,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotDefFloat"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotDefFloat"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! Variable to initialise.
|
||||
|
|
|
@ -58,8 +58,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotDefInt"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotDefInt"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! The variable to initialize.
|
||||
|
|
|
@ -58,8 +58,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotDefString"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotDefString"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! Variable to initialise.
|
||||
|
|
|
@ -56,9 +56,9 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotDo"; }
|
||||
virtual std::string GetDebugData();
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotDo"; }
|
||||
virtual std::string GetDebugData() override;
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! Instruction
|
||||
|
|
|
@ -45,7 +45,7 @@ class CBotEmpty : public CBotInstr
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotEmpty"; }
|
||||
virtual const std::string GetDebugName() override { return "CBotEmpty"; }
|
||||
};
|
||||
|
||||
} // namespace CBot
|
||||
|
|
|
@ -56,7 +56,7 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotExprLitBool"; }
|
||||
virtual const std::string GetDebugName() override { return "CBotExprLitBool"; }
|
||||
};
|
||||
|
||||
} // namespace CBot
|
||||
|
|
|
@ -48,8 +48,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotExprLitNan"; }
|
||||
virtual std::string GetDebugData() { return "nan"; }
|
||||
virtual const std::string GetDebugName() override { return "CBotExprLitNan"; }
|
||||
virtual std::string GetDebugData() override { return "nan"; }
|
||||
};
|
||||
|
||||
} // namespace CBot
|
||||
|
|
|
@ -48,8 +48,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotExprLitNull"; }
|
||||
virtual std::string GetDebugData() { return "null"; }
|
||||
virtual const std::string GetDebugName() override { return "CBotExprLitNull"; }
|
||||
virtual std::string GetDebugData() override { return "null"; }
|
||||
};
|
||||
|
||||
} // namespace CBot
|
||||
|
|
|
@ -59,8 +59,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotExprLitNum"; }
|
||||
virtual std::string GetDebugData();
|
||||
virtual const std::string GetDebugName() override { return "CBotExprLitNum"; }
|
||||
virtual std::string GetDebugData() override;
|
||||
|
||||
private:
|
||||
//! The type of number.
|
||||
|
|
|
@ -56,8 +56,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotExprLitString"; }
|
||||
virtual std::string GetDebugData();
|
||||
virtual const std::string GetDebugName() override { return "CBotExprLitString"; }
|
||||
virtual std::string GetDebugData() override;
|
||||
};
|
||||
|
||||
} // namespace CBot
|
||||
|
|
|
@ -56,8 +56,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotExprUnaire"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotExprUnaire"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! Expression to be evaluated.
|
||||
|
|
|
@ -89,8 +89,8 @@ public:
|
|||
void RestoreStateVar(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotExprVar"; }
|
||||
virtual std::string GetDebugData();
|
||||
virtual const std::string GetDebugName() override { return "CBotExprVar"; }
|
||||
virtual std::string GetDebugData() override;
|
||||
|
||||
private:
|
||||
long m_nIdent;
|
||||
|
|
|
@ -67,8 +67,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotExpression"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotExpression"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! Left operand
|
||||
|
|
|
@ -66,8 +66,8 @@ public:
|
|||
void RestoreStateVar(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotFieldExpr"; }
|
||||
virtual std::string GetDebugData();
|
||||
virtual const std::string GetDebugName() override { return "CBotFieldExpr"; }
|
||||
virtual std::string GetDebugData() override;
|
||||
|
||||
private:
|
||||
friend class CBotExpression;
|
||||
|
|
|
@ -56,9 +56,9 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotFor"; }
|
||||
virtual std::string GetDebugData();
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotFor"; }
|
||||
virtual std::string GetDebugData() override;
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! Initial intruction
|
||||
|
|
|
@ -243,9 +243,9 @@ public:
|
|||
CBotGet modestop);
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotFunction"; }
|
||||
virtual std::string GetDebugData();
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotFunction"; }
|
||||
virtual std::string GetDebugData() override;
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
friend class CBotDebug;
|
||||
|
|
|
@ -57,8 +57,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotIf"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotIf"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! Condition
|
||||
|
|
|
@ -61,8 +61,8 @@ public:
|
|||
void RestoreStateVar(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotIndexExpr"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotIndexExpr"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! Expression for calculating the index.
|
||||
|
|
|
@ -58,9 +58,9 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotInstrCall"; }
|
||||
virtual std::string GetDebugData();
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotInstrCall"; }
|
||||
virtual std::string GetDebugData() override;
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! The parameters to be evaluated.
|
||||
|
|
|
@ -68,9 +68,9 @@ public:
|
|||
void RestoreStateVar(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotInstrMethode"; }
|
||||
virtual std::string GetDebugData();
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotInstrMethode"; }
|
||||
virtual std::string GetDebugData() override;
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! The parameters to be evaluated.
|
||||
|
|
|
@ -87,8 +87,8 @@ public:
|
|||
void RestoreStateVar(CBotStack* &pile, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotLeftExpr"; }
|
||||
virtual std::string GetDebugData();
|
||||
virtual const std::string GetDebugName() override { return "CBotLeftExpr"; }
|
||||
virtual std::string GetDebugData() override;
|
||||
|
||||
private:
|
||||
long m_nIdent;
|
||||
|
|
|
@ -51,8 +51,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotLeftExprVar"; }
|
||||
virtual std::string GetDebugData();
|
||||
virtual const std::string GetDebugName() override { return "CBotLeftExprVar"; }
|
||||
virtual std::string GetDebugData() override;
|
||||
|
||||
public:
|
||||
//! Type of variable declared.
|
||||
|
|
|
@ -58,8 +58,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotListArray"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotListArray"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! An expression for an element others are linked with CBotInstr :: m_next3;
|
||||
|
|
|
@ -72,8 +72,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotListExpression"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotListExpression"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! The first expression to be evaluated
|
||||
|
|
|
@ -57,8 +57,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotListInstr"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotListInstr"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! Instructions to do.
|
||||
|
|
|
@ -51,8 +51,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotLogicExpr"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotLogicExpr"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! Test to evaluate
|
||||
|
|
|
@ -56,9 +56,9 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotNew"; }
|
||||
virtual std::string GetDebugData();
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotNew"; }
|
||||
virtual std::string GetDebugData() override;
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! The parameters to be evaluated
|
||||
|
|
|
@ -50,8 +50,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotPostIncExpr"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotPostIncExpr"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
CBotInstr* m_instr;
|
||||
|
|
|
@ -50,8 +50,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotPreIncExpr"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotPreIncExpr"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
CBotInstr* m_instr;
|
||||
|
|
|
@ -56,8 +56,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotReturn"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotReturn"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! Parameter of return
|
||||
|
|
|
@ -58,8 +58,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotSwitch"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotSwitch"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! Value to seek
|
||||
|
|
|
@ -56,8 +56,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotThrow"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotThrow"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! The value to send.
|
||||
|
|
|
@ -59,8 +59,8 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotTry"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotTry"; }
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! Instructions
|
||||
|
|
|
@ -82,9 +82,9 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotTwoOpExpr"; }
|
||||
virtual std::string GetDebugData();
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotTwoOpExpr"; }
|
||||
virtual std::string GetDebugData() override;
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! Left element
|
||||
|
|
|
@ -65,9 +65,9 @@ public:
|
|||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
|
||||
protected:
|
||||
virtual const std::string GetDebugName() { return "CBotWhile"; }
|
||||
virtual std::string GetDebugData();
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks();
|
||||
virtual const std::string GetDebugName() override { return "CBotWhile"; }
|
||||
virtual std::string GetDebugData() override;
|
||||
virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
|
||||
|
||||
private:
|
||||
//! Condition
|
||||
|
|
Loading…
Reference in New Issue