2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 17:04:55 +00:00

Initial Console integration

This commit is contained in:
2018-01-15 08:00:20 -08:00
parent 7c699172cc
commit 030e80d843
14 changed files with 107 additions and 33 deletions

View File

@@ -13,8 +13,6 @@ enum class EArchMsgTarget
{
IOWinManager = 0,
Game = 1,
/* URDE targets, we start at 255 */
ArchitectureSupport = 255,
};
enum class EArchMsgType
@@ -30,8 +28,6 @@ enum class EArchMsgType
QuitGameplay = 8,
FrameBegin = 10,
FrameEnd = 11,
/* URDE messages, we start at 255 */
ApplicationExit = 255,
};
struct IArchMsgParm
@@ -176,9 +172,9 @@ public:
std::make_shared<CArchMsgParmInt32>(a));
}
/* URDE Messages */
static CArchitectureMessage CreateApplicationExit(EArchMsgTarget target)
static CArchitectureMessage CreateRemoveAllIOWins(EArchMsgTarget target)
{
return CArchitectureMessage(target, EArchMsgType::ApplicationExit,
return CArchitectureMessage(target, EArchMsgType::RemoveAllIOWins,
std::make_shared<CArchMsgParmNull>());
}
};