From 7fe9a68a9d47750fa0b3956349260fc4e3968047 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Thu, 4 Dec 2025 19:03:13 -0500 Subject: d_a_horse 100% (#2912) * Fix missing line numbers for debug * Fix horse inlines and HIO * Match daHorse_c::setEffect * Improve a few debug matches * Match daHorse_c::checkHorseNoMove (half fake) * Update configure.py --- src/d/d_bg_s.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/d/d_bg_s.cpp') diff --git a/src/d/d_bg_s.cpp b/src/d/d_bg_s.cpp index 2f429b9b51..256f343ca3 100644 --- a/src/d/d_bg_s.cpp +++ b/src/d/d_bg_s.cpp @@ -116,7 +116,7 @@ bool cBgS::LineCross(cBgS_LinChk* p_line) { elm++; } - return p_line->ChkHit() ? true : false; + return p_line->ChkHit(); } f32 cBgS::GroundCross(cBgS_GndChk* p_gnd) { @@ -825,3 +825,9 @@ f32 dBgS_GetNY(cBgS_PolyInfo const& poly) { dComIfG_Bgsp().GetTriPla(poly, &pla); return pla.mNormal.y; } + +// TODO hack just to get the inlines to appear for debug +static void dummy(dBgS& i_bgs) { + i_bgs.LineCross(NULL); + i_bgs.GroundCross(NULL); +} -- cgit v1.2.3