Implement Act2Actor::VTable0x70 (#1201)

* Implement draft of `Act2Actor::VTable0x70`

* Fix CI errors

* Implement `Act2Actor::FUN_100199f0`

* WIP: cleanup

* Address review comments

* Run formatter

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
jonschz
2024-12-09 22:05:08 +01:00
committed by GitHub
parent 6681f4aaae
commit 07def56326
12 changed files with 325 additions and 20 deletions

View File

@@ -30,7 +30,7 @@ LegoAnimActorStruct::~LegoAnimActorStruct()
}
// FUNCTION: LEGO1 0x1001c130
// FUNCTION: BETA10 0x1003df5f
// FUNCTION: BETA10 0x1003df3a
float LegoAnimActorStruct::GetDuration()
{
assert(m_AnimTreePtr);
@@ -70,8 +70,11 @@ void LegoAnimActor::VTable0x74(Matrix4& p_transform)
}
// FUNCTION: LEGO1 0x1001c290
// FUNCTION: BETA10 0x1003e144
void LegoAnimActor::VTable0x70(float p_time)
{
assert(m_roi);
if (m_lastTime == 0) {
m_lastTime = p_time - 1.0f;
}

View File

@@ -380,6 +380,7 @@ void LegoPathActor::VTable0x74(Matrix4& p_transform)
}
// FUNCTION: LEGO1 0x1002e790
// FUNCTION: BETA10 0x100af208
void LegoPathActor::VTable0x70(float p_time)
{
MxMatrix transform;