45 UI & HUD & Resource Data: Overview
This walkthrough explores the automap interface in the DOOM engine.
45.1 Automap Interface
You’re looking at the automap interface for the DOOM engine. This header declares the core automap functions integrated into the main loop.
The am_map.h
header defines the core functions for controlling and displaying the automap overlay. Let’s look at these function declarations.
45.1.1 File: linuxdoom-1.10/am_map.h
(Lines 31–43)
// Declares the core automap functions
(event_t* ev);
boolean AM_Respondervoid AM_Ticker(void);
void AM_Drawer(void);
void AM_Stop(void);
- AM_Responder processes input events for the automap
- AM_Ticker updates the automap state every game frame
- AM_Drawer renders the automap on screen when active
- AM_Stop force-disables the automap (e.g., at level end)