Commit graph

12 commits

Author SHA1 Message Date
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
John "Elwin" Edwards
1f1ae55a26 Make sure file_name contains '/' between SAVEDIR and the file name.
Duplicated slashes are not a problem.  Missing slashes are.
2013-08-27 22:25:40 -07:00
John "Elwin" Edwards
8d570c89a5 Fix the playback bug which was caused by CR/LF confusion 2010-02-16 00:03:06 +00:00
John "Elwin" Edwards
b24bc2e606 Slightly modify savefile location and prompt 2010-01-01 15:04:30 +00:00
John "Elwin" Edwards
6188fd3be2 rogue3: allow load and user count checks to be compiled out 2009-12-29 12:45:38 +00:00
John "Elwin" Edwards
bbec0d0514 rogue3: make LOGFILE work with SAVEDIR 2009-11-11 02:41:47 +00:00
John "Elwin" Edwards
70a8187173 Change logf to logfi 2009-11-10 22:48:16 +00:00
John "Elwin" Edwards
bd3b2e4e53 rogue3: add the option of logging all games to a text file 2009-11-10 22:38:46 +00:00
John "Elwin" Edwards
bcc2abe517 Allow wizard mode to be compiled out 2009-10-24 14:50:44 +00:00
John "Elwin" Edwards
9f9abbf368 Make sure all output appears when exiting 2009-10-23 01:38:53 +00:00
John "Elwin" Edwards
265ac56d38 Add -n option and system savedir functionality 2009-10-14 01:32:13 +00:00
John "Elwin" Edwards
4662bbf65b Import Rogue 3.6 from the Roguelike Restoration Project (r1490) 2009-10-13 13:33:34 +00:00