mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-18 01:00:26 +02:00
- input.h: struct key_stroke ascii_code is a char (January stores NONE as -1; XINPUT_DEBUG_KEYSTROKE.Ascii is CHAR); edit_text.c drops its (byte) cast on the NONE test and stays 5/5. Measured board-wide over all 24 includers: 0 regressions. - input_xbox (27/27): _input_get_device_states with indexed gamepad and button loops and a MIN tick clamp (park reopen); _input_update_keyboard_devices with a short key-code loop and uncast ascii ternary (park reopen) - _structure_test_pill2d (624 B, previously unwritten): left/right offset line tests via point_from_line2d and the nearer collision - _find_turning_point: normalize2d/point_from_line2d/set_real_vector2d replace hand-expanded helper math - _structure_visibility_build_surfaces_traverse_leaf: the static bounding_rectangles_intersect returns short through one result (park reopen) Rejected: _first_person_weapon_update (removed NULL guards, UB hold). Follow-up: _path_test_pill_endpoint_near_wall_ok_bit is file-local in both path_smoothing.c and path_structure_bsp.c; its owner is path_structure_bsp.h. Stable diff: 0 regressions; parks 226 -> 223. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>