mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 02:27:43 +00:00
RuntimeCommon: Use override where applicable
Continues the override modernization by applying it to the main RuntimeCommon target. Resolves around 1100+ cases where override can be used.
This commit is contained in:
@@ -36,10 +36,10 @@ class CMFGame : public CMFGameBase {
|
||||
public:
|
||||
CMFGame(const std::weak_ptr<CStateManager>& stateMgr, const std::weak_ptr<CInGameGuiManager>& guiMgr,
|
||||
const CArchitectureQueue&);
|
||||
~CMFGame();
|
||||
CIOWin::EMessageReturn OnMessage(const CArchitectureMessage& msg, CArchitectureQueue& queue);
|
||||
~CMFGame() override;
|
||||
CIOWin::EMessageReturn OnMessage(const CArchitectureMessage& msg, CArchitectureQueue& queue) override;
|
||||
void Touch();
|
||||
void Draw() const;
|
||||
void Draw() const override;
|
||||
void PlayerDied();
|
||||
void UnpauseGame();
|
||||
void EnterMessageScreen(float time);
|
||||
@@ -66,9 +66,9 @@ class CMFGameLoader : public CMFGameLoaderBase {
|
||||
|
||||
public:
|
||||
CMFGameLoader();
|
||||
~CMFGameLoader();
|
||||
EMessageReturn OnMessage(const CArchitectureMessage& msg, CArchitectureQueue& queue);
|
||||
void Draw() const;
|
||||
~CMFGameLoader() override;
|
||||
EMessageReturn OnMessage(const CArchitectureMessage& msg, CArchitectureQueue& queue) override;
|
||||
void Draw() const override;
|
||||
};
|
||||
|
||||
} // namespace MP1
|
||||
|
||||
Reference in New Issue
Block a user