Add game state debug log (binary ring buffer) #27
Reference in New Issue
Block a user
Delete Branch "feature/debuglog"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements the debug log module from issue 19. New src/engine/debuglog module with 4 MB in-memory ring buffer that records per-tick snapshots of input, player state, camera, physics, and entities. Activated via --debug-log CLI flag; F12 dumps to debug_log.txt. Auto-flushes every 10 seconds as crash safety net. Adds input_get_snapshot() and debuglog_set_level() registered-pointer pattern for engine/game boundary. Closes #19
34c77f7a1eto3b45572d38