Added changes from http://www.virtuallyrandom.com/doom3/ for source to compile under VC++ 2010 express