… | |
… | |
256 | int command_pickup(object *op, char *params); |
256 | int command_pickup(object *op, char *params); |
257 | void set_pickup_mode(object *op, int i); |
257 | void set_pickup_mode(object *op, int i); |
258 | int command_search_items(object *op, char *params); |
258 | int command_search_items(object *op, char *params); |
259 | int command_rename_item(object *op, char *params); |
259 | int command_rename_item(object *op, char *params); |
260 | /* c_party.c */ |
260 | /* c_party.c */ |
|
|
261 | int same_party(partylist *a, partylist *b); |
261 | partylist *get_firstparty(void); |
262 | partylist *get_firstparty(void); |
262 | void remove_party(partylist *target_party); |
263 | void remove_party(partylist *target_party); |
263 | void obsolete_parties(void); |
264 | void obsolete_parties(void); |
|
|
265 | void add_kill_to_party(partylist *party, char *killer, char *dead, long exp); |
264 | int confirm_party_password(object *op); |
266 | int confirm_party_password(object *op); |
265 | void receive_party_password(object *op, char k); |
267 | void receive_party_password(object *op, char k); |
266 | void send_party_message(object *op, char *msg); |
268 | void send_party_message(object *op, char *msg); |
267 | int command_gsay(object *op, char *params); |
269 | int command_gsay(object *op, char *params); |
268 | int command_party(object *op, char *params); |
270 | int command_party(object *op, char *params); |
… | |
… | |
674 | int trap_see(object *op, object *trap); |
676 | int trap_see(object *op, object *trap); |
675 | int trap_show(object *trap, object *where); |
677 | int trap_show(object *trap, object *where); |
676 | int trap_disarm(object *disarmer, object *trap, int risk, object *skill); |
678 | int trap_disarm(object *disarmer, object *trap, int risk, object *skill); |
677 | void trap_adjust(object *trap, int difficulty); |
679 | void trap_adjust(object *trap, int difficulty); |
678 | /* shop.c */ |
680 | /* shop.c */ |
679 | double shopkeeper_approval(const mapstruct *map, const object *player); |
|
|
680 | uint64 query_cost(const object *tmp, object *who, int flag); |
681 | uint64 query_cost(const object *tmp, object *who, int flag); |
681 | const char *query_cost_string(const object *tmp, object *who, int flag); |
682 | const char *query_cost_string(const object *tmp, object *who, int flag); |
682 | uint64 query_money(const object *op); |
683 | uint64 query_money(const object *op); |
683 | int pay_for_amount(uint64 to_pay, object *pl); |
684 | int pay_for_amount(uint64 to_pay, object *pl); |
684 | int pay_for_item(object *op, object *pl); |
685 | int pay_for_item(object *op, object *pl); |
685 | int can_pay(object *pl); |
686 | int can_pay(object *pl); |
686 | int get_payment(object *pl, object *op); |
687 | int get_payment(object *pl, object *op); |
687 | void sell_item(object *op, object *pl); |
688 | void sell_item(object *op, object *pl); |
|
|
689 | double shopkeeper_approval(const mapstruct *map, const object *player); |
688 | int describe_shop(const object *op); |
690 | int describe_shop(const object *op); |
689 | void shop_listing(object *op); |
691 | void shop_listing(object *op); |
690 | /* skills.c */ |
692 | /* skills.c */ |
691 | int steal(object *op, int dir, object *skill); |
693 | int steal(object *op, int dir, object *skill); |
692 | int pick_lock(object *pl, int dir, object *skill); |
694 | int pick_lock(object *pl, int dir, object *skill); |
… | |
… | |
713 | int calc_skill_exp(object *who, object *op, object *skill); |
715 | int calc_skill_exp(object *who, object *op, object *skill); |
714 | int learn_skill(object *pl, object *scroll); |
716 | int learn_skill(object *pl, object *scroll); |
715 | void show_skills(object *op, const char *search); |
717 | void show_skills(object *op, const char *search); |
716 | int use_skill(object *op, const char *string); |
718 | int use_skill(object *op, const char *string); |
717 | int skill_attack(object *tmp, object *pl, int dir, const char *string, object *skill); |
719 | int skill_attack(object *tmp, object *pl, int dir, const char *string, object *skill); |
718 | static int attack_hth(object *pl, int dir, const char *string, object *skill); |
|
|
719 | static int attack_melee_weapon(object *op, int dir, const char *string, object *skill); |
|
|
720 | /* spell_attack.c */ |
720 | /* spell_attack.c */ |
721 | void check_spell_knockback(object *op); |
721 | void check_spell_knockback(object *op); |
722 | void forklightning(object *op, object *tmp); |
722 | void forklightning(object *op, object *tmp); |
723 | void move_bolt(object *op); |
723 | void move_bolt(object *op); |
724 | int fire_bolt(object *op, object *caster, int dir, object *spob, object *skill); |
724 | int fire_bolt(object *op, object *caster, int dir, object *spob, object *skill); |