mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Format
This commit is contained in:
parent
da675e3e29
commit
47cc915dda
@ -34,8 +34,8 @@ void MxAtomId::Destroy()
|
||||
if (!AtomIdCounterSet())
|
||||
return;
|
||||
|
||||
// The dtor is called on the counter object immediately,
|
||||
// so this syntax should be correct.
|
||||
// The dtor is called on the counter object immediately,
|
||||
// so this syntax should be correct.
|
||||
#ifdef COMPAT_MODE
|
||||
MxAtomIdCounter id_counter(m_internal);
|
||||
MxAtomIdCounterSet::iterator it = AtomIdCounterSet()->find(&id_counter);
|
||||
|
||||
@ -99,10 +99,7 @@ void MxCompositePresenter::EndAction()
|
||||
if (action && action->GetOrigin()) {
|
||||
#ifdef COMPAT_MODE
|
||||
MxEndActionNotificationParam param(c_notificationEndAction, this, action, FALSE);
|
||||
NotificationManager()->Send(
|
||||
action->GetOrigin(),
|
||||
¶m
|
||||
);
|
||||
NotificationManager()->Send(action->GetOrigin(), ¶m);
|
||||
#else
|
||||
NotificationManager()->Send(
|
||||
action->GetOrigin(),
|
||||
|
||||
@ -30,7 +30,7 @@ MxDiskStreamController::~MxDiskStreamController()
|
||||
#else
|
||||
m_provider->VTable0x20(&MxDSAction());
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
MxDSAction* action;
|
||||
while (m_unk0x3c.PopFront(action))
|
||||
@ -307,9 +307,7 @@ MxResult MxDiskStreamController::VTable0x24(MxDSAction* p_action)
|
||||
if (VTable0x30(p_action) == SUCCESS) {
|
||||
#ifdef COMPAT_MODE
|
||||
MxEndActionNotificationParam param(c_notificationEndAction, NULL, p_action, TRUE);
|
||||
MxOmni::GetInstance()->NotifyCurrentEntity(
|
||||
¶m
|
||||
);
|
||||
MxOmni::GetInstance()->NotifyCurrentEntity(¶m);
|
||||
#else
|
||||
MxOmni::GetInstance()->NotifyCurrentEntity(
|
||||
&MxEndActionNotificationParam(c_notificationEndAction, NULL, p_action, TRUE)
|
||||
|
||||
@ -162,10 +162,7 @@ void MxMediaPresenter::EndAction()
|
||||
if (action && action->GetOrigin()) {
|
||||
#ifdef COMPAT_MODE
|
||||
MxEndActionNotificationParam param(c_notificationEndAction, this, action, FALSE);
|
||||
NotificationManager()->Send(
|
||||
action->GetOrigin(),
|
||||
¶m
|
||||
);
|
||||
NotificationManager()->Send(action->GetOrigin(), ¶m);
|
||||
#else
|
||||
NotificationManager()->Send(
|
||||
action->GetOrigin(),
|
||||
|
||||
@ -148,10 +148,8 @@ void MxPresenter::EndAction()
|
||||
|
||||
if (!this->m_compositePresenter) {
|
||||
#ifdef COMPAT_MODE
|
||||
MxEndActionNotificationParam param(c_notificationEndAction, NULL, this->m_action, TRUE);
|
||||
MxOmni::GetInstance()->NotifyCurrentEntity(
|
||||
¶m
|
||||
);
|
||||
MxEndActionNotificationParam param(c_notificationEndAction, NULL, this->m_action, TRUE);
|
||||
MxOmni::GetInstance()->NotifyCurrentEntity(¶m);
|
||||
#else
|
||||
MxOmni::GetInstance()->NotifyCurrentEntity(
|
||||
&MxEndActionNotificationParam(c_notificationEndAction, NULL, this->m_action, TRUE)
|
||||
|
||||
@ -88,7 +88,7 @@ MxLong MxStreamer::Close(const char* p_name)
|
||||
#else
|
||||
NotificationManager()->Send(this, &MxStreamerNotification(MXSTREAMER_DELETE_NOTIFY, NULL, c));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
@ -198,7 +198,7 @@ MxLong MxStreamer::Notify(MxParam& p_param)
|
||||
#else
|
||||
NotificationManager()->Send(this, &MxStreamerNotification(MXSTREAMER_DELETE_NOTIFY, NULL, c));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
@ -13,10 +13,11 @@ Renderer* Tgl::CreateRenderer()
|
||||
return renderer;
|
||||
}
|
||||
|
||||
namespace TglImpl {
|
||||
namespace TglImpl
|
||||
{
|
||||
// GLOBAL: LEGO1 0x1010103c
|
||||
IDirect3DRM2 *g_pD3DRM = NULL;
|
||||
}
|
||||
IDirect3DRM2* g_pD3DRM = NULL;
|
||||
} // namespace TglImpl
|
||||
|
||||
// Inlined only
|
||||
Result RendererImpl::Create()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user