Crossfire Server, Branch 1.12
R12190
|
Defines | |
#define | IS_ARMOR(op) |
#define | IS_ARROW(op) |
#define | IS_LIVE(op) |
#define | IS_SHIELD(op) (op->type == SHIELD) |
#define | IS_WEAPON(op) (op->type == ARROW || op->type == BOW || op->type == WEAPON) |
#define IS_ARMOR | ( | op | ) |
Definition at line 415 of file define.h.
Referenced by can_apply_object(), decay_objects(), give_initial_items(), is_special_equipment(), monster_can_pick(), monster_check_apply(), query_base_name(), query_name(), set_materialname(), and transmute_materialname().
#define IS_ARROW | ( | op | ) |
(op->type == ARROW || \ (op->type == SPELL_EFFECT && (op->subtype == SP_BULLET || op->subtype == SP_MAGIC_MISSILE)))
Definition at line 427 of file define.h.
Referenced by attack_message(), and is_special_equipment().
#define IS_LIVE | ( | op | ) |
((op->type == PLAYER || QUERY_FLAG(op, FLAG_MONSTER) || \ (QUERY_FLAG(op, FLAG_ALIVE) && !QUERY_FLAG(op, FLAG_GENERATOR) && \ !op->type == DOOR)) && (!QUERY_FLAG(op, FLAG_IS_A_TEMPLATE)))
Definition at line 422 of file define.h.
Referenced by attack_message(), and decay_objects().
Definition at line 419 of file define.h.
Referenced by can_apply_object(), decay_objects(), give_initial_items(), is_special_equipment(), monster_can_pick(), monster_check_apply(), query_name(), set_materialname(), and transmute_materialname().
Definition at line 412 of file define.h.
Referenced by can_apply_object(), decay_objects(), give_initial_items(), is_special_equipment(), local_check_loaded_object(), monster_can_pick(), query_base_name(), query_name(), and set_materialname().