This repository contains snippets of decompiled/reconstructed Duke Nukem 1 source code. It serves as supplementary material to a series of blog posts about the game's engine and its internals.
All functions included here have been verified to be 100% matches with the original executable's disassembly when compiled with the right toolchain.
The game was originally built with Borland Turbo C 2.0 and Turbo Assembler 1.0, the same toolchain as for Cosmo's Cosmic Adventures.
- Duke Nukem 1's tile rendering
- Duke Nukem 1's sprite rendering
- (Planned) Duke Nukem 1's actor system
- Duke Nukem 1's collision detection