version 1.13 | | version 1.14 |
---|
| | |
/* | | /* |
* static char *rcsid_attack_h = | | * static char *rcsid_attack_h = |
* "$Id: attack.h,v 1.13 2003/09/23 04:23:57 mwedel Exp $"; | | * "$Id: attack.h,v 1.14 2006/02/10 23:59:26 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* as for example: resist_life stealing 50! | | * as for example: resist_life stealing 50! |
*/ | | */ |
#else | | #else |
EXTERN char *resist_save[NROFATTACKS] = { | | EXTERN const char* const resist_save[NROFATTACKS] = { |
"physical ", "magic ", "fire ", "electricity ", "cold ", "confusion ", "acid ", | | "physical ", "magic ", "fire ", "electricity ", "cold ", "confusion ", "acid ", |
"drain ", "weaponmagic ", "ghosthit ", "poison ", "slow ", "paralyze ", | | "drain ", "weaponmagic ", "ghosthit ", "poison ", "slow ", "paralyze ", |
"turn_undead ", "fear ", "cancellation ", "deplete ", "death ", "chaos ", | | "turn_undead ", "fear ", "cancellation ", "deplete ", "death ", "chaos ", |
| | |
}; | | }; |
| | |
/* Short description of names of the attacktypes */ | | /* Short description of names of the attacktypes */ |
EXTERN char *attacktype_desc[NROFATTACKS] = { | | EXTERN const char* const attacktype_desc[NROFATTACKS] = { |
"physical", "magic", "fire", "electricity", "cold", "confusion", "acid", | | "physical", "magic", "fire", "electricity", "cold", "confusion", "acid", |
"drain", "weapon magic", "ghost hit", "poison", "slow", "paralyze", | | "drain", "weapon magic", "ghost hit", "poison", "slow", "paralyze", |
"turn undead", "fear", "cancellation", "deplete", "death", "chaos", | | "turn undead", "fear", "cancellation", "deplete", "death", "chaos", |
| | |
| | |
/* This is the array that is what the player sees. */ | | /* This is the array that is what the player sees. */ |
| | |
EXTERN char *resist_plus[NROFATTACKS] = { | | EXTERN const char* const resist_plus[NROFATTACKS] = { |
"armour", "resist magic", "resist fire", "resist electricity", "resist cold", | | "armour", "resist magic", "resist fire", "resist electricity", "resist cold", |
"resist confusion", "resist acid", "resist drain", | | "resist confusion", "resist acid", "resist drain", |
"resist weaponmagic", "resist ghosthit", "resist poison", "resist slow", | | "resist weaponmagic", "resist ghosthit", "resist poison", "resist slow", |
| | |
/* These are the descriptions of the resistances displayed when a | | /* These are the descriptions of the resistances displayed when a |
* player puts on/takes off an item. See change_abil() in living.c. | | * player puts on/takes off an item. See change_abil() in living.c. |
*/ | | */ |
EXTERN char *change_resist_msg[NROFATTACKS] = { | | EXTERN const char* const change_resist_msg[NROFATTACKS] = { |
"physical", "magic", "fire", "electricity", "cold", "confusion", "acid", | | "physical", "magic", "fire", "electricity", "cold", "confusion", "acid", |
"draining", "weapon magic", "ghosts", "poison", "slow", "paralyze", | | "draining", "weapon magic", "ghosts", "poison", "slow", "paralyze", |
"turn undead", "fear", "cancellation", "depletion", "death attacks", "chaos", | | "turn undead", "fear", "cancellation", "depletion", "death attacks", "chaos", |