1 /* aNetHack 0.0.1 mhmsg.h $ANH-Date: 1432512800 2015/05/25 00:13:20 $ $ANH-Branch: master $:$ANH-Revision: 1.12 $ */
2 /* Copyright (C) 2001 by Alex Kompel */
3 /* aNetHack may be freely redistributed. See license for details. */
5 #ifndef MHNethackMessages_H
6 #define MHNethackMessages_H
8 /* anethack messages */
9 #define WM_MSNH_COMMAND (WM_APP + 1)
11 #define MSNH_MSG_ADDWND 100
12 #define MSNH_MSG_PUTSTR 101
13 #define MSNH_MSG_PRINT_GLYPH 102
14 #define MSNH_MSG_CLEAR_WINDOW 103
15 #define MSNH_MSG_CLIPAROUND 104
16 #define MSNH_MSG_STARTMENU 105
17 #define MSNH_MSG_ADDMENU 106
18 #define MSNH_MSG_CURSOR 107
19 #define MSNH_MSG_ENDMENU 108
21 typedef struct mswin_nhmsg_add_wnd
{
23 } MSNHMsgAddWnd
, *PMSNHMsgAddWnd
;
25 typedef struct mswin_nhmsg_putstr
{
29 } MSNHMsgPutstr
, *PMSNHMsgPutstr
;
31 typedef struct mswin_nhmsg_print_glyph
{
35 } MSNHMsgPrintGlyph
, *PMSNHMsgPrintGlyph
;
37 typedef struct mswin_nhmsg_cliparound
{
40 } MSNHMsgClipAround
, *PMSNHMsgClipAround
;
42 typedef struct mswin_nhmsg_add_menu
{
44 const ANY_P
*identifier
;
50 } MSNHMsgAddMenu
, *PMSNHMsgAddMenu
;
52 typedef struct mswin_nhmsg_cursor
{
55 } MSNHMsgCursor
, *PMSNHMsgCursor
;
57 typedef struct mswin_nhmsg_end_menu
{
59 } MSNHMsgEndMenu
, *PMSNHMsgEndMenu
;