mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Add remaining classes, implement/match LegoObjectFactory (#1026)
* Add missing classes * Match LegoObjectFactory * Remove semicolon * Add symbol * Fix
This commit is contained in:

committed by
GitHub

parent
abb4483e18
commit
cf576ca78f
@@ -42,6 +42,9 @@ public:
|
||||
// SYNTHETIC: LEGO1 0x100b1160
|
||||
// MxObjectFactory::`scalar deleting destructor'
|
||||
|
||||
// SYNTHETIC: LEGO1 0x10009020
|
||||
// MxObjectFactory::~MxObjectFactory
|
||||
|
||||
private:
|
||||
#define X(V) MxAtomId m_id##V;
|
||||
FOR_MXOBJECTFACTORY_OBJECTS(X)
|
||||
|
@@ -19,7 +19,7 @@ DECOMP_SIZE_ASSERT(MxObjectFactory, 0x38); // 100af1db
|
||||
// FUNCTION: LEGO1 0x100b0d80
|
||||
MxObjectFactory::MxObjectFactory()
|
||||
{
|
||||
#define X(V) this->m_id##V = MxAtomId(#V, e_exact);
|
||||
#define X(V) m_id##V = MxAtomId(#V, e_exact);
|
||||
FOR_MXOBJECTFACTORY_OBJECTS(X)
|
||||
#undef X
|
||||
}
|
||||
@@ -33,7 +33,7 @@ MxCore* MxObjectFactory::Create(const char* p_name)
|
||||
if (0) {
|
||||
}
|
||||
#define X(V) \
|
||||
else if (this->m_id##V == atom) \
|
||||
else if (m_id##V == atom) \
|
||||
{ \
|
||||
object = new V; \
|
||||
}
|
||||
|
Reference in New Issue
Block a user