Data Structures | Defines | Variables

winprocs.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  window_procs
struct  wc_Opt

Defines

#define init_nhwindows   (*windowprocs.win_init_nhwindows)
#define player_selection   (*windowprocs.win_player_selection)
#define askname   (*windowprocs.win_askname)
#define get_nh_event   (*windowprocs.win_get_nh_event)
#define exit_nhwindows   (*windowprocs.win_exit_nhwindows)
#define suspend_nhwindows   (*windowprocs.win_suspend_nhwindows)
#define resume_nhwindows   (*windowprocs.win_resume_nhwindows)
#define create_nhwindow   (*windowprocs.win_create_nhwindow)
#define clear_nhwindow   (*windowprocs.win_clear_nhwindow)
#define display_nhwindow   (*windowprocs.win_display_nhwindow)
#define destroy_nhwindow   (*windowprocs.win_destroy_nhwindow)
#define curs   (*windowprocs.win_curs)
#define putstr   (*windowprocs.win_putstr)
#define display_file   (*windowprocs.win_display_file)
#define start_menu   (*windowprocs.win_start_menu)
#define add_menu   (*windowprocs.win_add_menu)
#define end_menu   (*windowprocs.win_end_menu)
#define select_menu   (*windowprocs.win_select_menu)
#define message_menu   (*windowprocs.win_message_menu)
#define update_inventory   (*windowprocs.win_update_inventory)
#define mark_synch   (*windowprocs.win_mark_synch)
#define wait_synch   (*windowprocs.win_wait_synch)
#define print_glyph   (*windowprocs.win_print_glyph)
#define raw_print   (*windowprocs.win_raw_print)
#define raw_print_bold   (*windowprocs.win_raw_print_bold)
#define nhgetch   (*windowprocs.win_nhgetch)
#define nh_poskey   (*windowprocs.win_nh_poskey)
#define nhbell   (*windowprocs.win_nhbell)
#define nh_doprev_message   (*windowprocs.win_doprev_message)
#define getlin   (*windowprocs.win_getlin)
#define get_ext_cmd   (*windowprocs.win_get_ext_cmd)
#define number_pad   (*windowprocs.win_number_pad)
#define delay_output   (*windowprocs.win_delay_output)
#define start_screen   (*windowprocs.win_start_screen)
#define end_screen   (*windowprocs.win_end_screen)
#define outrip   (*windowprocs.win_outrip)
#define preference_update   (*windowprocs.win_preference_update)
#define WC_COLOR   0x01L
#define WC_HILITE_PET   0x02L
#define WC_ASCII_MAP   0x04L
#define WC_TILED_MAP   0x08L
#define WC_PRELOAD_TILES   0x10L
#define WC_TILE_WIDTH   0x20L
#define WC_TILE_HEIGHT   0x40L
#define WC_TILE_FILE   0x80L
#define WC_INVERSE   0x100L
#define WC_ALIGN_MESSAGE   0x200L
#define WC_ALIGN_STATUS   0x400L
#define WC_VARY_MSGCOUNT   0x800L
#define WC_FONT_MAP   0x1000L
#define WC_FONT_MESSAGE   0x2000L
#define WC_FONT_STATUS   0x4000L
#define WC_FONT_MENU   0x8000L
#define WC_FONT_TEXT   0x10000L
#define WC_FONTSIZ_MAP   0x20000L
#define WC_FONTSIZ_MESSAGE   0x40000L
#define WC_FONTSIZ_STATUS   0x80000L
#define WC_FONTSIZ_MENU   0x100000L
#define WC_FONTSIZ_TEXT   0x200000L
#define WC_SCROLL_MARGIN   0x400000L
#define WC_SPLASH_SCREEN   0x800000L
#define WC_POPUP_DIALOG   0x1000000L
#define WC_SCROLL_AMOUNT   0x2000000L
#define WC_EIGHT_BIT_IN   0x4000000L
#define WC_PERM_INVENT   0x8000000L
#define WC_MAP_MODE   0x10000000L
#define WC_WINDOWCOLORS   0x20000000L
#define WC_PLAYER_SELECTION   0x40000000L
#define WC_MOUSE_SUPPORT   0x80000000L
#define WC2_FULLSCREEN   0x01L
#define WC2_SOFTKEYBOARD   0x02L
#define WC2_WRAPTEXT   0x04L
#define WC2_TERM_COLS   0x08L
#define WC2_TERM_ROWS   0x10L
#define WC2_WINDOWBORDERS   0x20L
#define WC2_PETATTR   0x40L
#define WC2_GUICOLOR   0x80L
#define WC2_NEWCOLORS   0x100L
#define ALIGN_LEFT   1
#define ALIGN_RIGHT   2
#define ALIGN_TOP   3
#define ALIGN_BOTTOM   4
#define VIA_DIALOG   0
#define VIA_PROMPTS   1
#define MAP_MODE_TILES   0
#define MAP_MODE_ASCII4x6   1
#define MAP_MODE_ASCII6x8   2
#define MAP_MODE_ASCII8x8   3
#define MAP_MODE_ASCII16x8   4
#define MAP_MODE_ASCII7x12   5
#define MAP_MODE_ASCII8x12   6
#define MAP_MODE_ASCII16x12   7
#define MAP_MODE_ASCII12x16   8
#define MAP_MODE_ASCII10x18   9
#define MAP_MODE_ASCII_FIT_TO_SCREEN   10
#define MAP_MODE_TILES_FIT_TO_SCREEN   11

