saving message history (trunk only)

On September 11, 2003 "<Someone>" wrote:
> When we're going to have a different save file format, could
> the last messages in the message history be saved as well, so
> ^P would work the same before and after saving (possibly
> including a few less messages to make room for the startup
> messages?).

This seemed like a reasonable request. This patch:
- adds the core support required.
- adds the tty supporting routines.
This commit is contained in:
nethack.allison
2003-10-05 13:43:16 +00:00
parent a5c8b517d2
commit f6f6c1f0d5
19 changed files with 228 additions and 5 deletions

View File

@@ -79,7 +79,9 @@ struct window_procs amii_procs =
amii_delay_output,
amii_delay_output,
amii_outrip,
genl_preference_update
genl_preference_update,
genl_getmsghistory,
genl_putmsghistory
};
/* The view window layout uses the same function names so we can use
@@ -138,7 +140,9 @@ struct window_procs amiv_procs =
amii_delay_output,
amii_delay_output,
amii_outrip,
genl_preference_update
genl_preference_update,
genl_getmsghistory,
genl_putmsghistory
};
unsigned short amii_initmap[ AMII_MAXCOLORS ];

View File

@@ -2645,6 +2645,8 @@ struct window_procs mac_procs = {
0, // mac_end_screen,
genl_outrip,
genl_preference_update,
genl_getmsghistory,
genl_putmsghistory,
};
/*macwin.c*/

View File

@@ -95,6 +95,8 @@ struct window_procs mswin_procs = {
mswin_end_screen,
mswin_outrip,
mswin_preference_update,
genl_getmsghistory,
genl_putmsghistory,
};
/*