… | |
… | |
196 | int command_usekeys(object *op, char *params); |
196 | int command_usekeys(object *op, char *params); |
197 | int command_resistances(object *op, char *params); |
197 | int command_resistances(object *op, char *params); |
198 | int command_help(object *op, char *params); |
198 | int command_help(object *op, char *params); |
199 | int onoff_value(const char *line); |
199 | int onoff_value(const char *line); |
200 | int command_quit(object *op, char *params); |
200 | int command_quit(object *op, char *params); |
201 | int command_suicide(object *op, char *params); |
|
|
202 | int command_real_quit(object *op, char *params); |
201 | int command_real_quit(object *op, char *params); |
203 | int command_explore(object *op, char *params); |
202 | int command_explore(object *op, char *params); |
204 | int command_sound(object *op, char *params); |
203 | int command_sound(object *op, char *params); |
205 | void receive_player_name(object *op, char k); |
204 | void receive_player_name(object *op, char k); |
206 | void receive_player_password(object *op, char k); |
205 | void receive_player_password(object *op, char k); |
… | |
… | |
257 | int command_pickup(object *op, char *params); |
256 | int command_pickup(object *op, char *params); |
258 | void set_pickup_mode(object *op, int i); |
257 | void set_pickup_mode(object *op, int i); |
259 | int command_search_items(object *op, char *params); |
258 | int command_search_items(object *op, char *params); |
260 | int command_rename_item(object *op, char *params); |
259 | int command_rename_item(object *op, char *params); |
261 | /* c_party.c */ |
260 | /* c_party.c */ |
|
|
261 | int same_party(partylist *a, partylist *b); |
262 | partylist *get_firstparty(void); |
262 | partylist *get_firstparty(void); |
263 | void remove_party(partylist *target_party); |
263 | void remove_party(partylist *target_party); |
264 | void obsolete_parties(void); |
264 | void obsolete_parties(void); |
|
|
265 | void add_kill_to_party(partylist *party, char *killer, char *dead, long exp); |
265 | int confirm_party_password(object *op); |
266 | int confirm_party_password(object *op); |
266 | void receive_party_password(object *op, char k); |
267 | void receive_party_password(object *op, char k); |
267 | void send_party_message(object *op, char *msg); |
268 | void send_party_message(object *op, char *msg); |
268 | int command_gsay(object *op, char *params); |
269 | int command_gsay(object *op, char *params); |
269 | int command_party(object *op, char *params); |
270 | int command_party(object *op, char *params); |
… | |
… | |
675 | int trap_see(object *op, object *trap); |
676 | int trap_see(object *op, object *trap); |
676 | int trap_show(object *trap, object *where); |
677 | int trap_show(object *trap, object *where); |
677 | int trap_disarm(object *disarmer, object *trap, int risk, object *skill); |
678 | int trap_disarm(object *disarmer, object *trap, int risk, object *skill); |
678 | void trap_adjust(object *trap, int difficulty); |
679 | void trap_adjust(object *trap, int difficulty); |
679 | /* shop.c */ |
680 | /* shop.c */ |
680 | double shopkeeper_approval(const mapstruct *map, const object *player); |
|
|
681 | uint64 query_cost(const object *tmp, object *who, int flag); |
681 | uint64 query_cost(const object *tmp, object *who, int flag); |
682 | 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); |
683 | uint64 query_money(const object *op); |
683 | uint64 query_money(const object *op); |
684 | int pay_for_amount(uint64 to_pay, object *pl); |
684 | int pay_for_amount(uint64 to_pay, object *pl); |
685 | int pay_for_item(object *op, object *pl); |
685 | int pay_for_item(object *op, object *pl); |
686 | int can_pay(object *pl); |
686 | int can_pay(object *pl); |
687 | int get_payment(object *pl, object *op); |
687 | int get_payment(object *pl, object *op); |
688 | 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); |
689 | int describe_shop(const object *op); |
690 | int describe_shop(const object *op); |
690 | void shop_listing(object *op); |
691 | void shop_listing(object *op); |
691 | /* skills.c */ |
692 | /* skills.c */ |
692 | int steal(object *op, int dir, object *skill); |
693 | int steal(object *op, int dir, object *skill); |
693 | int pick_lock(object *pl, int dir, object *skill); |
694 | int pick_lock(object *pl, int dir, object *skill); |
… | |
… | |
714 | int calc_skill_exp(object *who, object *op, object *skill); |
715 | int calc_skill_exp(object *who, object *op, object *skill); |
715 | int learn_skill(object *pl, object *scroll); |
716 | int learn_skill(object *pl, object *scroll); |
716 | void show_skills(object *op, const char *search); |
717 | void show_skills(object *op, const char *search); |
717 | int use_skill(object *op, const char *string); |
718 | int use_skill(object *op, const char *string); |
718 | 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); |
719 | static int attack_hth(object *pl, int dir, const char *string, object *skill); |
|
|
720 | static int attack_melee_weapon(object *op, int dir, const char *string, object *skill); |
|
|
721 | /* spell_attack.c */ |
720 | /* spell_attack.c */ |
722 | void check_spell_knockback(object *op); |
721 | void check_spell_knockback(object *op); |
723 | void forklightning(object *op, object *tmp); |
722 | void forklightning(object *op, object *tmp); |
724 | void move_bolt(object *op); |
723 | void move_bolt(object *op); |
725 | 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); |