Variables

NEARDATA struct window_procs windowprocs

Define Documentation

#define add_menu   (*windowprocs.win_add_menu)
#define ALIGN_BOTTOM   4
#define ALIGN_LEFT   1
#define ALIGN_RIGHT   2
#define ALIGN_TOP   3
#define askname   (*windowprocs.win_askname)

Referenced by plnamesuffix().

#define clear_nhwindow   (*windowprocs.win_clear_nhwindow)
#define create_nhwindow   (*windowprocs.win_create_nhwindow)
#define curs   (*windowprocs.win_curs)
#define delay_output   (*windowprocs.win_delay_output)
#define destroy_nhwindow   (*windowprocs.win_destroy_nhwindow)
#define display_file   (*windowprocs.win_display_file)
#define display_nhwindow   (*windowprocs.win_display_nhwindow)
#define end_menu   (*windowprocs.win_end_menu)
#define end_screen   (*windowprocs.win_end_screen)
#define exit_nhwindows   (*windowprocs.win_exit_nhwindows)

Referenced by done2(), dosave(), and VA_DECL().

#define get_ext_cmd   (*windowprocs.win_get_ext_cmd)

Referenced by doextcmd().

#define get_nh_event   (*windowprocs.win_get_nh_event)

Referenced by moveloop().

#define getlin   (*windowprocs.win_getlin)
#define init_nhwindows   (*windowprocs.win_init_nhwindows)

Referenced by prscore().

#define MAP_MODE_ASCII10x18   9

Referenced by get_compopt_value(), and parseoptions().

#define MAP_MODE_ASCII12x16   8

Referenced by get_compopt_value(), and parseoptions().

#define MAP_MODE_ASCII16x12   7

Referenced by get_compopt_value(), and parseoptions().

#define MAP_MODE_ASCII16x8   4

Referenced by get_compopt_value(), and parseoptions().

#define MAP_MODE_ASCII4x6   1

Referenced by get_compopt_value(), and parseoptions().

#define MAP_MODE_ASCII6x8   2

Referenced by get_compopt_value(), and parseoptions().

#define MAP_MODE_ASCII7x12   5

Referenced by get_compopt_value(), and parseoptions().

#define MAP_MODE_ASCII8x12   6

Referenced by get_compopt_value(), and parseoptions().

#define MAP_MODE_ASCII8x8   3

Referenced by get_compopt_value(), and parseoptions().

#define MAP_MODE_ASCII_FIT_TO_SCREEN   10

Referenced by get_compopt_value(), and parseoptions().

#define MAP_MODE_TILES   0

Referenced by get_compopt_value(), and parseoptions().

