Fandom

Wikihack

Source:SLASH'EM 0.0.7E7F2/func tab.h

2,034pages on
this wiki
Add New Page
Talk0

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Below is the full text to func_tab.h from the source code of SLASH'EM 0.0.7E7F2. To link to a particular line, write [[SLASH'EM 0.0.7E7F2/func_tab.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: @(#)func_tab.h 3.4	1992/04/03	*/
2.    /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
3.    /* NetHack may be freely redistributed.  See license for details. */
4.    
5.    #ifndef FUNC_TAB_H
6.    #define FUNC_TAB_H
7.    
8.    struct func_tab {
9.    	char f_char;
10.   	boolean	can_if_buried;
11.   	int NDECL((*f_funct));
12.   	const char *f_text;
13.   };
14.   
15.   struct ext_func_tab {
16.   	const char *ef_txt, *ef_desc;
17.   	int NDECL((*ef_funct));
18.   	boolean	can_if_buried;
19.   };
20.   
21.   extern struct ext_func_tab extcmdlist[];
22.   
23.   /*WAC for the menus */
24.   struct menu_tab {
25.           char m_char;
26.   	boolean	can_if_buried;
27.           int NDECL((*m_funct));
28.           const char *m_item;
29.           const char *m_text;
30.   };
31.   
32.   struct menu_list {
33.           const char *m_header;
34.           const char *m_parent;
35.           const struct menu_tab *m_menu;
36.   };
37.   
38.   #endif /* FUNC_TAB_H */

Also on Fandom

Random Wiki