Update types/add needed type in LegoPathActor for Pizza

Yes, this is a recommit because last time I pushed my cmake dir
This commit is contained in:
Joshua Peisach 2023-07-23 16:56:46 -04:00
parent baff2eeaa2
commit 0ab5da9055
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A
3 changed files with 7 additions and 3 deletions

View File

@ -3,8 +3,8 @@
// OFFSET: LEGO1 0x1001a200
IslePathActor::IslePathActor()
{
// FIXME: doesnt match
this->m_unk154 = FALSE;
this->m_pLegoWorld = NULL;
this->m_unk13c = 0x40c00000;
this->m_fourcc = 0x3f800000;
this->m_unk158 = 0;
}

View File

@ -2,6 +2,7 @@
#define ISLEPATHACTOR_H
#include "legopathactor.h"
#include "legoworld.h"
#include "mxtypes.h"
// VTABLE 0x100d4398
@ -26,7 +27,7 @@ class IslePathActor : public LegoPathActor
}
private:
MxBool m_unk154;
LegoWorld* m_pLegoWorld; // 0x154
MxS32 m_unk158;
MxS32 m_fourcc; // 0x15c
};

View File

@ -2,6 +2,7 @@
#define LEGOPATHACTOR_H
#include "legoactor.h"
#include "mxtypes.h"
// VTABLE 0x100d6e28
// SIZE 0x154 (from inlined construction at 0x1000a346)
@ -25,6 +26,8 @@ class LegoPathActor : public LegoActor
return !strcmp(name, LegoPathActor::ClassName()) || LegoActor::IsA(name);
}
// TODO: the types. Pizza needs this as public:
MxS32 m_unk13c;
};
#endif // LEGOPATHACTOR_H