Motorcycle initial class structure and ctor (#156)

This commit is contained in:
Joshua Peisach
2023-10-03 04:02:08 -04:00
committed by GitHub
parent b7efd64ac1
commit 6480fd90e7
2 changed files with 12 additions and 3 deletions

View File

@@ -1,7 +1,12 @@
#include "motorcycle.h" #include "motorcycle.h"
// OFFSET: LEGO1 0x100357b0 STUB DECOMP_SIZE_ASSERT(Motorcycle, 0x16c);
// OFFSET: LEGO1 0x100357b0
Motorcycle::Motorcycle() Motorcycle::Motorcycle()
{ {
// TODO this->m_unk13c = 40.0;
this->m_unk150 = 1.75;
this->m_unk148 = 1;
this->m_unk164 = 1.0;
} }

View File

@@ -1,6 +1,7 @@
#ifndef MOTORCYCLE_H #ifndef MOTORCYCLE_H
#define MOTORCYCLE_H #define MOTORCYCLE_H
#include "decomp.h"
#include "islepathactor.h" #include "islepathactor.h"
// VTABLE 0x100d7090 // VTABLE 0x100d7090
@@ -22,7 +23,10 @@ public:
{ {
return !strcmp(name, Motorcycle::ClassName()) || IslePathActor::IsA(name); return !strcmp(name, Motorcycle::ClassName()) || IslePathActor::IsA(name);
} }
private:
undefined m_unk160[4];
MxFloat m_unk164;
undefined m_unk168[4];
}; };
#endif // MOTORCYCLE_H #endif // MOTORCYCLE_H