get rid of NetHack macro conflict with curses routine delay_output()
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user