mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Refine MxObjectFactory (#205)
* Refine MxObjectFactory * Change interface of Destroy --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -12,7 +12,7 @@ class LegoObjectFactory : public MxObjectFactory
|
||||
public:
|
||||
LegoObjectFactory();
|
||||
virtual MxCore *Create(const char *p_name) override; // vtable 0x14
|
||||
virtual void Destroy(void *p_object) override; // vtable 0x18
|
||||
virtual void Destroy(MxCore *p_object) override; // vtable 0x18
|
||||
private:
|
||||
#define X(V) MxAtomId m_id##V;
|
||||
FOR_LEGOOBJECTFACTORY_OBJECTS(X)
|
||||
|
Reference in New Issue
Block a user