Cleanup some actors of ov031 (#131)

* feat: mark NORE as completed in delink

* feat: cleanup some functions

* refactor: remove explicit dtors of MLCK

* fix: match back vfunc_6C
This commit is contained in:
Alessevan
2026-08-12 16:41:36 -04:00
committed by GitHub
parent ca74e3b965
commit c505bcac20
12 changed files with 18 additions and 42 deletions
+2 -5
View File
@@ -57,7 +57,7 @@ void ActorUnkFLEN::vfunc_20() {
}
}
void ActorUnkFLEN::SetState(ActorUnkFLENState state) {
void ActorUnkFLEN::SetState(ActorState state) {
this->mState = state;
switch (state) {
@@ -86,7 +86,7 @@ bool ActorUnkFLEN::func_ov031_020f81f8() {
actorParams.mInitialAngle = this->mAngle;
VecFx32_Copy(&this->mPos, &actorParams.mInitialPos);
actorParams.mInitialPos.y += 0x5000;
actorParams.mInitialPos.y += FLOAT_TO_FX32(5.0f);
u16 index = this->mUnk_5C.mParams[0];
actorParams.mParams[0] = data_ov031_02110b90[index];
@@ -95,6 +95,3 @@ bool ActorUnkFLEN::func_ov031_020f81f8() {
return actorRef.type_index != 0;
}
ActorUnkFLEN::~ActorUnkFLEN() {}
ActorProfileUnkFLEN::~ActorProfileUnkFLEN() {}
+1 -4
View File
@@ -82,7 +82,7 @@ bool ActorUnkMLCK::vfunc_18(unk32 param1) {
}
void ActorUnkMLCK::vfunc_54(unk32 param1, unk32 param2) {
if (param2 != 0) {
if (param2 == 0) {
return;
}
this->vfunc_64(0x1);
@@ -262,6 +262,3 @@ bool ActorUnkMLCK::func_ov031_020fb204(unk32 param1) {
}
return false;
}
ActorUnkMLCK::~ActorUnkMLCK() {}
ActorProfileUnkMLCK::~ActorProfileUnkMLCK() {}
-3
View File
@@ -29,6 +29,3 @@ bool ActorUnkNORE::vfunc_18(unk32 param1) {
return true;
}
ActorUnkNORE::~ActorUnkNORE() {}
ActorProfileUnkNORE::~ActorProfileUnkNORE() {}
+1 -1
View File
@@ -53,7 +53,7 @@ ActorUnkTGTZ::ActorUnkTGTZ() :
mUnk_094(NULL),
mUnk_09C(true),
#else
mUnk_094(NULL, 0xC, NULL),
mUnk_094(G3d_GetModelPtr(GET_PROFILE(ActorProfileUnkTGTZ)->mUnk_3C.mUnk_50), 0xC, &this->mUnk_100),
#endif
mUnk_1B4(NULL),
mUnk_1B8(0x0),