====== DjDooM ====== DjDoom is a reference implementation for the original Doom game engine that I have been working on for a little while. The purpose of this project is to build a playable Doom engine from the original Linux source code with minimal changes necessary to build and run in a Windows environment. This was created as a learning tool for me and I'm publishing this so it can be a learning tool for others. It is intended that this be a base for others to build and expand on. I deliberately chose to not use any third party libraries to handle sound, input and graphics and instead used only what is usually available on a typical Windows platform. I use DirectX 8 for graphics and input (including keyboard, mouse and joystick). The sound utilities took the most effort to write since Windows does not make it easy to play MIDI music and sound effects. Learning to use the Windows Multimedia APIs to play MIDI resulted in a few other articles on this blog. The game engine is built on Windows using MinGW. You will also need the DirectX 8 SDK. Newer DirectX no longer includes Direct Draw and won't work for this code. DirectX 8 SDK comes with [[http://www.amazon.com/gp/product/0764516787/ref=as_li_ss_tl?ie=UTF8&tag=fourwood-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0764516787|Windows Game Programming for Dummies, Second Edition]] which is where I got it from. The original DooM code was released by iD Software under the GPL. The additions I made are released under a more permissive MIT license. * [[https://sourceforge.net/projects/djdoom/|Go to the download page.]] Further reading: * [[http://www.amazon.com/gp/product/0812972155/ref=as_li_ss_tl?ie=UTF8&tag=fourwood-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0812972155|Masters of Doom: How Two Guys Created an Empire and Transformed Pop Culture]] * [[http://www.amazon.com/gp/product/1418042080/ref=as_li_ss_tl?ie=UTF8&tag=fourwood-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1418042080|Game Development Essentials: An Introduction]] * [[http://www.amazon.com/gp/product/0764516787/ref=as_li_ss_tl?ie=UTF8&tag=fourwood-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0764516787|Windows Game Programming for Dummies, Second Edition]] * [[http://www.amazon.com/gp/product/1568814135/ref=as_li_ss_tl?ie=UTF8&tag=fourwood-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1568814135|Game Engine Architecture]]