… | |
… | |
79 | # 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, |
80 | # include "attackinc.h" |
80 | # include "attackinc.h" |
81 | # undef def |
81 | # undef def |
82 | }; |
82 | }; |
83 | |
83 | |
|
|
84 | /* lowercase attacktype identifiers */ |
|
|
85 | extern const char* const attacktype_name[NROFATTACKS]; |
|
|
86 | |
84 | /* Short description of names of the attacktypes */ |
87 | /* short description of names of the attacktypes */ |
85 | extern const char* const attacktype_desc[NROFATTACKS]; |
88 | extern const char* const attacktype_desc[NROFATTACKS]; |
86 | |
89 | |
87 | /* 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 |
88 | * tables. however, other resisttypes may be added, and if through some |
91 | * tables. however, other resisttypes may be added, and if through some |
89 | * 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 |