40  Map Utilities & Visibility

This tour examines map utilities and visibility functions in linuxdoom-1.10, covering point-line tests, ray tracing with intercepts, and line-of-sight using REJECT tables and BSP traversal.

The file p_maputl.c implements spatial queries used by Doom’s movement and collision systems.

The file linuxdoom-1.10/p_sight.c implements visibility checks between points in the game world.