summaryrefslogtreecommitdiff
path: root/src/d/d_bg_s.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-12-04 19:03:13 -0500
committerGitHub <noreply@github.com>2025-12-04 16:03:13 -0800
commit7fe9a68a9d47750fa0b3956349260fc4e3968047 (patch)
treee1e8325785a4466c34ac3ec6ce5e80fa0619d762 /src/d/d_bg_s.cpp
parent4d3f25d34ed0782ba693c80698631cac6add8f9c (diff)
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
Diffstat (limited to 'src/d/d_bg_s.cpp')
-rw-r--r--src/d/d_bg_s.cpp8
1 files changed, 7 insertions, 1 deletions
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);
+}