Source:NetHack 1.3d/func tab.h

From NetHackWiki
Jump to: navigation, search

Below is the full text to func_tab.h from the source code of NetHack 1.3d. To link to a particular line, write [[NetHack 1.3d/func_tab.h#line123]], for example.

Warning! This is the source code from an old release. For the latest release, see Source code

Screenshots and source code from Hack are used under the CWI license.

1.    /*	SCCS Id: @(#)func_tab.h	1.3	87/07/14
2.    /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
3.    /* func_tab.h - version 1.0.2 */
4.    
5.    struct func_tab {
6.    	char f_char;
7.    	int (*f_funct)();
8.    	char *f_text;
9.    };
10.   
11.   extern struct func_tab cmdlist[];
12.   
13.   struct ext_func_tab {
14.   	char *ef_txt, *ef_desc;
15.   	int (*ef_funct)();
16.   };
17.   
18.   extern struct ext_func_tab extcmdlist[];