ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/skills.h
(Generate patch)

Comparing deliantra/server/include/skills.h (file contents):
Revision 1.29 by root, Sun Apr 4 04:10:47 2010 UTC vs.
Revision 1.30 by root, Sun Apr 4 20:00:05 2010 UTC

30 * skills could be done via strncmp 30 * skills could be done via strncmp
31 * This list doesn't really try to identify what the skills do. 31 * This list doesn't really try to identify what the skills do.
32 * The order of this list has no special meaning. 0 is not used 32 * The order of this list has no special meaning. 0 is not used
33 * to denote improperly set objects. 33 * to denote improperly set objects.
34 */ 34 */
35enum { 35enum
36{
36 SK_NONE = 0, 37 SK_NONE = 0,
37# define def(uc, flags) SK_ ## uc, 38# define def(uc, flags) SK_ ## uc,
38# include "skillinc.h" 39# include "skillinc.h"
39# undef def 40# undef def
40 NUM_SKILLS, 41 NUM_SKILLS,
41}; 42};
42 43
43enum { 44enum
45{
44 SF_COMBAT = 0x01, // skill can be used in direct attack combat (hth or weapon-based, not ranged) 46 SF_COMBAT = 0x01, // skill can be used in direct attack combat (hth or weapon-based, not ranged)
45 SF_RANGED = 0x02, // skill can be used for ranged attacks (not combat) 47 SF_RANGED = 0x02, // skill can be used for ranged attacks (not combat)
46 48
47 SF_USE = 0x04, // skill can be used directly, directionless 49 SF_USE = 0x04, // skill can be used directly, directionless
48 SF_NEED_ITEM = 0x08, // skill *requires* some object in the weapon slot 50 SF_NEED_ITEM = 0x08, // skill *requires* some object in the weapon slot

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines