S-Lang scripting language
If you compiled the new beta 3 then you may have noticed that I've added
support for S-Lang, a scripting language, to the source code.
You can get the S-Lang source code from
http://space.mit.edu/~davis/slang.html.
The code used to implement this language into ZAngband was adapted from
Scott Bigham's S-Lang patch for Angband. S-Lang is available for DOS, Windows, OS/2,
and the various Unix versions. An Amiga port is currently in work and it should
be fairly easy to compile on other systems.
I would like to include the S-Lang scripting language into the next ZAngband version,
to allow more flexibility. Things like defining new spells, spellbooks, items, monsters,
player races/classes, quests and many more things would be very easy with a scripting
language.
Before I can release a version with full S-Lang support I need to be sure that S-Lang
compiles on all platforms. For this reason I want the feedback from all the people
compiling versions of ZAngband on the various platforms. So please try to build
S-Lang on your machine and inform me if it works. I already know that it compiles
fine with DOS and Windows, and I'll add the instructions for these platforms to my page.
But I don't know if there are problems with Macs, Acorns, Amigas and other systems,
so please send me an e-mail with your test results
(and compiling instructions if possible).
At the moment the S-Lang support of the source code can be switched of via an option
in config.h, so you can still create a version without the scripting support.
Just remove the definition of "USE_SLANG" in config.h. The scripts are not yet used
in ZAngband, so you don't lose functionality if you switch it off.