William Astle has Disassembled the Dungeons of Dagorath Source Code and then made a repository with some Enhancements.
You can find the Two Mercurial Repositories here:
William Astle's Dungeons of Dagorath ( Source of Original )
William Astle's Dungeons of Dagorath ( Source with Enhancements )
This will Assemble with the LWTools Suite.