early-roguelike/srogue
John "Elwin" Edwards 67ec840c3c Don't truncate player name in savefile name or log message.
The player name is stored in whoami[], which is length 80 in most games
(1024 in rogue5).  Only the first 10 chars were used to create
file_name, because that buffer is the same length.  Increasing the size
of file_name to 256 permits using all of whoami.

The name is also no longer truncated to 20 chars when writing the log.

All games should now be able to handle 79-character names without
collisions.  Anything more would break save compatibility.
2014-03-23 21:27:14 -07:00
..
acinclude.m4 srogue: begin porting to autoconf. 2013-09-01 20:50:52 -07:00
armor.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
bob.h Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
bsdtty.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
chase.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
command.c srogue: allow wizard mode to be compiled out. 2013-08-31 14:24:31 -07:00
configure.ac srogue: begin porting to autoconf. 2013-09-01 20:50:52 -07:00
cx.h Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
daemon.c Rename daemon() to start_daemon(). 2013-09-07 08:08:00 -04:00
daemons.c Rename daemon() to start_daemon(). 2013-09-07 08:08:00 -04:00
disply.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
encumb.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
fight.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
global.c Don't truncate player name in savefile name or log message. 2014-03-23 21:27:14 -07:00
init.c srogue: include missing headers. 2012-01-27 17:29:30 +00:00
install-sh srogue: begin porting to autoconf. 2013-09-01 20:50:52 -07:00
io.c srogue: add arrow-key support. 2013-08-10 17:43:58 -07:00
LICENSE.TXT Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
list.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
main.c Don't truncate player name in savefile name or log message. 2014-03-23 21:27:14 -07:00
Makefile.in Add config.h to the list of headers in the Makefiles. 2013-09-03 14:14:48 -07:00
makevers.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
mdport.c srogue: fix backspace key. 2013-08-28 18:54:35 -07:00
misc.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
monsters.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
move.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
ncx.h Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
new_leve.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
newterm.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
options.c srogue: fix backspace key during prompts. 2013-09-03 14:02:15 -07:00
pack.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
passages.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
potions.c srogue: include missing headers. 2012-01-27 17:29:30 +00:00
pstats.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
rdk.h Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
rgdata.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
rings.c srogue: include missing headers. 2012-01-27 17:29:30 +00:00
rip.c Don't truncate player name in savefile name or log message. 2014-03-23 21:27:14 -07:00
rogue.ext srogue: add support for SAVEDIR 2010-11-25 17:28:29 +00:00
rogue.h srogue: begin porting to autoconf. 2013-09-01 20:50:52 -07:00
rogue.nr Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
rooms.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
save.c srogue: enable the keypad when restoring. 2013-09-03 15:39:04 -07:00
scrolls.c srogue: include missing headers. 2012-01-27 17:29:30 +00:00
state.c Properly handle invalid room references in savefiles. 2013-08-08 12:41:35 -07:00
sticks.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
things.c srogue: include missing headers. 2012-01-27 17:29:30 +00:00
trader.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
vers.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
weapons.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
wizard.c srogue: include missing headers. 2012-01-27 17:29:30 +00:00
xcrypt.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00