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
+3 -3
View File
@@ -1107,7 +1107,7 @@ int daNpc_Toby_c::cutTobyHouseFire(int arg0) {
break;
case 1:
JUT_ASSERT(2331, 0 != atmt_p);
JUT_ASSERT(2331, NULL != atmt_p);
field_0x0FFF = 1;
setParam();
setPos(atmt_p->current.pos);
@@ -1402,7 +1402,7 @@ int daNpc_Toby_c::cutRepairSCannon(int arg0) {
daPy_getPlayerActorClass()->setPlayerPosAndAngle(&work, angle.y, 0);
}
JUT_ASSERT(2703, 0 != scannon_p);
JUT_ASSERT(2703, NULL != scannon_p);
((daSCannon_c*)scannon_p)->setCannonRepair();
if (mEventTimer) {
Z2GetAudioMgr()->bgmStreamPrepare(0x02000003);
@@ -2070,7 +2070,7 @@ int daNpc_Toby_c::walk(void*) {
case 2:
if (mStagger.checkStagger() == 0) {
cXyz work;
JUT_ASSERT(3620, 0 != mPath.getPathInfo());
JUT_ASSERT(3620, NULL != mPath.getPathInfo());
int dst_pos_h = mPath.getDstPosH(current.pos, &work, mPath.getNumPnts(), 2);
calcSpeedAndAngle(work, dst_pos_h, 4, 0x800);
if (dst_pos_h && cM3d_IsZero(speedF)) {