From 26238728e2a9fc410b9145bddbece2170ad6a5ba Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Thu, 4 Jul 2024 15:44:03 -0700 Subject: [PATCH] format --- LEGO1/lego/legoomni/include/legomain.h | 5 +---- LEGO1/omni/include/mxactionnotificationparam.h | 14 ++------------ LEGO1/omni/include/mxnotificationparam.h | 4 +--- 3 files changed, 4 insertions(+), 19 deletions(-) diff --git a/LEGO1/lego/legoomni/include/legomain.h b/LEGO1/lego/legoomni/include/legomain.h index 23d7a13d..a1c35500 100644 --- a/LEGO1/lego/legoomni/include/legomain.h +++ b/LEGO1/lego/legoomni/include/legomain.h @@ -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); } diff --git a/LEGO1/omni/include/mxactionnotificationparam.h b/LEGO1/omni/include/mxactionnotificationparam.h index 3f6389d5..e110888e 100644 --- a/LEGO1/omni/include/mxactionnotificationparam.h +++ b/LEGO1/omni/include/mxactionnotificationparam.h @@ -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) { } diff --git a/LEGO1/omni/include/mxnotificationparam.h b/LEGO1/omni/include/mxnotificationparam.h index e698f9d1..16b2e236 100644 --- a/LEGO1/omni/include/mxnotificationparam.h +++ b/LEGO1/omni/include/mxnotificationparam.h @@ -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