version 1.37 | | version 1.38 |
---|
| | |
int main(int argc, char **argv); | | int main(int argc, char **argv); |
void main_crossfire(int argc, char **argv); | | void main_crossfire(int argc, char **argv); |
/* monster.c */ | | /* monster.c */ |
object *get_enemy(object *npc); | | object *get_enemy(object *npc, rv_vector *rv); |
object *find_nearest_living_creature(object *npc); | | object *find_nearest_living_creature(object *npc); |
object *find_enemy(object *npc); | | object *find_enemy(object *npc, rv_vector *rv); |
int check_wakeup(object *op, object *enemy); | | int check_wakeup(object *op, object *enemy, rv_vector *rv); |
int move_randomly(object *op); | | int move_randomly(object *op); |
int move_monster(object *op); | | int move_monster(object *op); |
int can_hit(object *ob1, object *ob2); | | int can_hit(object *ob1, object *ob2, rv_vector *rv); |
int can_apply(object *who, object *item); | | int can_apply(object *who, object *item); |
object *monster_choose_random_spell(object *monster); | | object *monster_choose_random_spell(object *monster); |
int monster_cast_spell(object *head, object *part, object *pl, int dir); | | int monster_cast_spell(object *head, object *part, object *pl, int dir, rv_vector *rv); |
int monster_use_skill(object *head, object *part, object *pl, int dir); | | int monster_use_skill(object *head, object *part, object *pl, int dir); |
int monster_use_wand(object *head, object *part, object *pl, int dir); | | int monster_use_wand(object *head, object *part, object *pl, int dir); |
int monster_use_rod(object *head, object *part, object *pl, int dir); | | int monster_use_rod(object *head, object *part, object *pl, int dir); |
| | |
void monster_apply_below(object *monster); | | void monster_apply_below(object *monster); |
void monster_check_apply(object *mon, object *item); | | void monster_check_apply(object *mon, object *item); |
void npc_call_help(object *op); | | void npc_call_help(object *op); |
int dist_att(int dir, object *ob, object *enemy, object *part); | | int dist_att(int dir, object *ob, object *enemy, object *part, rv_vector *rv); |
int run_att(int dir, object *ob, object *enemy, object *part); | | int run_att(int dir, object *ob, object *enemy, object *part, rv_vector *rv); |
int hitrun_att(int dir, object *ob, object *enemy); | | int hitrun_att(int dir, object *ob, object *enemy); |
int wait_att(int dir, object *ob, object *enemy, object *part); | | int wait_att(int dir, object *ob, object *enemy, object *part, rv_vector *rv); |
int disthit_att(int dir, object *ob, object *enemy, object *part); | | int disthit_att(int dir, object *ob, object *enemy, object *part, rv_vector *rv); |
int wait_att2(int dir, object *ob, object *enemy, object *part); | | int wait_att2(int dir, object *ob, object *enemy, object *part, rv_vector *rv); |
void circ1_move(object *ob); | | void circ1_move(object *ob); |
void circ2_move(object *ob); | | void circ2_move(object *ob); |
void pace_movev(object *ob); | | void pace_movev(object *ob); |
| | |
int talk_to_npc(object *op, object *npc, char *txt); | | int talk_to_npc(object *op, object *npc, char *txt); |
int talk_to_wall(object *npc, char *txt); | | int talk_to_wall(object *npc, char *txt); |
object *find_mon_throw_ob(object *op); | | object *find_mon_throw_ob(object *op); |
int can_detect_enemy(object *op, object *enemy); | | int can_detect_enemy(object *op, object *enemy, rv_vector *rv); |
int stand_in_light(object *op); | | int stand_in_light(object *op); |
int can_see_enemy(object *op, object *enemy); | | int can_see_enemy(object *op, object *enemy); |
/* move.c */ | | /* move.c */ |
| | |
int roll_ob(object *op, int dir, object *pusher); | | int roll_ob(object *op, int dir, object *pusher); |
int push_ob(object *who, int dir, object *pusher); | | int push_ob(object *who, int dir, object *pusher); |
/* pets.c */ | | /* pets.c */ |
object *get_pet_enemy(object *pet); | | object *get_pet_enemy(object *pet, rv_vector *rv); |
void terminate_all_pets(object *owner); | | void terminate_all_pets(object *owner); |
void remove_all_pets(mapstruct *map); | | void remove_all_pets(mapstruct *map); |
void follow_owner(object *ob, object *owner); | | void follow_owner(object *ob, object *owner); |