mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 23:57:54 -05:00
07912eb05a
* Stubbed a bunch of classes and annotated them for later use. Heavily wip and more of pseudocode right now. * Converted pseudocode into real code! * Created a bunch more classes and added more information to exisiting ones Did not error check, this was pushed just for reference * More classes and implementation details. Still not checked for any errors * Fixed code and decided on a way to handle virtual table stubs * Some additional fixes * More smaller fixes * Added classes to project and made it compile * Fixed function adresses that caused the python script to fail * More classes and virtual function resolves. Builds and compares fine. * Again more classes and virtual function resolves. Builds and compares fine. * No clue, I guess forced update for line endings * Finished up some work, compiles fine. All functions are STUB annotated to not pollute reccmp.py output. * line ending change * rename GetClassName/IsClass Mirroring recent changes from master * further conform to current master * update project * cleanup * project only updates when you close msdev --------- Co-authored-by: Cydra <cydra95@gmail.com> Co-authored-by: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
66 lines
1.8 KiB
C++
66 lines
1.8 KiB
C++
#ifndef MXOMNI_H
|
|
#define MXOMNI_H
|
|
|
|
#include "mxcriticalsection.h"
|
|
#include "mxeventmanager.h"
|
|
#include "mxmusicmanager.h"
|
|
#include "mxnotificationmanager.h"
|
|
#include "mxobjectfactory.h"
|
|
#include "mxomnicreateflags.h"
|
|
#include "mxomnicreateparam.h"
|
|
#include "mxsoundmanager.h"
|
|
#include "mxstreamer.h"
|
|
#include "mxticklemanager.h"
|
|
#include "mxtimer.h"
|
|
#include "mxvariabletable.h"
|
|
#include "mxvideomanager.h"
|
|
|
|
// VTABLE 0x100dc168
|
|
// SIZE 0x68
|
|
class MxOmni : public MxCore
|
|
{
|
|
public:
|
|
__declspec(dllexport) static void DestroyInstance();
|
|
__declspec(dllexport) static const char *GetCD();
|
|
__declspec(dllexport) static const char *GetHD();
|
|
__declspec(dllexport) static MxOmni *GetInstance();
|
|
__declspec(dllexport) static unsigned char IsSound3D();
|
|
__declspec(dllexport) static void SetCD(const char *s);
|
|
__declspec(dllexport) static void SetHD(const char *s);
|
|
__declspec(dllexport) static void SetSound3D(unsigned char);
|
|
|
|
virtual ~MxOmni();
|
|
|
|
virtual long Notify(MxParam &p); // vtable+04
|
|
virtual void Init(); // vtable+14
|
|
virtual MxResult Create(MxOmniCreateParam &p); // vtable+18
|
|
virtual void Destroy(); // vtable+1c
|
|
|
|
MxTimer* GetTimer() const { return this->m_timer; }
|
|
|
|
protected:
|
|
static MxOmni* m_instance;
|
|
|
|
MxString m_mediaPath; // 0x8
|
|
HWND *m_windowHandle; // 0x18;
|
|
MxObjectFactory *m_objectFactory; // 0x1C
|
|
MxVariableTable* m_variableTable; //0x20
|
|
MxTickleManager* m_tickleManager; //0x24
|
|
MxNotificationManager* m_notificationManager; //0x28
|
|
MxVideoManager *m_videoManager; //0x2C
|
|
MxSoundManager* m_soundManager; //0x30
|
|
MxMusicManager* m_musicManager; //0x34
|
|
MxEventManager* m_eventManager; //0x38
|
|
MxTimer* m_timer; //0x3C
|
|
MxStreamer* m_streamer; //0x40
|
|
|
|
int m_unk44; // 0x44
|
|
|
|
MxCriticalSection m_criticalsection; // 0x48
|
|
|
|
unsigned char m_unk64; // 0x64
|
|
};
|
|
|
|
__declspec(dllexport) MxTimer * Timer();
|
|
|
|
#endif // MXOMNI_H
|