robert@gitpyr.UUCP (Robert Viduya) (01/17/85)
I've been making a few mods to hack. Here's a list of what I've done:
1. In the original version, scrolls or potions that have no immediately
discernable effect when invoked would just generate a 'strange feeling'
message. I changed this to print a small message hinting at the
real nature of the item.
2. The original version allows the player to enter control characters
whenever it asks for a string, like when the 'c' or 'C' command is
used. I changed it to disallow control characters. I also changed
it so that a DEL backspaces over the whole string back to the
beginning.
3. I changed the '?' command. It now asks if you want a long or short
help. The long help is exactly the same as the original (uses file
'help' in the distribution). The short help is a condensed help
(uses file 'hh' in the distribution). There was a small problem
with more(1)'s shell escape (it left the user in the game directory),
so I built a simple pager into the help command. I also nroff'ed the
'help' file.
4. I added a command that allows you to list out all the things you
may have discovered about rings, wands, scrolls and/or potions.
This is similar to the 'D' command in rogue.
5. The inventory is sorted by item type. Makes it a lot easier to
find what you're looking for (especially if you want that wand
of striking in the middle of a battle).
Other mods I've made were mainly bug fixes. For example, in a couple
of places, the assumption that an int was two bytes was made. Our machine
uses four byte ints. Also, I changed the termcap stuff to use TI, TE,
VS and VE and to also check SG.
If anyone is interested, send me mail and I'll mail a shar of the modified
files. I can't send a diff listing because I reformatted the source code
with a pretty printer before modifying it.
robert
--
Robert Viduya
Office of Computing Services
Georgia Institute of Technology, Atlanta GA 30332
Phone: (404) 894-4669
...!{akgua,allegra,amd,hplabs,ihnp4,masscomp,ut-ngp}!gatech!gitpyr!robert
...!{rlgvax,sb1,uf-cgrl,unmvax,ut-sally}!gatech!gitpyr!robert