mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-29 19:16:05 -05:00
e7b5ea53df
Was intended as a simple code improvement, however it also seems to make WinMain, MxString::operator=, MxDSFile::Open 100% (all of which just needed registers to be switched around)
29 lines
627 B
C++
29 lines
627 B
C++
#ifndef MXCORE_H
|
|
#define MXCORE_H
|
|
|
|
#include <string.h>
|
|
|
|
#include "mxtypes.h"
|
|
|
|
class MxParam;
|
|
|
|
class MxCore
|
|
{
|
|
public:
|
|
__declspec(dllexport) MxCore();
|
|
__declspec(dllexport) virtual ~MxCore(); // vtable+00
|
|
__declspec(dllexport) virtual long Notify(MxParam &p); // vtable+04
|
|
virtual long Tickle(); // vtable+08
|
|
|
|
// OFFSET: LEGO1 0x100144c0
|
|
inline virtual const char *ClassName() const { return "MxCore"; }; // vtable+0c
|
|
|
|
// OFFSET: LEGO1 0x100140d0
|
|
inline virtual MxBool IsA(const char *name) const { return !strcmp(name, MxCore::ClassName()); }; // vtable+10
|
|
|
|
private:
|
|
unsigned int m_id;
|
|
|
|
};
|
|
|
|
#endif // MXCORE_H
|