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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 3 deletions

View file

@ -1,7 +1,12 @@
#include "motorcycle.h"
// OFFSET: LEGO1 0x100357b0 STUB
DECOMP_SIZE_ASSERT(Motorcycle, 0x16c);
// OFFSET: LEGO1 0x100357b0
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
#define MOTORCYCLE_H
#include "decomp.h"
#include "islepathactor.h"
// VTABLE 0x100d7090
@ -22,7 +23,10 @@ class Motorcycle : public IslePathActor
{
return !strcmp(name, Motorcycle::ClassName()) || IslePathActor::IsA(name);
}
private:
undefined m_unk160[4];
MxFloat m_unk164;
undefined m_unk168[4];
};
#endif // MOTORCYCLE_H