mirror of
https://github.com/isledecomp/isle.git
synced 2025-12-10 08:03:13 +00:00
rename GetClassName/IsClass, declare mxtypes
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)
This commit is contained in:
@@ -32,12 +32,10 @@ public:
|
||||
virtual long Notify(MxParam &p); // vtable+04
|
||||
|
||||
// OFFSET: LEGO1 0x10058aa0
|
||||
inline virtual const char *GetClassName() const { return "LegoOmni"; }; // vtable+0c
|
||||
inline virtual const char *ClassName() const { return "LegoOmni"; }; // vtable+0c
|
||||
|
||||
// OFFSET: LEGO1 0x10058ab0
|
||||
inline virtual MxBool IsClass(const char *name) const {
|
||||
return !strcmp(name, LegoOmni::GetClassName()) || MxOmni::IsClass(name);
|
||||
}; // vtable+10;
|
||||
inline virtual MxBool IsA(const char *name) const { return !strcmp(name, LegoOmni::ClassName()) || MxOmni::IsA(name); }; // vtable+10;
|
||||
|
||||
virtual void Init(); // vtable+14
|
||||
virtual MxResult Create(MxOmniCreateParam &p); // vtable+18
|
||||
|
||||
Reference in New Issue
Block a user