Wikihack
Advertisement

Below is the full text to macpopup.h from the source code of SLASH'EM 0.0.7E7F2. To link to a particular line, write [[SLASH'EM 0.0.7E7F2/macpopup.h#line123]], for example.

The latest source code for vanilla NetHack is at Source code.


The NetHack General Public License applies to screenshots, source code and other content from NetHack.
1.    /*	SCCS Id: @(#)macpopup.h	3.4	1999/10/25	*/
2.    /* Copyright (c) Nethack Develpment Team, 1999.		*/
3.    /* NetHack may be freely redistributed.  See license for details. */
4.    
5.    #ifndef MACPOPUP_H
6.    # define MACPOPUP_H
7.    
8.    /* ### mmodal.c ### */
9.    
10.   extern void FlashButton(DialogRef, short);
11.   extern char queued_resp(char *resp);
12.   extern char topl_yn_function(const char *query, const char *resp, char def);
13.   extern int get_line_from_key_queue(char *bufp);
14.   
15.   #define ENABLE_MAC_POPUP 0
16.   #if ENABLE_MAC_POPUP
17.   
18.   extern char popup_yn_function(const char *query, const char *resp, char def);
19.   extern void popup_getlin (const char *query, char *bufp);
20.   
21.   #endif /* ENABLE_MAC_POPUP */
22.   #endif /* MACPOPUP_H */
Advertisement