Files
nethack/include
nethack.rankin 0db19f1c96 restore_menu (trunk only)
Move the code to use a nethack menu for restoring a saved game.  It
was inline in tty_askname() but is now a separate routine, restore_menu()
in restore.c.  There was no port-specific code and only a small amount of
tty-specific code; it should be useable by anyone (but Qt doesn't have to
switch over if it doesn't want to).

     The original behaved strangely if there were exactly 26 saved chars;
the "start new game" menu entry ended up using "{" as selection character.
There wasn't any comparable problem at 52; it was limiting the menu to 51
games.  Now it will allow 52 (with "start a new game" bumped into "#" if
there are that many), and adds an explicit quit entry (unless there are
52 or more games so that # is already used by new-game, then quit remains
implicit rather than resort to some other none-of-the-above character).
2006-12-12 04:52:39 +00:00
..
2002-01-18 02:50:06 +00:00
2002-01-05 21:05:47 +00:00
2006-10-17 23:55:42 +00:00
2006-10-08 21:37:58 +00:00
2006-10-17 23:55:42 +00:00
2006-10-01 21:17:38 +00:00
2006-12-12 04:52:39 +00:00
2002-01-05 21:05:47 +00:00
2006-10-26 23:30:00 +00:00
2006-10-01 21:17:38 +00:00
2002-01-05 21:05:47 +00:00
2006-04-14 16:23:56 +00:00
2005-03-13 05:29:01 +00:00
2005-10-06 03:45:20 +00:00
2006-05-13 04:57:52 +00:00
2006-09-21 01:46:15 +00:00
2006-10-08 21:37:58 +00:00
2006-07-10 02:10:22 +00:00
2006-01-06 05:46:03 +00:00
2002-01-05 21:05:48 +00:00
2006-10-17 23:55:42 +00:00
2006-02-12 06:24:25 +00:00
2006-10-02 13:15:50 +00:00
2005-01-02 20:55:41 +00:00
2006-10-26 23:30:00 +00:00
2006-10-08 21:37:58 +00:00
2006-10-02 13:15:50 +00:00
2005-01-23 19:39:01 +00:00
2006-10-17 23:55:42 +00:00
2006-03-02 05:54:04 +00:00