implement EndAction (#196)

* implement EndAction

implement EndAction
+offsets commenets

* Refactor MxParam/MxNotificationParam

* Add correct address for destructor

* Make MxNoticiationParam more concise

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
vMidz
2023-10-10 20:05:04 +03:00
committed by GitHub
parent d65c87f04d
commit 23b9d47e8a
20 changed files with 177 additions and 107 deletions

View File

@@ -93,10 +93,9 @@ int MxOmni::vtable0x30(char*, int, MxCore*)
return 0;
}
// OFFSET: LEGO1 0x100aefc0 STUB
void MxOmni::NotifyCurrentEntity()
// OFFSET: LEGO1 0x100aefc0
void MxOmni::NotifyCurrentEntity(MxParam *p_param)
{
// TODO
}
// OFFSET: LEGO1 0x100b09d0
@@ -352,7 +351,7 @@ MxLong MxOmni::Notify(MxParam &p)
{
MxAutoLocker lock(&this->m_criticalsection);
if (p.GetType() != MXSTREAMER_UNKNOWN)
if (((MxNotificationParam&) p).GetType() != MXSTREAMER_UNKNOWN)
return 0;
return HandleNotificationType2(p);