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

Comparing deliantra/server/include/attack.h (file contents):
Revision 1.20 by root, Fri Mar 26 01:04:44 2010 UTC vs.
Revision 1.22 by root, Mon Oct 11 18:40:43 2010 UTC

64 char *buf3; 64 char *buf3;
65} attackmess_t; 65} attackmess_t;
66 66
67EXTERN attackmess_t attack_mess[NROFATTACKMESS][MAXATTACKMESS]; 67EXTERN attackmess_t attack_mess[NROFATTACKMESS][MAXATTACKMESS];
68 68
69enum { 69enum
70{
70# define def(uc, lc, name, plus, change) ATNR_ ## uc, 71# define def(uc, lc, name, plus, change) ATNR_ ## uc,
71# include "attackinc.h" 72# include "attackinc.h"
72# undef def 73# undef def
73 NROFATTACKS 74 NROFATTACKS
74}; 75};
75 76
76enum { 77enum
78{
77# define def(uc, lc, name, plus, change) AT_ ## uc = 1UL << ATNR_ ## uc, 79# define def(uc, lc, name, plus, change) AT_ ## uc = 1UL << ATNR_ ## uc,
78# include "attackinc.h" 80# include "attackinc.h"
79# undef def 81# undef def
80}; 82};
81 83
84/* lowercase attacktype identifiers */
85extern const char* const attacktype_name[NROFATTACKS];
86
82/* Short description of names of the attacktypes */ 87/* short description of names of the attacktypes */
83extern const char* const attacktype_desc[NROFATTACKS]; 88extern const char* const attacktype_desc[NROFATTACKS];
84 89
85/* Note that internal should not ever be referenced in the last two 90/* Note that internal should not ever be referenced in the last two
86 * tables. however, other resisttypes may be added, and if through some 91 * tables. however, other resisttypes may be added, and if through some
87 * bug these do get used somehow, might as well make it more easier to notice 92 * bug these do get used somehow, might as well make it more easier to notice

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines