mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 09:38:14 -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>
32 lines
652 B
C++
32 lines
652 B
C++
#ifndef SKATEBOARD_H
|
|
#define SKATEBOARD_H
|
|
|
|
#include "decomp.h"
|
|
#include "islepathactor.h"
|
|
|
|
// VTABLE 0x100d55f0
|
|
// SIZE 0x168
|
|
class SkateBoard : public IslePathActor
|
|
{
|
|
public:
|
|
SkateBoard();
|
|
|
|
// OFFSET: LEGO1 0x1000fdd0
|
|
inline virtual const char *ClassName() const override // vtable+0x0c
|
|
{
|
|
// 0x100f041c
|
|
return "SkateBoard";
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x1000fde0
|
|
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(name, SkateBoard::ClassName()) || IslePathActor::IsA(name);
|
|
}
|
|
private:
|
|
// TODO: SkateBoard types
|
|
undefined m_unk160;
|
|
undefined m_unk161[0x7];
|
|
};
|
|
|
|
#endif // SKATEBOARD_H
|