John "Elwin" Edwards
b369d09125
arogue7: fix the backspace key in prompts.
...
md_readchar() now translates KEY_BACKSPACE to the erase character.
XRogue seems to work already.
2015-05-28 09:41:29 -04:00
John "Elwin" Edwards
d793ca961f
arogue7, xrogue: add support for keypad 5.
...
Keypad 5 is now equivalent to the '.' key.
XRogue does not include md_readchar() and its ability to work around
deficiencies in the terminfo entry. So the key will not be recognized
in screen/tmux or anywhere else without the kb2 capability. Adding
md_readchar() would be more complex than it was for Super-Rogue, since
XRogue already does KEY_* interpretation in command().
2015-05-27 17:29:32 -04:00
John "Elwin" Edwards
94b05cac99
arogue7: ask about unidentified objects by default.
...
The 'askme' option is on in some games and off in others, probably due
to authorial preference. I am going to be consistent and turn it on in
all of them.
2015-05-21 09:02:15 -04:00
John "Elwin" Edwards
053a248658
arogue7, xrogue: put newlines at the end of startup messages.
2015-05-20 15:15:29 -04:00
John "Elwin" Edwards
e3620a3781
Advanced Rogue family: fix the "score" option.
...
Changing the score file (when permitted) now works again, closing the
old score file and opening the new one.
2015-05-20 08:42:17 -04:00
John "Elwin" Edwards
ea4244de91
arogue7, xrogue: prevent potential NULL dereferencing.
...
It is possible for getpwuid() to fail and return NULL. Various md_get*
functions now check for this.
2015-05-18 10:53:22 -04:00
John "Elwin" Edwards
3554339257
Advanced Rogue family: overhaul privilege handling.
...
Advanced Rogue 5 and 7, and XRogue, now open the scorefile and logfile
at startup and then drop any set[ug]id privileges if the savedir is not
being used.
2015-05-16 13:39:26 -04:00
John "Elwin" Edwards
3bcf8ac2c1
arogue7: prevent segfaults when backstabbing while empty-handed.
...
The calculation of the backstabbing multiplier checked the current
weapon's properties without making sure the current weapon pointer was
not NULL.
2015-05-12 18:57:30 -04:00
John "Elwin" Edwards
e8f5429554
arogue7: call nonl() during initialization.
2015-05-12 10:28:05 -04:00
John "Elwin" Edwards
e4d23af7c5
arogue7: record completed games in a logfile.
2015-05-12 09:55:05 -04:00
John "Elwin" Edwards
b6ab08176a
arogue7: prevent changing protected options.
...
When using the savedir, whoami, file_name, and score_file cannot be
changed.
2015-05-11 19:41:46 -04:00
John "Elwin" Edwards
7824f79164
arogue7: implement the -n option.
2015-05-11 16:46:00 -04:00
John "Elwin" Edwards
7da765d616
arogue7: make the scorefile location configurable.
2015-05-11 13:36:36 -04:00
John "Elwin" Edwards
3095366864
arogue7: add missing header includes.
2015-05-08 16:45:41 -04:00
John "Elwin" Edwards
cf121ade21
Import Advanced Rogue 7.7 from the Roguelike Restoration Project (r1490)
2015-05-08 15:24:40 -04:00