Fix wrong class name (#438)

* push changes

* fix

* rename file
This commit is contained in:
Misha
2024-01-14 17:00:03 -05:00
committed by GitHub
parent 763fcf8980
commit e9d8fde8bc
7 changed files with 16 additions and 16 deletions

View File

@@ -0,0 +1,32 @@
#ifndef MOTOCYCLE_H
#define MOTOCYCLE_H
#include "decomp.h"
#include "islepathactor.h"
// VTABLE: LEGO1 0x100d7090
// SIZE 0x16c
class Motocycle : public IslePathActor {
public:
Motocycle();
// FUNCTION: LEGO1 0x10035840
inline virtual const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f38e8
return "Motorcycle";
}
// FUNCTION: LEGO1 0x10035850
inline virtual MxBool IsA(const char* p_name) const override // vtable+0x10
{
return !strcmp(p_name, Motocycle::ClassName()) || IslePathActor::IsA(p_name);
}
private:
undefined m_unk0x160[4];
MxFloat m_unk0x164;
undefined m_unk0x168[4];
};
#endif // MOTOCYCLE_H