mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-23 16:21:15 +00:00
format
This commit is contained in:
parent
883eda698a
commit
26238728e2
@ -142,10 +142,7 @@ class LegoOmni : public MxOmni {
|
|||||||
void SetUserActor(LegoPathActor* p_userActor) { m_userActor = p_userActor; }
|
void SetUserActor(LegoPathActor* p_userActor) { m_userActor = p_userActor; }
|
||||||
void SetCurrentWorld(LegoWorld* p_currentWorld) { m_currentWorld = p_currentWorld; }
|
void SetCurrentWorld(LegoWorld* p_currentWorld) { m_currentWorld = p_currentWorld; }
|
||||||
void SetExit(MxBool p_exit) { m_exit = p_exit; }
|
void SetExit(MxBool p_exit) { m_exit = p_exit; }
|
||||||
MxResult StartActionIfUnknown0x13c(MxDSAction& p_dsAction)
|
MxResult StartActionIfUnknown0x13c(MxDSAction& p_dsAction) { return m_unk0x13c ? Start(&p_dsAction) : SUCCESS; }
|
||||||
{
|
|
||||||
return m_unk0x13c ? Start(&p_dsAction) : SUCCESS;
|
|
||||||
}
|
|
||||||
void SetUnknown13c(MxBool p_unk0x13c) { m_unk0x13c = p_unk0x13c; }
|
void SetUnknown13c(MxBool p_unk0x13c) { m_unk0x13c = p_unk0x13c; }
|
||||||
|
|
||||||
void CloseMainWindow() { PostMessageA(m_windowHandle, WM_CLOSE, 0, 0); }
|
void CloseMainWindow() { PostMessageA(m_windowHandle, WM_CLOSE, 0, 0); }
|
||||||
|
|||||||
@ -10,12 +10,7 @@ class MxPresenter;
|
|||||||
// SIZE 0x14
|
// SIZE 0x14
|
||||||
class MxActionNotificationParam : public MxNotificationParam {
|
class MxActionNotificationParam : public MxNotificationParam {
|
||||||
public:
|
public:
|
||||||
MxActionNotificationParam(
|
MxActionNotificationParam(NotificationId p_type, MxCore* p_sender, MxDSAction* p_action, MxBool p_reallocAction)
|
||||||
NotificationId p_type,
|
|
||||||
MxCore* p_sender,
|
|
||||||
MxDSAction* p_action,
|
|
||||||
MxBool p_reallocAction
|
|
||||||
)
|
|
||||||
: MxNotificationParam(p_type, p_sender)
|
: MxNotificationParam(p_type, p_sender)
|
||||||
{
|
{
|
||||||
MxDSAction* oldAction = p_action;
|
MxDSAction* oldAction = p_action;
|
||||||
@ -80,12 +75,7 @@ class MxStartActionNotificationParam : public MxActionNotificationParam {
|
|||||||
// SIZE 0x14
|
// SIZE 0x14
|
||||||
class MxEndActionNotificationParam : public MxActionNotificationParam {
|
class MxEndActionNotificationParam : public MxActionNotificationParam {
|
||||||
public:
|
public:
|
||||||
MxEndActionNotificationParam(
|
MxEndActionNotificationParam(NotificationId p_type, MxCore* p_sender, MxDSAction* p_action, MxBool p_reallocAction)
|
||||||
NotificationId p_type,
|
|
||||||
MxCore* p_sender,
|
|
||||||
MxDSAction* p_action,
|
|
||||||
MxBool p_reallocAction
|
|
||||||
)
|
|
||||||
: MxActionNotificationParam(p_type, p_sender, p_action, p_reallocAction)
|
: MxActionNotificationParam(p_type, p_sender, p_action, p_reallocAction)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@ -39,9 +39,7 @@ enum NotificationId {
|
|||||||
class MxNotificationParam : public MxParam {
|
class MxNotificationParam : public MxParam {
|
||||||
public:
|
public:
|
||||||
MxNotificationParam() : m_type(c_notificationType0), m_sender(NULL) {}
|
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
|
// FUNCTION: LEGO1 0x10010390
|
||||||
virtual MxNotificationParam* Clone() const { return new MxNotificationParam(m_type, m_sender); } // vtable+0x04
|
virtual MxNotificationParam* Clone() const { return new MxNotificationParam(m_type, m_sender); } // vtable+0x04
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user