mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-13 13:51:21 +00:00
Applies the override keyword where applicable to indicate visually where member function overriding is occurring. This only targets the RuntimeCommonB target as a starting point, which resolves around 900+ cases where the keyword could be used.
21 lines
612 B
C++
21 lines
612 B
C++
#pragma once
|
|
|
|
#include "CIOWin.hpp"
|
|
|
|
namespace urde {
|
|
|
|
enum class EClientFlowStates { Unspecified = -1, PreFrontEnd = 7, FrontEnd = 8, Game = 14, GameExit = 15 };
|
|
|
|
class CMainFlowBase : public CIOWin {
|
|
protected:
|
|
EClientFlowStates x14_gameState = EClientFlowStates::Unspecified;
|
|
|
|
public:
|
|
CMainFlowBase(const char* name) : CIOWin(name) {}
|
|
EMessageReturn OnMessage(const CArchitectureMessage& msg, CArchitectureQueue& queue) override;
|
|
virtual void AdvanceGameState(CArchitectureQueue& queue) = 0;
|
|
virtual void SetGameState(EClientFlowStates state, CArchitectureQueue& queue) = 0;
|
|
};
|
|
|
|
} // namespace urde
|