Source:NetHack 2.2a/func tab.h

From NetHackWiki
Revision as of 02:10, 4 March 2008 by Kernigh bot (talk | contribs) (NetHack 2.2a/func tab.h moved to Source:NetHack 2.2a/func tab.h: Robot: moved page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Below is the full text to func_tab.h from the source code of NetHack 2.2a. To link to a particular line, write [[NetHack 2.2a/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.4	87/08/08
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[];