mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-23 16:21:15 +00:00
fixes
This commit is contained in:
parent
030332aa35
commit
aa12f3f1db
@ -1,5 +1,4 @@
|
|||||||
#include "mxeventmanager.h"
|
#include "mxeventmanager.h"
|
||||||
#include "decomp.h"
|
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100c0360
|
// OFFSET: LEGO1 0x100c0360
|
||||||
MxEventManager::MxEventManager()
|
MxEventManager::MxEventManager()
|
||||||
@ -19,7 +18,7 @@ void MxEventManager::Init()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100c04a0 STUB
|
// OFFSET: LEGO1 0x100c04a0 STUB
|
||||||
MxResult MxEventManager::vtable0x28(undefined4 p_unknown1, MxU8 p_unknown2)
|
MxResult MxEventManager::vtable0x28(undefined4 p_unknown1, undefined p_unknown2)
|
||||||
{
|
{
|
||||||
//TODO
|
//TODO
|
||||||
return FAILURE;
|
return FAILURE;
|
||||||
|
|||||||
@ -51,7 +51,7 @@ void MxOmni::Init()
|
|||||||
m_timer = NULL;
|
m_timer = NULL;
|
||||||
m_streamer = NULL;
|
m_streamer = NULL;
|
||||||
m_atomIdCounterSet = NULL;
|
m_atomIdCounterSet = NULL;
|
||||||
m_TimerRunning = FALSE;
|
m_timerRunning = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100b0090
|
// OFFSET: LEGO1 0x100b0090
|
||||||
@ -72,7 +72,7 @@ void MxOmni::DeleteObject(MxDSAction &ds)
|
|||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100b09a0 STUB
|
// OFFSET: LEGO1 100b09a0 STUB
|
||||||
MxBool MxOmni::DoesEntityExist(MxDSAction &ds)
|
MxBool MxOmni::DoesEntityExist(MxDSAction &ds)
|
||||||
{
|
{
|
||||||
// TODO
|
// TODO
|
||||||
@ -85,10 +85,9 @@ void MxOmni::vtable0x2c()
|
|||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100aefb0 STUB
|
// OFFSET: LEGO1 0x100aefb0
|
||||||
int MxOmni::vtable0x30(char*, int, MxCore*)
|
int MxOmni::vtable0x30(char*, int, MxCore*)
|
||||||
{
|
{
|
||||||
// TODO
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -101,22 +100,22 @@ void MxOmni::NotifyCurrentEntity()
|
|||||||
// OFFSET: LEGO1 0x100b09d0
|
// OFFSET: LEGO1 0x100b09d0
|
||||||
void MxOmni::StartTimer()
|
void MxOmni::StartTimer()
|
||||||
{
|
{
|
||||||
if (m_TimerRunning == FALSE && m_timer != NULL && m_soundManager != NULL)
|
if (m_timerRunning == FALSE && m_timer != NULL && m_soundManager != NULL)
|
||||||
{
|
{
|
||||||
m_timer->Start();
|
m_timer->Start();
|
||||||
m_soundManager->vtable0x34();
|
m_soundManager->vtable0x34();
|
||||||
m_TimerRunning = TRUE;
|
m_timerRunning = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100b0a00
|
// OFFSET: LEGO1 0x100b0a00
|
||||||
void MxOmni::StopTimer()
|
void MxOmni::StopTimer()
|
||||||
{
|
{
|
||||||
if (m_TimerRunning != FALSE && m_timer != NULL && m_soundManager != NULL)
|
if (m_timerRunning != FALSE && m_timer != NULL && m_soundManager != NULL)
|
||||||
{
|
{
|
||||||
m_timer->Stop();
|
m_timer->Stop();
|
||||||
m_soundManager->vtable0x38();
|
m_soundManager->vtable0x38();
|
||||||
m_TimerRunning = FALSE;
|
m_timerRunning = FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -82,7 +82,7 @@ class MxOmni : public MxCore
|
|||||||
|
|
||||||
MxCriticalSection m_criticalsection; // 0x48
|
MxCriticalSection m_criticalsection; // 0x48
|
||||||
|
|
||||||
MxBool m_TimerRunning; // 0x64
|
MxBool m_timerRunning; // 0x64
|
||||||
|
|
||||||
MxLong HandleNotificationType2(MxParam& p_param);
|
MxLong HandleNotificationType2(MxParam& p_param);
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user