isle-portable/LEGO1/skateboard.cpp
Joshua Peisach 1fa2fd9737
The IslePathActor's (#113)
* 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>
2023-09-10 14:01:39 +02:00

17 lines
298 B
C++

#include "skateboard.h"
#include "mxomni.h"
#include "decomp.h"
DECOMP_SIZE_ASSERT(SkateBoard, 0x168);
// OFFSET: LEGO1 0x1000fd40
SkateBoard::SkateBoard()
{
this->m_unk160 = 0;
this->m_unk13c = 15.0;
this->m_unk150 = 3.5;
this->m_unk148 = 1;
NotificationManager()->Register(this);
}