extern long curs_mesg_suppress_turn; /* from cursmesg.c */
+/* stubs for curses_procs{} */
+#ifdef POSITIONBAR
+static void dummy_update_position_bar(char *);
+#endif
+#ifdef CHANGE_COLOR
+static void dummy_change_color(int, long, int);
+static char *dummy_get_color_string(VOID_ARGS);
+#endif
+
/* Public functions for curses NetHack interface */
/* Interface definition, for windows.c */
curses_cliparound,
#endif
#ifdef POSITIONBAR
- donull,
+ dummy_update_position_bar,
#endif
curses_print_glyph,
curses_raw_print,
curses_get_ext_cmd,
curses_number_pad,
curses_delay_output,
-#ifdef CHANGE_COLOR /* only a Mac option currently */
- donull,
- donull,
+#ifdef CHANGE_COLOR
+ dummy_change_color,
+#ifdef MAC /* old OS 9, not OSX */
+ (void (*)(int)) 0,
+ (short (*)(winid, char *)) 0,
+#endif
+ dummy_get_color_string,
#endif
curses_start_screen,
curses_end_screen,
}
}
+/* stubs for curses_procs{} */
+
+#ifdef POSITIONBAR
+static void
+dummy_update_position_bar(char *arg UNUSED)
+{
+ return;
+}
+#endif
+
+#ifdef CHANGE_COLOR
+static void
+dummy_change_color(int a1 UNUSED, long a2 UNUSED, int a3 UNUSED)
+{
+ return;
+}
+
+static char *
+dummy_get_color_string(VOID_ARGS)
+{
+ return (char *) 0;
+}
+#endif
+
/*cursmain.c*/