mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 08:41:16 +00:00
Fix more CI issues
This commit is contained in:
parent
f496a56f4a
commit
dd088db26f
@ -34,7 +34,7 @@ class LegoJetskiRaceActor : public virtual LegoCarRaceActor {
|
|||||||
Vector3& p_v3
|
Vector3& p_v3
|
||||||
) override; // vtable+0x6c
|
) override; // vtable+0x6c
|
||||||
void VTable0x70(float p_float) override; // vtable+0x70
|
void VTable0x70(float p_float) override; // vtable+0x70
|
||||||
MxS32 VTable0x1c(undefined4 param_1, LegoEdge* p_edge) override; // vtable+0x1c
|
MxS32 VTable0x1c(undefined4 p_param1, LegoEdge* p_edge) override; // vtable+0x1c
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x10081d50
|
// SYNTHETIC: LEGO1 0x10081d50
|
||||||
// LegoJetskiRaceActor::`scalar deleting destructor'
|
// LegoJetskiRaceActor::`scalar deleting destructor'
|
||||||
|
|||||||
@ -122,15 +122,14 @@ class LegoPathController : public MxCore {
|
|||||||
static MxResult Reset();
|
static MxResult Reset();
|
||||||
|
|
||||||
// FUNCTION: BETA10 0x100cf580
|
// FUNCTION: BETA10 0x100cf580
|
||||||
static LegoUnknown100db7f4* GetControlEdgeA(MxS32 index) { return g_ctrlEdgesA[index].m_edge; }
|
static LegoUnknown100db7f4* GetControlEdgeA(MxS32 p_index) { return g_ctrlEdgesA[p_index].m_edge; }
|
||||||
|
|
||||||
// FUNCTION: BETA10 0x100cf5b0
|
// FUNCTION: BETA10 0x100cf5b0
|
||||||
static LegoPathBoundary* GetControlBoundaryA(MxS32 index) { return g_ctrlBoundariesA[index].m_boundary; }
|
static LegoPathBoundary* GetControlBoundaryA(MxS32 p_index) { return g_ctrlBoundariesA[p_index].m_boundary; }
|
||||||
|
|
||||||
// These two are an educated guess because BETA10 does not have the g_ctrl.*B globals
|
// These two are an educated guess because BETA10 does not have the g_ctrl.*B globals
|
||||||
static LegoUnknown100db7f4* GetControlEdgeB(MxS32 index) { return g_ctrlEdgesB[index].m_edge; }
|
static LegoUnknown100db7f4* GetControlEdgeB(MxS32 p_index) { return g_ctrlEdgesB[p_index].m_edge; }
|
||||||
|
static LegoPathBoundary* GetControlBoundaryB(MxS32 p_index) { return g_ctrlBoundariesB[p_index].m_boundary; }
|
||||||
static LegoPathBoundary* GetControlBoundaryB(MxS32 index) { return g_ctrlBoundariesB[index].m_boundary; }
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void FUN_10046970();
|
void FUN_10046970();
|
||||||
|
|||||||
@ -64,7 +64,7 @@ class LegoCarRaceActor : public virtual LegoRaceActor {
|
|||||||
// FUNCTION: LEGO1 0x10012c00
|
// FUNCTION: LEGO1 0x10012c00
|
||||||
virtual float FUN_10012c00() { return m_unk0x18; }
|
virtual float FUN_10012c00() { return m_unk0x18; }
|
||||||
|
|
||||||
virtual MxS32 VTable0x1c(undefined4 param_1, LegoEdge* p_edge); // vtable+0x1c
|
virtual MxS32 VTable0x1c(undefined4 p_param1, LegoEdge* p_edge); // vtable+0x1c
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x10012c30
|
// SYNTHETIC: LEGO1 0x10012c30
|
||||||
// LegoCarRaceActor::`vbase destructor'
|
// LegoCarRaceActor::`vbase destructor'
|
||||||
|
|||||||
@ -324,8 +324,7 @@ MxCore* LegoObjectFactory::Create(const char* p_name)
|
|||||||
else if (m_idCarRace == atom) {
|
else if (m_idCarRace == atom) {
|
||||||
object = new CarRace();
|
object = new CarRace();
|
||||||
}
|
}
|
||||||
else if (m_idLegoRaceCarBuildState == atom || m_idLegoCopterBuildState == atom ||
|
else if (m_idLegoRaceCarBuildState == atom || m_idLegoCopterBuildState == atom || m_idLegoDuneCarBuildState == atom || m_idLegoJetskiBuildState == atom) {
|
||||||
m_idLegoDuneCarBuildState == atom || m_idLegoJetskiBuildState == atom) {
|
|
||||||
object = new LegoVehicleBuildState(p_name);
|
object = new LegoVehicleBuildState(p_name);
|
||||||
}
|
}
|
||||||
else if (m_idHospitalState == atom) {
|
else if (m_idHospitalState == atom) {
|
||||||
|
|||||||
@ -12,7 +12,7 @@ LegoJetskiRaceActor::LegoJetskiRaceActor()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x10081120
|
// STUB: LEGO1 0x10081120
|
||||||
MxS32 LegoJetskiRaceActor::VTable0x1c(undefined4 param_1, LegoEdge* p_edge)
|
MxS32 LegoJetskiRaceActor::VTable0x1c(undefined4 p_param1, LegoEdge* p_edge)
|
||||||
{
|
{
|
||||||
// TODO
|
// TODO
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
@ -93,9 +93,9 @@ void LegoCarRaceActor::FUN_10080590(float p_float)
|
|||||||
|
|
||||||
// FUNCTION: LEGO1 0x10080740
|
// FUNCTION: LEGO1 0x10080740
|
||||||
// FUNCTION: BETA10 0x100cece0
|
// FUNCTION: BETA10 0x100cece0
|
||||||
MxS32 LegoCarRaceActor::VTable0x1c(undefined4 param_1, LegoEdge* p_edge)
|
MxS32 LegoCarRaceActor::VTable0x1c(undefined4 p_param1, LegoEdge* p_edge)
|
||||||
{
|
{
|
||||||
Mx3DPointFloat unknownPoint;
|
Mx3DPointFloat pointUnknown;
|
||||||
Mx3DPointFloat destEdgeUnknownVector;
|
Mx3DPointFloat destEdgeUnknownVector;
|
||||||
Mx3DPointFloat crossProduct;
|
Mx3DPointFloat crossProduct;
|
||||||
|
|
||||||
@ -148,9 +148,9 @@ MxS32 LegoCarRaceActor::VTable0x1c(undefined4 param_1, LegoEdge* p_edge)
|
|||||||
Vector3* v2 = m_destEdge->CWVertex(*m_boundary);
|
Vector3* v2 = m_destEdge->CWVertex(*m_boundary);
|
||||||
assert(v1 && v2);
|
assert(v1 && v2);
|
||||||
|
|
||||||
unknownPoint[0] = (*v1)[0] + ((*v2)[0] - (*v1)[0]) * m_unk0xe4;
|
pointUnknown[0] = (*v1)[0] + ((*v2)[0] - (*v1)[0]) * m_unk0xe4;
|
||||||
unknownPoint[1] = (*v1)[1] + ((*v2)[1] - (*v1)[1]) * m_unk0xe4;
|
pointUnknown[1] = (*v1)[1] + ((*v2)[1] - (*v1)[1]) * m_unk0xe4;
|
||||||
unknownPoint[2] = (*v1)[2] + ((*v2)[2] - (*v1)[2]) * m_unk0xe4;
|
pointUnknown[2] = (*v1)[2] + ((*v2)[2] - (*v1)[2]) * m_unk0xe4;
|
||||||
|
|
||||||
m_destEdge->FUN_1002ddc0(*m_boundary, destEdgeUnknownVector);
|
m_destEdge->FUN_1002ddc0(*m_boundary, destEdgeUnknownVector);
|
||||||
|
|
||||||
@ -167,7 +167,7 @@ MxS32 LegoCarRaceActor::VTable0x1c(undefined4 param_1, LegoEdge* p_edge)
|
|||||||
((Vector3*) &crossProduct)->Mul(5.0f);
|
((Vector3*) &crossProduct)->Mul(5.0f);
|
||||||
|
|
||||||
MxResult callResult =
|
MxResult callResult =
|
||||||
VTable0x80(Vector3(m_roi->GetWorldPosition()), worldDirection, unknownPoint, crossProduct);
|
VTable0x80(Vector3(m_roi->GetWorldPosition()), worldDirection, pointUnknown, crossProduct);
|
||||||
|
|
||||||
if (callResult) {
|
if (callResult) {
|
||||||
m_unk0x7c = 0;
|
m_unk0x7c = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user