mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-12 21:26:08 +00:00
38
include/MetroidPrime/CArchitectureMessage.hpp
Normal file
38
include/MetroidPrime/CArchitectureMessage.hpp
Normal file
@@ -0,0 +1,38 @@
|
||||
#ifndef _CARCHITECTUREMESSAGE_HPP
|
||||
#define _CARCHITECTUREMESSAGE_HPP
|
||||
|
||||
#include "types.h"
|
||||
|
||||
#include "rstl/rc_ptr.hpp"
|
||||
|
||||
enum EArchMsgTarget {
|
||||
kAMT_IOWinManager,
|
||||
kAMT_Game,
|
||||
};
|
||||
|
||||
enum EArchMsgType {
|
||||
kAM_RemoveIOWin = 0,
|
||||
kAM_CreateIOWin = 1,
|
||||
kAM_ChangeIOWinPriority = 2,
|
||||
kAM_RemoveAllIOWins = 3,
|
||||
kAM_TimerTick = 4,
|
||||
kAM_UserInput = 5,
|
||||
kAM_SetGameState = 6,
|
||||
kAM_ControllerStatus = 7,
|
||||
kAM_QuitGameplay = 8,
|
||||
kAM_FrameBegin = 10,
|
||||
kAM_FrameEnd = 11,
|
||||
};
|
||||
|
||||
struct IArchitectureMessageParm {
|
||||
virtual ~IArchitectureMessageParm() = 0;
|
||||
};
|
||||
|
||||
class CArchitectureMessage {
|
||||
private:
|
||||
EArchMsgTarget x0_target;
|
||||
EArchMsgType x4_type;
|
||||
rstl::rc_ptr< IArchitectureMessageParm > x8_parm;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user