-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrpedit.h
49 lines (46 loc) · 2.05 KB
/
grpedit.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
49
/**************************************************************************/
// grpedit.h - olc based skill/spell group editing
/***************************************************************************
* 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 GRPEDIT_H
#define GRPEDIT_H
// below olc.cpp include block only
#ifdef OLC_CPP_INCLUDE_BLOCK
//prototypes - Kal
DECLARE_OLC_FUN( skillgroupedit_show );
DECLARE_OLC_FUN( skillgroupedit_addskill );
DECLARE_OLC_FUN( skillgroupedit_removeskill );
DECLARE_OLC_FUN( skillgroupedit_flags );
DECLARE_OLC_FUN( skillgroupedit_remort );
DECLARE_OLC_FUN( skillgroupedit_rename );
DECLARE_OLC_FUN( skillgroupedit_cost );
DECLARE_OLC_FUN( skillgroupedit_skillvalue ); // Kal, April 03
// table
const struct olc_cmd_type skillgroupedit_table[] =
{
// { COMMAND FUNCTION }
{ "addskill", skillgroupedit_addskill },
{ "commands", show_commands },
{ "cost", skillgroupedit_cost },
{ "flags", skillgroupedit_flags },
{ "removeskill", skillgroupedit_removeskill},
{ "remort", skillgroupedit_remort },
{ "rename", skillgroupedit_rename },
{ "skillvalue", skillgroupedit_skillvalue},
{ "show", skillgroupedit_show },
{ "showflags", olcex_showflags },
{ "sa", olcex_showafter, "", 1},
{ "sca", olcex_showcommandafter, "", 1},
{ "sfa", olcex_showflagsafter, "", 1},
{ "?", show_help },
{ NULL, 0, }
};
#endif // OLC_CPP_INCLUDE_BLOCK
/**************************************************************************/
#endif // GRPEDIT_H