Use composition instead of inheritance for most f_op classes (#2700)

This commit is contained in:
LagoLunatic
2025-09-25 15:57:15 -04:00
committed by GitHub
parent 27507a6030
commit dbf6abeb90
29 changed files with 62 additions and 55 deletions
+3 -3
View File
@@ -640,7 +640,7 @@ int daObjIceBlk_c::checkWallPre(s16 i_angle) {
int var_r29 = -1;
linchk.SetActorPid(base.id);
linchk.SetActorPid(base.base.id);
mDoMtx_stack_c::YrotS(i_angle);
mDoMtx_stack_c::multVec(&cXyz::BaseZ, &spBC);
@@ -676,7 +676,7 @@ int daObjIceBlk_c::checkBgHit() {
int var_r29 = -1;
mGndChk.SetActorPid(base.id);
mGndChk.SetActorPid(base.base.id);
for (int i = 0; i < 5; i++) {
static const Vec l_check_offsetXZ[] = {
@@ -743,7 +743,7 @@ BOOL daObjIceBlk_c::checkFall() {
cXyz end;
dBgS_ObjLinChk linchk;
linchk.SetActorPid(base.id);
linchk.SetActorPid(base.base.id);
for (int i = 0; i < 5; i++) {
static const Vec l_check_offsetXZ[] = {