Start IslePathActor

This commit is contained in:
Joshua Peisach 2023-07-18 20:01:42 -04:00
parent 9fa08b1017
commit baff2eeaa2
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A
2 changed files with 24 additions and 1 deletions

View File

@ -1 +1,15 @@
#include "islepathactor.h" #include "islepathactor.h"
// OFFSET: LEGO1 0x1001a200
IslePathActor::IslePathActor()
{
// FIXME: doesnt match
this->m_unk154 = FALSE;
this->m_fourcc = 0x3f800000;
this->m_unk158 = 0;
}
// OFFSET: LEGO1 0x10002e10
IslePathActor::~IslePathActor()
{
}

View File

@ -2,12 +2,16 @@
#define ISLEPATHACTOR_H #define ISLEPATHACTOR_H
#include "legopathactor.h" #include "legopathactor.h"
#include "mxtypes.h"
// VTABLE 0x100d4398 // VTABLE 0x100d4398
// SIZE >= 0x230 // SIZE >= 0x230
class IslePathActor : public LegoPathActor class IslePathActor : public LegoPathActor
{ {
public: public:
IslePathActor();
~IslePathActor();
// OFFSET: LEGO1 0x10002ea0 // OFFSET: LEGO1 0x10002ea0
inline virtual const char *ClassName() const override // vtable+0x0c inline virtual const char *ClassName() const override // vtable+0x0c
{ {
@ -20,6 +24,11 @@ class IslePathActor : public LegoPathActor
{ {
return !strcmp(name, IslePathActor::ClassName()) || LegoPathActor::IsA(name); return !strcmp(name, IslePathActor::ClassName()) || LegoPathActor::IsA(name);
} }
private:
MxBool m_unk154;
MxS32 m_unk158;
MxS32 m_fourcc; // 0x15c
}; };
#endif // ISLEPATHACTOR_H #endif // ISLEPATHACTOR_H