46  Automap Module

This tour introduces the Automap module interface in linuxdoom-1.10/am_map.h. You’ll see the four entry points the main loop uses to handle the automap.

The automap interface in am_map.h defines four functions that control the automap’s input handling, updates, display, and deactivation.


Highlighted Source: linuxdoom-1.10/am_map.h (lines 31–35)
> AM_Responder processes input events; AM_Ticker updates the automap state each game tick.

Highlighted Source: linuxdoom-1.10/am_map.h (lines 37–43)
> AM_Drawer renders the automap view, while AM_Stop deactivates it.


The automap module exposes functions for handling input, updating state, rendering the map, and deactivating the overlay.

That completes the Automap interface tour.