From 642734dcd08d1f72a8e602a9c93e24b3648c4f8c Mon Sep 17 00:00:00 2001 From: Erik Date: Thu, 21 May 2026 18:38:03 +0200 Subject: [PATCH] =?UTF-8?q?feat(physics):=20A6.P1=20=E2=80=94=20instrument?= =?UTF-8?q?=20CheckOtherCells=20with=20[push-back-cell]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wires LogPushBackCellTransit into the multi-cell BSP iteration loop just before ApplyOtherCellResult halts. Captures primary/other cell ids + BSP result for direct comparison to retail's CTransition::check_other_cells loop (already ported as A4). Co-Authored-By: Claude Opus 4.7 (1M context) --- src/AcDream.Core/Physics/TransitionTypes.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/AcDream.Core/Physics/TransitionTypes.cs b/src/AcDream.Core/Physics/TransitionTypes.cs index dceaab8..4131eea 100644 --- a/src/AcDream.Core/Physics/TransitionTypes.cs +++ b/src/AcDream.Core/Physics/TransitionTypes.cs @@ -1469,6 +1469,15 @@ public sealed class Transition $"[other-cells] primary=0x{sp.CheckCellId:X8} iter=0x{cellId:X8} result={result}")); } + if (PhysicsDiagnostics.ProbePushBackEnabled) + { + PhysicsDiagnostics.LogPushBackCellTransit( + primaryCellId: sp.CheckCellId, + otherCellId: cellId, + bspResult: (int)result, + halted: false); + } + if (ApplyOtherCellResult(result, out var halted)) return halted; }