… | |
… | |
65 | } attackmess_t; |
65 | } attackmess_t; |
66 | |
66 | |
67 | EXTERN attackmess_t attack_mess[NROFATTACKMESS][MAXATTACKMESS]; |
67 | EXTERN attackmess_t attack_mess[NROFATTACKMESS][MAXATTACKMESS]; |
68 | |
68 | |
69 | enum { |
69 | enum { |
70 | # define def(uc, name, lc, plus, change) ATNR_ ## uc, |
70 | # define def(uc, lc, name, plus, change) ATNR_ ## uc, |
71 | # include "attackinc.h" |
71 | # include "attackinc.h" |
72 | # undef def |
72 | # undef def |
73 | NROFATTACKS |
73 | NROFATTACKS |
74 | }; |
74 | }; |
75 | |
75 | |
76 | enum { |
76 | enum { |
77 | # define def(uc, name, lc, plus, change) AT_ ## uc = 1UL << ATNR_ ## uc, |
77 | # define def(uc, lc, name, plus, change) AT_ ## uc = 1UL << ATNR_ ## uc, |
78 | # include "attackinc.h" |
78 | # include "attackinc.h" |
79 | # undef def |
79 | # undef def |
80 | }; |
80 | }; |
81 | |
81 | |
82 | /* Short description of names of the attacktypes */ |
82 | /* Short description of names of the attacktypes */ |