This commit is contained in:
Christian Semmler 2024-07-04 15:44:03 -07:00
parent 883eda698a
commit 26238728e2
3 changed files with 4 additions and 19 deletions

View File

@ -142,10 +142,7 @@ class LegoOmni : public MxOmni {
void SetUserActor(LegoPathActor* p_userActor) { m_userActor = p_userActor; }
void SetCurrentWorld(LegoWorld* p_currentWorld) { m_currentWorld = p_currentWorld; }
void SetExit(MxBool p_exit) { m_exit = p_exit; }
MxResult StartActionIfUnknown0x13c(MxDSAction& p_dsAction)
{
return m_unk0x13c ? Start(&p_dsAction) : SUCCESS;
}
MxResult StartActionIfUnknown0x13c(MxDSAction& p_dsAction) { return m_unk0x13c ? Start(&p_dsAction) : SUCCESS; }
void SetUnknown13c(MxBool p_unk0x13c) { m_unk0x13c = p_unk0x13c; }
void CloseMainWindow() { PostMessageA(m_windowHandle, WM_CLOSE, 0, 0); }

View File

@ -10,12 +10,7 @@ class MxPresenter;
// SIZE 0x14
class MxActionNotificationParam : public MxNotificationParam {
public:
MxActionNotificationParam(
NotificationId p_type,
MxCore* p_sender,
MxDSAction* p_action,
MxBool p_reallocAction
)
MxActionNotificationParam(NotificationId p_type, MxCore* p_sender, MxDSAction* p_action, MxBool p_reallocAction)
: MxNotificationParam(p_type, p_sender)
{
MxDSAction* oldAction = p_action;
@ -80,12 +75,7 @@ class MxStartActionNotificationParam : public MxActionNotificationParam {
// SIZE 0x14
class MxEndActionNotificationParam : public MxActionNotificationParam {
public:
MxEndActionNotificationParam(
NotificationId p_type,
MxCore* p_sender,
MxDSAction* p_action,
MxBool p_reallocAction
)
MxEndActionNotificationParam(NotificationId p_type, MxCore* p_sender, MxDSAction* p_action, MxBool p_reallocAction)
: MxActionNotificationParam(p_type, p_sender, p_action, p_reallocAction)
{
}

View File

@ -39,9 +39,7 @@ enum NotificationId {
class MxNotificationParam : public MxParam {
public:
MxNotificationParam() : m_type(c_notificationType0), m_sender(NULL) {}
MxNotificationParam(NotificationId p_type, MxCore* p_sender) : MxParam(), m_type(p_type), m_sender(p_sender)
{
}
MxNotificationParam(NotificationId p_type, MxCore* p_sender) : MxParam(), m_type(p_type), m_sender(p_sender) {}
// FUNCTION: LEGO1 0x10010390
virtual MxNotificationParam* Clone() const { return new MxNotificationParam(m_type, m_sender); } // vtable+0x04