diff srogue/rogue.h @ 291:5b6855d5d089

Fix a portability issue with md_hasclreol(). Some games' implementation of md_hasclreol() poked around in ncurses internals, which does not work for some ncurses build configuration. Most games did not actually call md_hasclreol(), so it was removed. There is a standard terminfo function which can retrieve the value of the clr_eol capability, so this was used for rogue5.
author John "Elwin" Edwards
date Wed, 27 Dec 2017 10:26:06 -0500
parents 3d4252fa2ed3
children
line wrap: on
line diff
--- a/srogue/rogue.h	Sun Nov 26 11:34:45 2017 -0500
+++ b/srogue/rogue.h	Wed Dec 27 10:26:06 2017 -0500
@@ -67,7 +67,6 @@
 int	md_shellescape(void);
 void	md_sleep(int s);
 int	md_suspchar(void);
-int	md_hasclreol(void);
 int	md_unlink(char *file);
 int	md_unlink_open_file(const char *file, FILE *inf);
 void md_tstpsignal(void);