-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomedit.h
48 lines (45 loc) · 1.93 KB
/
comedit.h
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
39
40
41
42
43
44
45
46
47
48
/**************************************************************************/
// comedit.h - Code dealing with dynamic editing of commands, Ker & Kal
/***************************************************************************
* The Dawn of Time v1.69r (c)1997-2004 Michael Garratt *
* >> A number of people have contributed to the Dawn codebase, with the *
* majority of code written by Michael Garratt - www.dawnoftime.org *
* >> To use this source code, you must fully comply with the dawn license *
* in licenses.txt... In particular, you may not remove this copyright *
* notice. *
**************************************************************************/
#ifndef COMEDIT_H
#define COMEDIT_H
DECLARE_OLC_FUN( comedit_inviscmds );
DECLARE_OLC_FUN( comedit_level );
DECLARE_OLC_FUN( comedit_logtype );
DECLARE_OLC_FUN( comedit_show );
DECLARE_OLC_FUN( comedit_position );
DECLARE_OLC_FUN( comedit_visible );
DECLARE_OLC_FUN( comedit_flags );
DECLARE_OLC_FUN( comedit_council );
DECLARE_OLC_FUN( comedit_category );
DECLARE_OLC_FUN( comedit_grantgroups );
const struct olc_cmd_type comedit_table[] =
{
// { COMMAND FUNCTION }
{ "commands", show_commands },
{ "category", comedit_category },
{ "council", comedit_council },
{ "flags", comedit_flags },
{ "grantgroups",comedit_grantgroups },
{ "inviscmds",comedit_inviscmds },
{ "level", comedit_level },
{ "log", comedit_logtype },
{ "position", comedit_position },
{ "show", comedit_show },
{ "showflags",olcex_showflags },
{ "sa", olcex_showafter },
{ "sfa", olcex_showflagsafter },
{ "sca", olcex_showcommandafter },
{ "visible", comedit_visible },
{ "?", show_help },
{ NULL, 0, }
};
/**************************************************************************/
#endif // CEDIT_H