File: func_tab.h

package info (click to toggle)
slashem 0.0.7E7F3-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 24,928 kB
  • sloc: ansic: 263,208; cpp: 7,180; yacc: 2,154; sh: 739; lex: 440; awk: 97; makefile: 56; sed: 11
file content (38 lines) | stat: -rw-r--r-- 799 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*	SCCS Id: @(#)func_tab.h 3.4	1992/04/03	*/
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed.  See license for details. */

#ifndef FUNC_TAB_H
#define FUNC_TAB_H

struct func_tab {
	char f_char;
	boolean	can_if_buried;
	int NDECL((*f_funct));
	const char *f_text;
};

struct ext_func_tab {
	const char *ef_txt, *ef_desc;
	int NDECL((*ef_funct));
	boolean	can_if_buried;
};

extern struct ext_func_tab extcmdlist[];

/*WAC for the menus */
struct menu_tab {
        char m_char;
	boolean	can_if_buried;
        int NDECL((*m_funct));
        const char *m_item;
        const char *m_text;
};

struct menu_list {
        const char *m_header;
        const char *m_parent;
        const struct menu_tab *m_menu;
};

#endif /* FUNC_TAB_H */