Implement/match several functions in Act3, refactor (#1197)

* Implement/match several functions in Act3, refactor

* Fix naming

* Rename

* Add comment

* Add annotation

* Add BETA assert
This commit is contained in:
Christian Semmler
2024-12-08 10:00:57 -07:00
committed by GitHub
parent 97fb6e4f15
commit 1aff40dd94
37 changed files with 244 additions and 112 deletions

View File

@@ -70,10 +70,10 @@ void LegoAnimActor::VTable0x74(Matrix4& p_transform)
}
// FUNCTION: LEGO1 0x1001c290
void LegoAnimActor::VTable0x70(float p_float)
void LegoAnimActor::VTable0x70(float p_time)
{
if (m_lastTime == 0) {
m_lastTime = p_float - 1.0f;
m_lastTime = p_time - 1.0f;
}
if (m_state == 0 && !m_userNavFlag && m_worldSpeed <= 0) {
@@ -84,10 +84,10 @@ void LegoAnimActor::VTable0x70(float p_float)
FUN_1001c360(f, matrix);
}
m_lastTime = m_actorTime = p_float;
m_lastTime = m_actorTime = p_time;
}
else {
LegoPathActor::VTable0x70(p_float);
LegoPathActor::VTable0x70(p_time);
}
}