… | |
… | |
26 | #include <global.h> |
26 | #include <global.h> |
27 | #include <object.h> |
27 | #include <object.h> |
28 | |
28 | |
29 | extern const char *const attacktype_desc[NROFATTACKS] = { |
29 | extern const char *const attacktype_desc[NROFATTACKS] = { |
30 | # define def(uc, lc, name, plus, change) # name, |
30 | # define def(uc, lc, name, plus, change) # name, |
31 | # include "attackinc.h" |
|
|
32 | # undef def |
|
|
33 | }; |
|
|
34 | |
|
|
35 | extern const keyword resist_save[NROFATTACKS] = { |
|
|
36 | # define def(uc, lc, name, plus, change) KW_resist_ ## lc, |
|
|
37 | # include "attackinc.h" |
31 | # include "attackinc.h" |
38 | # undef def |
32 | # undef def |
39 | }; |
33 | }; |
40 | |
34 | |
41 | extern const char *const resist_plus[NROFATTACKS] = { |
35 | extern const char *const resist_plus[NROFATTACKS] = { |