mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 09:54:18 +00:00
Style refactor omni/system components (#974)
* Style refactor omni/system components * Fix * Fix
This commit is contained in:
committed by
GitHub
parent
ac41854149
commit
76435d803f
@@ -11,7 +11,7 @@ public:
|
||||
~MxAutoLock();
|
||||
|
||||
private:
|
||||
MxCriticalSection* m_criticalSection;
|
||||
MxCriticalSection* m_criticalSection; // 0x00
|
||||
};
|
||||
|
||||
#endif // MXAUTOLOCK_H
|
||||
|
||||
@@ -8,7 +8,9 @@ class MxCriticalSection {
|
||||
public:
|
||||
MxCriticalSection();
|
||||
~MxCriticalSection();
|
||||
|
||||
static void SetDoMutex();
|
||||
|
||||
void Enter();
|
||||
void Leave();
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
class MxScheduler {
|
||||
public:
|
||||
static MxScheduler* GetInstance();
|
||||
|
||||
void StartMultiTasking(MxULong);
|
||||
};
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef MX_SEMAPHORE_H
|
||||
#define MX_SEMAPHORE_H
|
||||
#ifndef MXSEMAPHORE_H
|
||||
#define MXSEMAPHORE_H
|
||||
|
||||
#include "mxtypes.h"
|
||||
|
||||
@@ -23,4 +23,4 @@ private:
|
||||
HANDLE m_hSemaphore; // 0x04
|
||||
};
|
||||
|
||||
#endif // MX_SEMAPHORE_H
|
||||
#endif // MXSEMAPHORE_H
|
||||
|
||||
@@ -42,19 +42,4 @@ protected:
|
||||
MxCore* m_target; // 0x18
|
||||
};
|
||||
|
||||
// VTABLE: LEGO1 0x100dc6d8
|
||||
// SIZE 0x20
|
||||
class MxTickleThread : public MxThread {
|
||||
public:
|
||||
MxTickleThread(MxCore* p_target, MxS32 p_frequencyMS);
|
||||
|
||||
MxResult Run() override;
|
||||
|
||||
// SYNTHETIC: LEGO1 0x100b8c20
|
||||
// MxTickleThread::`scalar deleting destructor'
|
||||
|
||||
private:
|
||||
MxS32 m_frequencyMS; // 0x1c
|
||||
};
|
||||
|
||||
#endif // MXTHREAD_H
|
||||
|
||||
21
LEGO1/omni/include/mxticklethread.h
Normal file
21
LEGO1/omni/include/mxticklethread.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef MXTICKLETHREAD_H
|
||||
#define MXTICKLETHREAD_H
|
||||
|
||||
#include "mxthread.h"
|
||||
|
||||
// VTABLE: LEGO1 0x100dc6d8
|
||||
// SIZE 0x20
|
||||
class MxTickleThread : public MxThread {
|
||||
public:
|
||||
MxTickleThread(MxCore* p_target, MxS32 p_frequencyMS);
|
||||
|
||||
MxResult Run() override;
|
||||
|
||||
// SYNTHETIC: LEGO1 0x100b8c20
|
||||
// MxTickleThread::`scalar deleting destructor'
|
||||
|
||||
private:
|
||||
MxS32 m_frequencyMS; // 0x1c
|
||||
};
|
||||
|
||||
#endif // MXTICKLETHREAD_H
|
||||
Reference in New Issue
Block a user