→Technical details: Another reason for the C++ class was to support the 360's split-screen multiplayer feature
== Technical details ==
The source code contains heavy modifications to integrate the Doom engine into the external [[id Tech 4]] framework which can regularly call into the engine's code to provide a [[Render to texture|rendering context]], audio stream, and input events. The game can be exited to return to this framework, and a special menu is provided for changing the current game from inside the game itself. As part of supporting the ability to reinitialize the game engine without exiting the framework program, most global variables in the program have been moved into a C++ class. It also raises a few [[static limits]].
On some platforms, network code from [[wikipedia:Id Tech 5|id Tech 5]] is used to achieve network play capability. It is not readily evident that this code is included in the source release, or is capable of compiling and working even if included, however.