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>
38 lines
692 B
C++
38 lines
692 B
C++
#ifndef MXCORE_H
|
|
#define MXCORE_H
|
|
|
|
#include <string.h>
|
|
|
|
#include "mxtypes.h"
|
|
|
|
class MxParam;
|
|
|
|
// VTABLE 0x100dc0f8
|
|
// SIZE 0x8
|
|
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 // vtable+0c
|
|
{
|
|
// 0x100f007c
|
|
return "MxCore";
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100140d0
|
|
inline virtual MxBool IsA(const char *name) const // vtable+10
|
|
{
|
|
return !strcmp(name, MxCore::ClassName());
|
|
}
|
|
|
|
private:
|
|
unsigned int m_id;
|
|
|
|
};
|
|
|
|
#endif // MXCORE_H
|