Source:NetHack 3.4.3/include/func tab.h

From NetHackWiki
Jump to: navigation, search

Below is the full text to include/func_tab.h from NetHack 3.4.3. To link to a particular line, write [[func_tab.h#line123]], for example.

  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. */

The NetHack General Public License applies to screenshots, source code and other content from NetHack.

This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.

  1. #ifndef FUNC_TAB_H
  2. #define FUNC_TAB_H
  3.  
  4. struct func_tab {
  5. 	char f_char;
  6. 	boolean can_if_buried;
  7. 	int NDECL((*f_funct));
  8. 	const char *f_text;
  9. };
  10.  
  11. struct ext_func_tab {
  12. 	const char *ef_txt, *ef_desc;
  13. 	int NDECL((*ef_funct));
  14. 	boolean can_if_buried;
  15. };
  16.  
  17. extern struct ext_func_tab extcmdlist[];
  18.  
  19. #endif /* FUNC_TAB_H */