mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 17:46:38 -05:00
1fa2fd9737
* pizza: fix type m_unk90 * Initial implementation of a lot of IslePathActor's All IslePathActor's seem to have (for the most part), the same few variables in common, probably some ID. SkateBoard, Pizza and TowTrack seem to be a bit more complicated with additional fields surrounding it. * Add missing ClassName(s) and IsA(s) * Add decomp size asserts * Fix size assertions * Make legopathactor fields protected for now, fix a type in Pizza * Fix TowTrack structure --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
33 lines
680 B
C++
33 lines
680 B
C++
#ifndef DUNEBUGGY_H
|
|
#define DUNEBUGGY_H
|
|
|
|
#include "decomp.h"
|
|
#include "islepathactor.h"
|
|
|
|
// VTABLE 0x100d8f98
|
|
// SIZE 0x16c
|
|
class DuneBuggy : public IslePathActor
|
|
{
|
|
public:
|
|
DuneBuggy();
|
|
|
|
// OFFSET: LEGO1 0x10067c30
|
|
inline virtual const char *ClassName() const override // vtable+0x0c
|
|
{
|
|
// 0x100f0410
|
|
return "DuneBuggy";
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x10067c40
|
|
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(name, DuneBuggy::ClassName()) || IslePathActor::IsA(name);
|
|
}
|
|
private:
|
|
// TODO: Double check DuneBuggy field types
|
|
undefined4 m_unk160;
|
|
MxFloat m_unk164;
|
|
undefined4 m_unk168;
|
|
};
|
|
|
|
#endif // DUNEBUGGY_H
|