Implement MxOmni Start/stop timer (#181)

* Implement start/stop timer

* Mark StartDirectSound as stub

* remove accidently committed files
This commit is contained in:
Misha
2023-10-07 13:12:59 -04:00
committed by GitHub
parent 907c85616b
commit 8281e195f7
7 changed files with 54 additions and 16 deletions

View File

@@ -47,7 +47,7 @@ public:
virtual int vtable0x30(char*, int, MxCore*); // vtable+30
virtual void NotifyCurrentEntity(); // vtable+34
virtual void StartTimer(); // vtable+38
virtual void vtable0x3c(); // vtable+3c
virtual void StopTimer(); // vtable+3c
static void SetInstance(MxOmni* instance);
HWND GetWindowHandle() const { return this->m_windowHandle; }
MxObjectFactory* GetObjectFactory() const { return this->m_objectFactory; }
@@ -81,7 +81,7 @@ protected:
MxCriticalSection m_criticalsection; // 0x48
unsigned char m_unk64; // 0x64
MxBool m_timerRunning; // 0x64
};
__declspec(dllexport) MxTickleManager * TickleManager();
__declspec(dllexport) MxTimer * Timer();