@Kornel Kisielewicz:
please don't statically link lua into the game. dynamic linking has a great lot of advantages, to name the most obvious binary size and memory saving when there are more apps running using the same lib.
Actually, dynamic linking (Or rather the lack thereof) is one of the few things windows has always done better then UNIX and UNIX-like OS's.
Dynamic linking saves a bit of diskspace and *might* make certain programs slightly faster ... But in a world of 500GB hardisks and quad-cores it's not that important anymore (And hasn't been for 15 years), and only offers a *very slight* advantage in *certain* situations
Static linking on the other hand has the obvious and *HUGE* advantage that the programs will almost always run on any system.
Also remember that libraries change over time and may become incompatible with previous versions, if the application if open-source then it can be modifed by anyone ... But with a closed-source app such as DoomRL this is impossible, and may lead to problems in the future if the program will become unmaintained.
And another reason why shared libs aren't that great is because it can be a pain to update.
Remember the gettext update of a year ago? I (And thousand like me) had to reinstall almost all 3d party applications because it was incompatible with the previous version...
I don't even use gettext, and always turn it off explicitly when compiling, but GNU configure seems to link binaries against gettext anyway if it's present (Thank you Mr. GNU, grrr)