The Doom 3 source code is now available at https://github.com/TTimo/doom3.gpl