i'm not a programmer, so i can't really help. [img]smile.gif[/img] but i do know that richard has this on his list of things to do some time after dungeon craft is out of beta.
the source code is open source, but is still changing, as the engine is not complete yet. richard is still working on getting the spells working and finishing up combat.
check out the official dungeon craft page for more info and links to everything.
http://uaf.sourceforge.net/
[img]graemlins/1druid.gif[/img]
-manikus