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
9ed6e5e369 rogue3, rogue4: fix log message formatting for wins. 2012-08-07 21:17:29 +00:00
John "Elwin" Edwards
1d8ea533bd Make sure the score list appears in all situations. 2010-12-07 16:46:07 +00:00
John "Elwin" Edwards
ab5d57406c Record experience level in the logfile too 2009-11-16 23:54:24 +00:00
John "Elwin" Edwards
777682dba6 rogue3: improve log messages when Amulet is found 2009-11-12 12:53:29 +00:00
John "Elwin" Edwards
bbec0d0514 rogue3: make LOGFILE work with SAVEDIR 2009-11-11 02:41:47 +00:00
John "Elwin" Edwards
acb1a4fce9 More conflict. Change log to writelog. 2009-11-10 23:46:48 +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
9f9abbf368 Make sure all output appears when exiting 2009-10-23 01:38:53 +00:00
John "Elwin" Edwards
67250dfc74 Don't autosave on segfault or after death 2009-10-16 14:40:16 +00:00
John "Elwin" Edwards
4662bbf65b Import Rogue 3.6 from the Roguelike Restoration Project (r1490) 2009-10-13 13:33:34 +00:00