mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
* Implement/match LegoAnimationManager::FUN_10064b50 (#926) * Implement/match LegoAnimationManager::FUN_10063d10 (#927) * Implement/match LegoAnimationManager::FUN_10064380 (#928) * Implement/match LegoAnimationManager::FUN_10064380 * Fix naming * Revert * Implement/matche LegoAnimationManager::FUN_10064740 and FUN_10064670 (#929) * Implement/match FUN_1003ef00 and related (#931) * Implement/match LegoAnimationManager::FUN_10064120 (#932) * Implement/match LegoAnimationManager::FUN_10064120 * Fix naming * Fix parentheses * Implement LegoAnimationManager::FUN_10064010 (#933) * Implement/match ViewManager::FUN_100a6150 (#934) * Implement/match PlayCamAnim and CameraTriggerFire (#935) * Implement/match PlayCamAnim and CameraTriggerFire * Fix type * Name var * Implement/match LegoAnimationManager::FUN_10063fb0 (#936) * basic name improvements (#930) * basic name improvements * clang-format --------- Co-authored-by: Christian Semmler <mail@csemmler.com> * Implement/match LegoPathBoundary::Intersect (#937) * Implement LegoPathActor::VTable0x68 (#938) * Implement LegoPathActor::VTable0x68 * Fix naming * Implement/match LegoPathBoundary::FUN_100575b0 (#939) * Implement LegoUnknown::FUN_1009a1e0 (#940) * Implement/match LegoPathController::FUN_1004a240 (#941) * Implement LegoPathActor::VTable0x9c (#942) * Implement LegoPathActor::VTable0x9c * Add annotation * Implement/match LegoPathActor::SwitchBoundary (#943) * Implement/match LegoPathActor::SwitchBoundary * Rename var * Implement/match LegoPathStruct (#944) * Implement/match LegoPathStruct * Rename some nums * Consistent naming * Naming * relax regex * Name some functions * Improve naming * Rename * Implement/match LegoPathActor::VTable0xa4 and VTable0xa8 (#945) * Implement/match LegoPathActor::VTable0xa4 * Implement/match LegoPathActor::VTable0xa8 * Name enum constants --------- Co-authored-by: Cameron <25990062+crtdll@users.noreply.github.com>
105 lines
1.6 KiB
C++
105 lines
1.6 KiB
C++
#include "legoracecar.h"
|
|
|
|
#include "mxmisc.h"
|
|
#include "mxnotificationmanager.h"
|
|
|
|
DECOMP_SIZE_ASSERT(LegoRaceCar, 0x200)
|
|
|
|
// FUNCTION: LEGO1 0x10012950
|
|
LegoRaceCar::LegoRaceCar()
|
|
{
|
|
m_unk0x54 = 0;
|
|
m_unk0x70 = 0;
|
|
m_unk0x74 = 0;
|
|
m_unk0x5c.Clear();
|
|
m_unk0x58 = 0;
|
|
m_unk0x78 = 0;
|
|
m_unk0x7c = 0;
|
|
NotificationManager()->Register(this);
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x10012ea0
|
|
void LegoRaceCar::FUN_10012ea0(float p_worldSpeed)
|
|
{
|
|
if (p_worldSpeed < 0) {
|
|
LegoCarRaceActor::m_unk0x0c = 2;
|
|
m_unk0x13c = 0;
|
|
SetWorldSpeed(0);
|
|
}
|
|
else {
|
|
m_unk0x13c = p_worldSpeed;
|
|
}
|
|
}
|
|
|
|
// STUB: LEGO1 0x10012ff0
|
|
void LegoRaceCar::FUN_10012ff0(float)
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
// STUB: LEGO1 0x10013130
|
|
MxBool LegoRaceCar::FUN_10013130(float)
|
|
{
|
|
// TODO
|
|
return TRUE;
|
|
}
|
|
|
|
// STUB: LEGO1 0x10014280
|
|
MxLong LegoRaceCar::Notify(MxParam& p_param)
|
|
{
|
|
// TODO
|
|
return 0;
|
|
}
|
|
|
|
// STUB: LEGO1 0x100144d0
|
|
void LegoRaceCar::ParseAction(char*)
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
// STUB: LEGO1 0x100144e0
|
|
void LegoRaceCar::SetWorldSpeed(MxFloat p_worldSpeed)
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
// STUB: LEGO1 0x100144f0
|
|
MxU32 LegoRaceCar::VTable0x6c(
|
|
LegoPathBoundary* p_boundary,
|
|
Vector3& p_v1,
|
|
Vector3& p_v2,
|
|
float p_f1,
|
|
float p_f2,
|
|
Vector3& p_v3
|
|
)
|
|
{
|
|
// TODO
|
|
return 0;
|
|
}
|
|
|
|
// STUB: LEGO1 0x10014530
|
|
void LegoRaceCar::VTable0x70(float p_float)
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
// STUB: LEGO1 0x10014540
|
|
MxResult LegoRaceCar::VTable0x94(LegoPathActor* p_actor, MxBool p_bool)
|
|
{
|
|
// TODO
|
|
return 0;
|
|
}
|
|
|
|
// STUB: LEGO1 0x10014550
|
|
void LegoRaceCar::SwitchBoundary(LegoPathBoundary*& p_boundary, LegoUnknown100db7f4*& p_edge, float& p_unk0xe4)
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
// STUB: LEGO1 0x10014580
|
|
MxResult LegoRaceCar::VTable0x9c()
|
|
{
|
|
// TODO
|
|
return SUCCESS;
|
|
}
|