mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 17:46:38 -05:00
Motorcycle initial class structure and ctor (#156)
This commit is contained in:
parent
b7efd64ac1
commit
6480fd90e7
2 changed files with 12 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 @@ class Motorcycle : public IslePathActor
|
||||||
{
|
{
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue