isle-portable/LEGO1/towtrack.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
320 B
C++

#include "towtrack.h"
DECOMP_SIZE_ASSERT(TowTrack, 0x180);
// OFFSET: LEGO1 0x1004c720
TowTrack::TowTrack()
{
this->m_unk168 = 0;
this->m_unk16a = -1;
this->m_unk164 = 0;
this->m_unk16c = 0;
this->m_unk170 = -1;
this->m_unk16e = 0;
this->m_unk174 = -1;
this->m_unk13c = 40.0;
this->m_unk178 = 1.0;
}