mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
100% match of many functions in the LegoGameState::Save codepath (#86)
* Only include decomps * One more function * Add offset to endOfVariables * Remove leftover header * Use undefined where applicable * Fixes, refactorings * Fixes * Fix calling convention * Added offset comment --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -23,8 +23,22 @@ class MxObjectFactory : public MxCore
|
||||
{
|
||||
public:
|
||||
MxObjectFactory();
|
||||
virtual MxCore *Create(const char *name); // vtable 0x14
|
||||
virtual void vtable18(void *); // vtable 0x18
|
||||
|
||||
// OFFSET: LEGO1 0x10008f70
|
||||
inline virtual const char *ClassName() const override // vtable+0xc
|
||||
{
|
||||
// 0x100f0730
|
||||
return "MxObjectFactory";
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x10008f80
|
||||
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
|
||||
{
|
||||
return !strcmp(name, MxObjectFactory::ClassName()) || MxCore::IsA(name);
|
||||
}
|
||||
|
||||
virtual MxCore *Create(const char *p_name); // vtable 0x14
|
||||
virtual void Destroy(void *p_object); // vtable 0x18
|
||||
private:
|
||||
#define X(V) MxAtomId m_id##V;
|
||||
FOR_MXOBJECTFACTORY_OBJECTS(X)
|
||||
|
Reference in New Issue
Block a user