|
|
|
|
@@ -375,4 +375,77 @@ struct chain_procs {
|
|
|
|
|
};
|
|
|
|
|
#endif /* WINCHAIN */
|
|
|
|
|
|
|
|
|
|
#ifdef SAFEPROCS
|
|
|
|
|
/*
|
|
|
|
|
* window port routines available in sys/share/safeproc.c
|
|
|
|
|
*/
|
|
|
|
|
extern struct window_procs *FDECL(get_safe_procs, (int));
|
|
|
|
|
extern void FDECL(safe_init_nhwindows, (int *, char **));
|
|
|
|
|
extern void NDECL(safe_player_selection);
|
|
|
|
|
extern void NDECL(safe_askname);
|
|
|
|
|
extern void NDECL(safe_get_nh_event);
|
|
|
|
|
extern void FDECL(safe_exit_nhwindows, (const char *));
|
|
|
|
|
extern void FDECL(safe_suspend_nhwindows, (const char *));
|
|
|
|
|
extern void NDECL(safe_resume_nhwindows);
|
|
|
|
|
extern winid FDECL(safe_create_nhwindow, (int));
|
|
|
|
|
extern void FDECL(safe_clear_nhwindow, (winid));
|
|
|
|
|
extern void FDECL(safe_display_nhwindow, (winid, BOOLEAN_P));
|
|
|
|
|
extern void FDECL(safe_destroy_nhwindow, (winid));
|
|
|
|
|
extern void FDECL(safe_curs, (winid, int, int));
|
|
|
|
|
extern void FDECL(safe_putstr, (winid, int, const char *));
|
|
|
|
|
extern void FDECL(safe_putmixed, (winid, int, const char *));
|
|
|
|
|
extern void FDECL(safe_display_file, (const char *, BOOLEAN_P));
|
|
|
|
|
extern void FDECL(safe_start_menu, (winid));
|
|
|
|
|
extern void FDECL(safe_add_menu, (winid, int, const ANY_P *, CHAR_P, CHAR_P,
|
|
|
|
|
int, const char *, BOOLEAN_P));
|
|
|
|
|
extern void FDECL(safe_end_menu, (winid, const char *));
|
|
|
|
|
extern int FDECL(safe_select_menu, (winid, int, MENU_ITEM_P **));
|
|
|
|
|
extern char FDECL(safe_message_menu, (CHAR_P, int, const char *));
|
|
|
|
|
extern void NDECL(safe_update_inventory);
|
|
|
|
|
extern void NDECL(safe_mark_synch);
|
|
|
|
|
extern void NDECL(safe_wait_synch);
|
|
|
|
|
#ifdef CLIPPING
|
|
|
|
|
extern void FDECL(safe_cliparound, (int, int));
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef POSITIONBAR
|
|
|
|
|
extern void FDECL(safe_update_positionbar, (char *));
|
|
|
|
|
#endif
|
|
|
|
|
extern void FDECL(safe_print_glyph, (winid, XCHAR_P, XCHAR_P, int, int));
|
|
|
|
|
extern void FDECL(safe_raw_print, (const char *));
|
|
|
|
|
extern void FDECL(safe_raw_print_bold, (const char *));
|
|
|
|
|
extern int NDECL(safe_nhgetch);
|
|
|
|
|
extern int FDECL(safe_nh_poskey, (int *, int *, int *));
|
|
|
|
|
extern void NDECL(safe_nhbell);
|
|
|
|
|
extern int NDECL(safe_doprev_message);
|
|
|
|
|
extern char FDECL(safe_yn_function, (const char *, const char *, CHAR_P));
|
|
|
|
|
extern void FDECL(safe_getlin, (const char *, char *));
|
|
|
|
|
extern int NDECL(safe_get_ext_cmd);
|
|
|
|
|
extern void FDECL(safe_number_pad, (int));
|
|
|
|
|
extern void NDECL(safe_delay_output);
|
|
|
|
|
#ifdef CHANGE_COLOR
|
|
|
|
|
extern void FDECL(safe_change_color, (int, long, int));
|
|
|
|
|
#ifdef MAC
|
|
|
|
|
extern void FDECL(safe_change_background, (int));
|
|
|
|
|
extern short FDECL(safe_set_font_name, (winid, char *));
|
|
|
|
|
#endif
|
|
|
|
|
extern char *NDECL(safe_get_color_string);
|
|
|
|
|
#endif
|
|
|
|
|
extern void NDECL(safe_start_screen);
|
|
|
|
|
extern void NDECL(safe_end_screen);
|
|
|
|
|
extern void FDECL(safe_outrip, (winid, int, time_t));
|
|
|
|
|
extern void FDECL(safe_preference_update, (const char *));
|
|
|
|
|
extern char *FDECL(safe_getmsghistory, (BOOLEAN_P));
|
|
|
|
|
extern void FDECL(safe_putmsghistory, (const char *, BOOLEAN_P));
|
|
|
|
|
extern void NDECL(safe_status_init);
|
|
|
|
|
extern void NDECL(safe_status_finish);
|
|
|
|
|
extern void FDECL(safe_status_enablefield,
|
|
|
|
|
(int, const char *, const char *, BOOLEAN_P));
|
|
|
|
|
extern void FDECL(safe_status_update, (int, genericptr_t, int, int, int, unsigned long *));
|
|
|
|
|
extern boolean NDECL(safe_can_suspend);
|
|
|
|
|
extern void FDECL(stdio_raw_print, (const char *));
|
|
|
|
|
extern void FDECL(stdio_raw_print_bold, (const char *));
|
|
|
|
|
extern void NDECL(stdio_wait_synch);
|
|
|
|
|
extern int NDECL(stdio_nhgetch);
|
|
|
|
|
#endif /* SAFEPROCS */
|
|
|
|
|
#endif /* WINPROCS_H */
|
|
|
|
|
|
|
|
|
|
|