mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 17:04:17 +00:00
Implement most of LegoJetski, refactor (#1214)
* Implement most of `LegoJetski`, refactor * Fix
This commit is contained in:
committed by
GitHub
parent
894034f9cf
commit
1bfeebd004
@@ -1,6 +1,7 @@
|
||||
#ifndef LEGORACERS_H
|
||||
#define LEGORACERS_H
|
||||
|
||||
#include "legojetskiraceactor.h"
|
||||
#include "legoracemap.h"
|
||||
#include "legoracespecial.h"
|
||||
|
||||
@@ -101,8 +102,13 @@ private:
|
||||
// name verified by BETA10 0x100cbee6
|
||||
static EdgeReference g_skBMap[];
|
||||
|
||||
public:
|
||||
// TODO: These are shared with LegoJetski, and we should move them outside of this class
|
||||
// and into the scope of legoracers.cpp
|
||||
|
||||
static const SkeletonKickPhase g_skeletonKickPhases[];
|
||||
static const char* g_strSpeed;
|
||||
static const char* g_strJetSpeed;
|
||||
static const char* g_srtsl18to29[];
|
||||
static const char* g_srtsl6to10[];
|
||||
static const char* g_emptySoundKeyList[];
|
||||
@@ -121,7 +127,53 @@ private:
|
||||
static undefined4 g_unk0x100f0bb0;
|
||||
};
|
||||
|
||||
#endif // LEGORACERS_H
|
||||
// VTABLE: LEGO1 0x100d5a08 LegoCarRaceActor
|
||||
// VTABLE: LEGO1 0x100d5a28 LegoRaceActor
|
||||
// VTABLE: LEGO1 0x100d5a30 LegoAnimActor
|
||||
// VTABLE: LEGO1 0x100d5a40 LegoPathActor
|
||||
// VTABLE: LEGO1 0x100d5b10 LegoRaceMap
|
||||
// SIZE 0x1dc
|
||||
class LegoJetski : public LegoJetskiRaceActor, public LegoRaceMap {
|
||||
public:
|
||||
LegoJetski();
|
||||
~LegoJetski() override;
|
||||
|
||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||
|
||||
// FUNCTION: LEGO1 0x10013e90
|
||||
const char* ClassName() const override // vtable+0x0c
|
||||
{
|
||||
// STRING: LEGO1 0x100f053c
|
||||
return "LegoJetski";
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10013eb0
|
||||
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||
{
|
||||
return !strcmp(p_name, LegoJetski::ClassName()) || LegoJetskiRaceActor::IsA(p_name);
|
||||
}
|
||||
|
||||
void ParseAction(char* p_extra) override; // vtable+0x20
|
||||
void SetWorldSpeed(MxFloat p_worldSpeed) override; // vtable+0x30
|
||||
MxU32 VTable0x6c(
|
||||
LegoPathBoundary* p_boundary,
|
||||
Vector3& p_v1,
|
||||
Vector3& p_v2,
|
||||
float p_f1,
|
||||
float p_f2,
|
||||
Vector3& p_v3
|
||||
) override; // vtable+0x6c
|
||||
void VTable0x70(float p_time) override; // vtable+0x70
|
||||
MxResult HitActor(LegoPathActor* p_actor, MxBool p_bool) override; // vtable+0x94
|
||||
void SwitchBoundary(LegoPathBoundary*& p_boundary, LegoUnknown100db7f4*& p_edge, float& p_unk0xe4)
|
||||
override; // vtable+0x98
|
||||
MxResult VTable0x9c() override; // vtable+0x9c
|
||||
|
||||
virtual void FUN_100136f0(float p_worldSpeed);
|
||||
|
||||
// SYNTHETIC: LEGO1 0x10013e30
|
||||
// LegoJetski::`scalar deleting destructor'
|
||||
};
|
||||
|
||||
// GLOBAL: LEGO1 0x100d5890
|
||||
// LegoRaceCar::`vbtable'{for `LegoCarRaceActor'}
|
||||
@@ -134,3 +186,20 @@ private:
|
||||
|
||||
// GLOBAL: LEGO1 0x100d5868
|
||||
// LegoRaceCar::`vbtable'{for `LegoRaceActor'}
|
||||
|
||||
// GLOBAL: LEGO1 0x100d59b8
|
||||
// LegoJetski::`vbtable'{for `LegoCarRaceActor'}
|
||||
|
||||
// GLOBAL: LEGO1 0x100d59c8
|
||||
// LegoJetski::`vbtable'{for `LegoRaceActor'}
|
||||
|
||||
// GLOBAL: LEGO1 0x100d59d8
|
||||
// LegoJetski::`vbtable'{for `LegoAnimActor'}
|
||||
|
||||
// GLOBAL: LEGO1 0x100d59e0
|
||||
// LegoJetski::`vbtable'
|
||||
|
||||
// GLOBAL: LEGO1 0x100d59f0
|
||||
// LegoJetski::`vbtable'{for `LegoJetskiRaceActor'}
|
||||
|
||||
#endif // LEGORACERS_H
|
||||
|
||||
Reference in New Issue
Block a user