ID_ Managers - norman-ipn/Wolfenstein-Port GitHub Wiki

ID_ Manager

Q. On 'WL_MAIN.C' file there is the function 'ShutdownId(void)' than says is for shut downing the 'managers', but.... ¿What are those managers for?

A. These managers are part of the game engine of Wolfenstein, they're used mostly for low level functions like communication with the hardware and memory management. There are seven managers:

  1. US Manager: User manager, deals with user input and feedback. (Files: ID_US.H, ID_US_1.C)
  2. SD Manager: Sound manager, deals with generating sound on the appropiate hardware. (Files: ID_SD.H, ID_SD.C)
  3. PM Manager: Page manager, for managing memory pages. (Files: ID_PM.H, ID_PM.C)
  4. IN Manager: Input manager, deals with the various input devices, like keyboard and mouse. (Files: ID_IN.H, ID_IN.C)
  5. VW Manager: Video manager, deals with video card operations. (Files: ID_VL.H, ID_VL.C)
  6. CA Manager: Caching manager, for caching memory. (Files: ID_CA.H, ID_CA.C)
  7. MM Manager: Memory manager, for memory management. (Files: ID_MM.H, ID_MM.C)