d_a_npc cleanup (#2466)

* d_a_npc first cleanup pass

* more d_a_npc cleanup
This commit is contained in:
TakaRikka
2025-05-31 05:18:54 -07:00
committed by GitHub
parent 4c4370b03c
commit 7b550fafb5
12 changed files with 4035 additions and 3364 deletions
+3 -3
View File
@@ -219,8 +219,8 @@ BOOL daNpc_zrA_Path_c::getDstPosDstXZ(cXyz i_pos, cXyz& o_pnt) {
/* 80B78CA0-80B78CFC 000880 005C+00 1/1 0/0 0/0 .text chkPassedChase__16daNpc_zrA_Path_cFUs4cXyz
*/
BOOL daNpc_zrA_Path_c::chkPassedChase(u16 i_idx, cXyz i_pos) {
return daNpcF_chkPassed(i_pos, (dPnt*)mpRoomPath->m_points, i_idx,
mpRoomPath->m_num, mIsClosed, mIsReversed);
return daNpcF_chkPassed(i_pos, (dPnt*)mPathInfo->m_points, i_idx,
mPathInfo->m_num, mIsClosed, mIsReversed);
}
/* 80B78CFC-80B78E08 0008DC 010C+00 1/1 0/0 0/0 .text
@@ -253,7 +253,7 @@ int daNpc_zrA_Path_c::getDstPosChase(u16 i_idx, cXyz i_pos, cXyz& o_pnt) {
/* 80B78E08-80B7956C 0009E8 0764+00 1/1 0/0 0/0 .text chkPassDst__16daNpc_zrA_Path_cFUs4cXyz */
f32 daNpc_zrA_Path_c::chkPassDst(u16 i_idx, cXyz i_pos) {
u16 prev_idx, next_idx;
dPnt* points = mpRoomPath->m_points;
dPnt* points = mPathInfo->m_points;
u16 idx = mIdx;
u8 reversed = mIsReversed;
mIdx = i_idx;