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:
22
LEGO1/legoobjectfactory.h
Normal file
22
LEGO1/legoobjectfactory.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef LEGOOBJECTFACTORY_H
|
||||
#define LEGOOBJECTFACTORY_H
|
||||
|
||||
#include "mxobjectfactory.h"
|
||||
|
||||
#define FOR_LEGOOBJECTFACTORY_OBJECTS(X) \
|
||||
X(InfocenterState)
|
||||
|
||||
// VTABLE 0x100d4768
|
||||
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
|
||||
private:
|
||||
#define X(V) MxAtomId m_id##V;
|
||||
FOR_LEGOOBJECTFACTORY_OBJECTS(X)
|
||||
#undef X
|
||||
};
|
||||
|
||||
#endif // LEGOOBJECTFACTORY_H
|
Reference in New Issue
Block a user