The original C code for the 1997 release of Doom. This code is the main loop that renders each frame each loop iteration. Our undie pattern is based on the main function, D_DoomLoop() on line 354.
Doom has since become open source and is now one of the most widely ported games ever. The guys behind the company that created Doom, id Software, are largely regarded as the creators of the FPS game genre and are legendary 3D computer graphics pioneers.
Next time you site down for a game, take a look at your Doom Code undies and appreciate gamings humble beginnings 🙂