mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 17:34:05 +00:00
* Fix LegoRaceActor * Fix LegoRaceMap * Fix LegoCarRaceActor * Fix LegoJetskiRaceActor * Fix LegoJetski * Fix LegoRaceCar * Downgrade orig addr unique message to debug
72 lines
1.2 KiB
C++
72 lines
1.2 KiB
C++
#include "legocarraceactor.h"
|
|
|
|
#include "mxmisc.h"
|
|
#include "mxvariabletable.h"
|
|
|
|
DECOMP_SIZE_ASSERT(LegoCarRaceActor, 0x1a0)
|
|
|
|
// GLOBAL: LEGO1 0x100f7af0
|
|
// STRING: LEGO1 0x100f7ae4
|
|
const char* g_fuel = "FUEL";
|
|
|
|
// FUNCTION: LEGO1 0x10080350
|
|
LegoCarRaceActor::LegoCarRaceActor()
|
|
{
|
|
m_unk0x08 = 1.0f;
|
|
m_unk0x70 = 0.0f;
|
|
m_unk0x0c = 0;
|
|
m_maxLinearVel = 0.0f;
|
|
m_frequencyFactor = 1.0f;
|
|
m_unk0x1c = 0;
|
|
m_unk0x10 = 0.65f;
|
|
m_unk0x14 = 0.03f;
|
|
m_unk0x18 = 0.6f;
|
|
m_unk0x140 = 0.1f;
|
|
m_unk0x150 = -5.0f;
|
|
m_unk0x148 = 1;
|
|
VariableTable()->SetVariable(g_fuel, "0.8");
|
|
}
|
|
|
|
// STUB: LEGO1 0x10080590
|
|
void LegoCarRaceActor::FUN_10080590()
|
|
{
|
|
}
|
|
|
|
// STUB: LEGO1 0x10080740
|
|
void LegoCarRaceActor::VTable0x1c()
|
|
{
|
|
}
|
|
|
|
// STUB: LEGO1 0x10080b40
|
|
void LegoCarRaceActor::SwitchBoundary(LegoPathBoundary*& p_boundary, LegoUnknown100db7f4*& p_edge, float& p_unk0xe4)
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
// STUB: LEGO1 0x10080b70
|
|
void LegoCarRaceActor::VTable0x70(float p_float)
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
// STUB: LEGO1 0x10080be0
|
|
MxResult LegoCarRaceActor::VTable0x9c()
|
|
{
|
|
// TODO
|
|
return SUCCESS;
|
|
}
|
|
|
|
// STUB: LEGO1 0x10081840
|
|
MxU32 LegoCarRaceActor::VTable0x6c(
|
|
LegoPathBoundary* p_boundary,
|
|
Vector3& p_v1,
|
|
Vector3& p_v2,
|
|
float p_f1,
|
|
float p_f2,
|
|
Vector3& p_v3
|
|
)
|
|
{
|
|
// TODO
|
|
return 0;
|
|
}
|