get rid of NetHack macro conflict with curses routine delay_output()

This commit is contained in:
nhmall
2023-04-21 08:25:53 -04:00
parent 71decafefd
commit 826ce951e7
20 changed files with 46 additions and 51 deletions

View File

@@ -1725,10 +1725,10 @@ X11_sig_cb(XtPointer not_used, XtSignalId *id)
}
#endif
/* delay_output ----------------------------------------------------------- */
/* X11_delay_output ------------------------------------------------------- */
/*
* Timeout callback for delay_output(). Send a fake message to the map
* Timeout callback for X11_delay_output(). Send a fake message to the map
* window.
*/
/* ARGSUSED */

View File

@@ -8,7 +8,7 @@ NETHACK INTERFACE
* Implement curses_rip for optional fancier color tombstone, as well
as one that will display correctly on smaller terminals.
* I am confused as to how mark_synch, wait_synch, and delay_output
* I am confused as to how mark_synch, wait_synch, and nh_delay_output
should work. Help, please?
* Both PDCurses and Ncurses have mouse support, so the poskey function
@@ -34,7 +34,7 @@ DISPLAY
PDCurses, however.
* Animation effects do not display properly - this could probably be
fixed with a correct implementation of the delay_output function.
fixed with a correct implementation of the curses_delay_output function.
* Support option to set forground and background colors for individual
windows

View File

@@ -837,7 +837,6 @@ cl_eos(void) /* free after Robert Viduya */
macros used elsewhere within nethack; fortunately they're
not needed beyond this point, so we don't need to worry
about reconstructing them after the header file inclusion. */
#undef delay_output
#undef TRUE
#undef FALSE
#define m_move curses_m_move /* Some curses.h decl m_move(), not used here */