#define MAP_MODE_TILES_FIT_TO_SCREEN   11
#define mark_synch   (*windowprocs.win_mark_synch)
#define message_menu   (*windowprocs.win_message_menu)

Referenced by display_pickinv().

#define nh_doprev_message   (*windowprocs.win_doprev_message)

Referenced by doprev_message().

#define nh_poskey   (*windowprocs.win_nh_poskey)

Referenced by getpos(), and readchar().

#define nhbell   (*windowprocs.win_nhbell)

Referenced by rhack(), and wand_explode().

#define nhgetch   (*windowprocs.win_nhgetch)
#define number_pad   (*windowprocs.win_number_pad)

Referenced by parseoptions().

#define outrip   (*windowprocs.win_outrip)

Referenced by done().

#define player_selection   (*windowprocs.win_player_selection)
#define preference_update   (*windowprocs.win_preference_update)

Referenced by doset().

#define print_glyph   (*windowprocs.win_print_glyph)

Referenced by flush_screen(), and row_refresh().

#define putstr   (*windowprocs.win_putstr)
#define raw_print   (*windowprocs.win_raw_print)
#define raw_print_bold   (*windowprocs.win_raw_print_bold)

Referenced by topten_print_bold().

#define resume_nhwindows   (*windowprocs.win_resume_nhwindows)
#define select_menu   (*windowprocs.win_select_menu)
#define start_menu   (*windowprocs.win_start_menu)
#define start_screen   (*windowprocs.win_start_screen)
#define suspend_nhwindows   (*windowprocs.win_suspend_nhwindows)
#define update_inventory   (*windowprocs.win_update_inventory)
#define VIA_DIALOG   0

Referenced by parseoptions().

#define VIA_PROMPTS   1

Referenced by parseoptions().

#define wait_synch   (*windowprocs.win_wait_synch)
#define WC2_FULLSCREEN   0x01L
#define WC2_GUICOLOR   0x80L
#define WC2_NEWCOLORS   0x100L
#define WC2_PETATTR   0x40L
#define WC2_SOFTKEYBOARD   0x02L
#define WC2_TERM_COLS   0x08L
#define WC2_TERM_ROWS   0x10L
#define WC2_WINDOWBORDERS   0x20L
#define WC2_WRAPTEXT   0x04L
#define WC_ALIGN_MESSAGE   0x200L
#define WC_ALIGN_STATUS   0x400L
#define WC_ASCII_MAP   0x04L
#define WC_COLOR   0x01L
#define WC_EIGHT_BIT_IN   0x4000000L
#define WC_FONT_MAP   0x1000L
#define WC_FONT_MENU   0x8000L
#define WC_FONT_MESSAGE   0x2000L
#define WC_FONT_STATUS   0x4000L
#define WC_FONT_TEXT   0x10000L
#define WC_FONTSIZ_MAP   0x20000L
#define WC_FONTSIZ_MENU   0x100000L
#define WC_FONTSIZ_MESSAGE   0x40000L
#define WC_FONTSIZ_STATUS   0x80000L
#define WC_FONTSIZ_TEXT   0x200000L
#define WC_HILITE_PET   0x02L
#define WC_INVERSE   0x100L
#define WC_MAP_MODE   0x10000000L
#define WC_MOUSE_SUPPORT   0x80000000L
#define WC_PERM_INVENT   0x8000000L
#define WC_PLAYER_SELECTION   0x40000000L
#define WC_POPUP_DIALOG   0x1000000L
#define WC_PRELOAD_TILES   0x10L
#define WC_SCROLL_AMOUNT   0x2000000L
#define WC_SCROLL_MARGIN   0x400000L
#define WC_SPLASH_SCREEN   0x800000L
#define WC_TILE_FILE   0x80L
#define WC_TILE_HEIGHT   0x40L
#define WC_TILE_WIDTH   0x20L
#define WC_TILED_MAP   0x08L
#define WC_VARY_MSGCOUNT   0x800L
#define WC_WINDOWCOLORS   0x20000000L

Variable Documentation

NEARDATA struct window_procs windowprocs