Go to the source code of this file.
Defines | |
| #define | LAST_PROTECTION (ATNR_CONFUSION + 1) |
| #define | AT_PHYSICAL 0x00000001 |
| #define | AT_MAGIC 0x00000002 |
| #define | AT_DRAIN 0x00000080 |
| #define | AT_POISON 0x00000400 |
| #define | AT_INTERNAL 0x00800000 |
Enumerations | |
| enum | _attacks { ATNR_IMPACT, ATNR_SLASH, ATNR_CLEAVE, ATNR_PIERCE, ATNR_WEAPON_MAGIC, ATNR_FIRE, ATNR_COLD, ATNR_ELECTRICITY, ATNR_POISON, ATNR_ACID, ATNR_MAGIC, ATNR_MIND, ATNR_BLIND, ATNR_PARALYZE, ATNR_FORCE, ATNR_GODPOWER, ATNR_CHAOS, ATNR_DRAIN, ATNR_SLOW, ATNR_CONFUSION, ATNR_INTERNAL, NROFATTACKS } |
Variables | |
| EXTERN char * | attack_save [NROFATTACKS] |
| EXTERN char * | attack_name [NROFATTACKS] |
Attack and defense system macros, defines, etc.
Definition in file attack.h.
| #define LAST_PROTECTION (ATNR_CONFUSION + 1) |
| enum _attacks |
The attack IDs.
| EXTERN char* attack_name[NROFATTACKS] |
{
"impact", "slash", "cleave", "pierce", "weapon magic",
"fire", "cold", "electricity", "poison", "acid",
"magic", "mind", "blind", "paralyze", "force",
"godpower", "chaos", "drain", "slow", "confusion",
"internal"
}
Short description of names of the attack types.
| EXTERN char* attack_save[NROFATTACKS] |
{
"impact", "slash", "cleave", "pierce", "weaponmagic",
"fire", "cold", "electricity", "poison", "acid",
"magic", "mind", "blind", "paralyze", "force",
"godpower", "chaos", "drain", "slow", "confusion",
"internal"
}
Names of attack types to use when saving them to file.
1.6.2