Refactor actor states, define enum (#1220)

* Refactor actor states, define enum

* Revert

* Rename `UpdateState` to `Animate`
This commit is contained in:
Christian Semmler
2024-12-13 12:30:50 -07:00
committed by GitHub
parent ce3f71ea0f
commit 6da2faa48c
44 changed files with 161 additions and 153 deletions

View File

@@ -155,7 +155,7 @@ MxResult Act2Actor::VTable0x9c()
// FUNCTION: LEGO1 0x10018c30
// FUNCTION: BETA10 0x1000cb52
void Act2Actor::UpdateState(float p_time)
void Act2Actor::Animate(float p_time)
{
int dummy1; // for BETA10, not sure what it is being used for
@@ -168,7 +168,7 @@ void Act2Actor::UpdateState(float p_time)
g_unk0x100f0f1c = p_time;
#endif
LegoAnimActor::UpdateState(p_time);
LegoAnimActor::Animate(p_time);
if (m_unk0x44 != 0.0f && m_unk0x44 < p_time) {
SetWorldSpeed(m_unk0x28);