Debug work + some retail regalloc fixes (#2787)

* Debug work + some retail regalloc fixes

* Use AUDIO_INSTANCES in places it's missing, link d_a_e_bee

* Link m_Do_machine

* Fix clang putting other includes before the pchs

* Link some more debug TUs that already match
This commit is contained in:
LagoLunatic
2025-11-09 14:43:14 -05:00
committed by GitHub
parent 3770b114eb
commit 5e9b40b7ec
49 changed files with 480 additions and 3020 deletions
+6 -4
View File
@@ -552,7 +552,7 @@ void daNpc_Moi_c::reset() {
break;
case TYPE_2:
if (daNpcT_chkEvtBit(0xcd)) {
JUT_ASSERT(1932, 0 != mPath.getPathInfo());
JUT_ASSERT(1932, NULL != mPath.getPathInfo());
iVar8 = g_Counter.mCounter0 % mPath.getNumPnts();
cStack_30 = mPath.getPntPos(iVar8);
setPos(cStack_30);
@@ -1220,7 +1220,7 @@ int daNpc_Moi_c::injuryCheck() {
if (bVar1 && timer != 0) {
if (field_0x1667 != 0) {
if (timer & 1 != 0) {
if ((timer & 1) != 0) {
mMotionSeqMngr.setNo(MOT_UNK_38, -1.0f, 0, 0);
} else {
mMotionSeqMngr.setNo(MOT_UNK_37, -1.0f, 0, 0);
@@ -1250,7 +1250,7 @@ int daNpc_Moi_c::injuryTurn(cXyz param_1) {
BOOL bVar1 = FALSE;
switch (field_0x1654) {
case 0:
case 0: {
s16 iVar1 = cLib_targetAngleY(&current.pos, &param_1) - mCurAngle.y;
if (abs(iVar1) < 0x2000) {
bVar1 = TRUE;
@@ -1264,6 +1264,7 @@ int daNpc_Moi_c::injuryTurn(cXyz param_1) {
field_0x1654 = 1;
}
break;
}
case 1:
if (turn(field_0x1664, 40, 1)) {
current.angle.y = mCurAngle.y;
@@ -1460,7 +1461,7 @@ int daNpc_Moi_c::cutDeliveredSw(int param_1) {
switch (iVar6) {
case 0:
case 1:
case 1: {
mJntAnm.lookNone(0);
if (cLib_calcTimer(&mEventTimer) == 0) {
if (iVar6 == 1) {
@@ -1488,6 +1489,7 @@ int daNpc_Moi_c::cutDeliveredSw(int param_1) {
rv = 1;
}
break;
}
case 2:
mJntAnm.lookPlayer(0);
if (cLib_calcTimer(&mEventTimer) == 0) {