1 | // server/c_party.C |
|
|
2 | int same_party (partylist *a, partylist *b); |
|
|
3 | |
|
|
4 | /* alchemy.c */ |
1 | /* alchemy.c */ |
5 | int need_identify (const object *obj); |
2 | int need_identify (const object *obj); |
6 | int apply_shop_mat (object *shop_mat, object *op); |
3 | int apply_shop_mat (object *shop_mat, object *op); |
7 | const char *cost_string_from_value (sint64 cost, int approx); |
4 | const char *cost_string_from_value (sint64 cost, int approx); |
8 | void pay_player (object *pl, sint64 amount); |
5 | void pay_player (object *pl, sint64 amount); |
… | |
… | |
39 | void apply_poison (object *op, object *tmp); |
36 | void apply_poison (object *op, object *tmp); |
40 | int is_legal_2ways_exit (object *op, object *exit); |
37 | int is_legal_2ways_exit (object *op, object *exit); |
41 | int manual_apply (object *op, object *tmp, int aflag); |
38 | int manual_apply (object *op, object *tmp, int aflag); |
42 | int player_apply (object *pl, object *op, int aflag, int quiet); |
39 | int player_apply (object *pl, object *op, int aflag, int quiet); |
43 | void player_apply_below (object *pl); |
40 | void player_apply_below (object *pl); |
44 | object *get_item_from_body_location (object *start, int loc); |
|
|
45 | int unapply_for_ob (object *who, object *op, int aflags); |
41 | int unapply_for_ob (object *who, object *op, int aflags); |
46 | int can_apply_object (object *who, object *op); |
42 | int can_apply_object (object *who, object *op); |
47 | int apply_special (object *who, object *op, int aflags); |
43 | int apply_special (object *who, object *op, int aflags); |
48 | int monster_apply_special (object *who, object *op, int aflags); |
44 | int monster_apply_special (object *who, object *op, int aflags); |
49 | int auto_apply (object *op); |
45 | int auto_apply (object *op); |
… | |
… | |
170 | int command_dropall (object *op, char *params); |
166 | int command_dropall (object *op, char *params); |
171 | int command_drop (object *op, char *params); |
167 | int command_drop (object *op, char *params); |
172 | int command_examine (object *op, char *params); |
168 | int command_examine (object *op, char *params); |
173 | object *find_marked_object (object *op); |
169 | object *find_marked_object (object *op); |
174 | void examine_monster (object *op, object *tmp); |
170 | void examine_monster (object *op, object *tmp); |
175 | char *long_desc (object *tmp, object *pl); |
171 | const char *long_desc (object *tmp, object *pl); |
176 | void examine (object *op, object *tmp); |
172 | void examine (object *op, object *tmp); |
177 | void inventory (object *op, object *inv); |
173 | void inventory (object *op, object *inv); |
178 | int command_pickup (object *op, char *params); |
174 | int command_pickup (object *op, char *params); |
179 | void set_pickup_mode (object *op, int i); |
175 | void set_pickup_mode (object *op, int i); |
180 | int command_search_items (object *op, char *params); |
176 | int command_search_items (object *op, char *params); |
181 | int command_rename_item (object *op, char *params); |
177 | int command_rename_item (object *op, char *params); |
182 | |
178 | |
183 | /* c_party.c */ |
179 | /* c_party.c */ |
184 | int same_party (partylist *a, partylist *b); |
|
|
185 | partylist *get_firstparty (void); |
180 | partylist *get_firstparty (void); |
186 | void remove_party (partylist *target_party); |
181 | void remove_party (partylist *target_party); |
187 | void obsolete_parties (void); |
182 | void obsolete_parties (void); |
188 | void add_kill_to_party (partylist *party, char *killer, char *dead, long exp); |
183 | void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp); |
189 | int confirm_party_password (object *op); |
184 | int confirm_party_password (object *op); |
190 | void receive_party_password (object *op, char k); |
185 | void receive_party_password (object *op, char k); |
191 | void send_party_message (object *op, char *msg); |
186 | void send_party_message (object *op, char *msg); |
192 | int command_gsay (object *op, char *params); |
187 | int command_gsay (object *op, char *params); |
193 | int command_party (object *op, char *params); |
188 | int command_party (object *op, char *params); |
… | |
… | |
330 | void usage (void); |
325 | void usage (void); |
331 | void help (void); |
326 | void help (void); |
332 | void init_beforeplay (void); |
327 | void init_beforeplay (void); |
333 | void init_startup (void); |
328 | void init_startup (void); |
334 | void compile_info (void); |
329 | void compile_info (void); |
335 | void rec_sigsegv (int i); |
|
|
336 | void rec_sigint (int i); |
|
|
337 | void rec_sighup (int i); |
|
|
338 | void rec_sigquit (int i); |
|
|
339 | void rec_sigpipe (int i); |
|
|
340 | void rec_sigbus (int i); |
|
|
341 | void rec_sigterm (int i); |
|
|
342 | void init_signals (void); |
330 | void init_signals (void); |
343 | void init_races (void); |
331 | void init_races (void); |
344 | void dump_races (void); |
332 | void dump_races (void); |
345 | void add_to_racelist (const char *race_name, object *op); |
333 | void add_to_racelist (const char *race_name, object *op); |
346 | racelink *get_racelist (void); |
334 | racelink *get_racelist (void); |
… | |
… | |
607 | int pay_for_item (object *op, object *pl); |
595 | int pay_for_item (object *op, object *pl); |
608 | int can_pay (object *pl); |
596 | int can_pay (object *pl); |
609 | void sell_item (object *op, object *pl); |
597 | void sell_item (object *op, object *pl); |
610 | double shopkeeper_approval (const maptile *map, const object *player); |
598 | double shopkeeper_approval (const maptile *map, const object *player); |
611 | int describe_shop (const object *op); |
599 | int describe_shop (const object *op); |
612 | void shop_listing (object *op); |
600 | void shop_listing (object *sign, object *op); |
613 | bool is_in_shop (object *o); |
601 | bool is_in_shop (object *o); |
614 | bool is_in_shop (maptile *map, int x, int y); |
602 | bool is_in_shop (maptile *map, int x, int y); |
615 | |
603 | |
616 | /* skills.c */ |
604 | /* skills.c */ |
617 | int steal (object *op, int dir, object *skill); |
605 | int steal (object *op, int dir, object *skill); |
… | |
… | |
630 | int skill_throw (object *op, object *part, int dir, const char *params, object *skill); |
618 | int skill_throw (object *op, object *part, int dir, const char *params, object *skill); |
631 | |
619 | |
632 | /* skill_util.c */ |
620 | /* skill_util.c */ |
633 | void init_skills (void); |
621 | void init_skills (void); |
634 | void link_player_skills (object *op); |
622 | void link_player_skills (object *op); |
635 | object *find_skill_by_name (object *who, const char *name); |
|
|
636 | object *find_skill_by_number (object *who, int skillno); |
|
|
637 | int change_skill (object *who, object *new_skill, int flag); |
|
|
638 | void clear_skill (object *who); |
623 | void clear_skill (object *who); |
639 | int do_skill (object *op, object *part, object *skill, int dir, const char *string); |
624 | int do_skill (object *op, object *part, object *skill, int dir, const char *string); |
640 | int calc_skill_exp (object *who, object *op, object *skill); |
625 | int calc_skill_exp (object *who, object *op, object *skill); |
641 | int learn_skill (object *pl, object *scroll); |
626 | int learn_skill (object *pl, object *scroll); |
642 | void show_skills (object *op, const char *search); |
627 | void show_skills (object *op, const char *search); |
… | |
… | |
756 | void flush_old_maps (void); |
741 | void flush_old_maps (void); |
757 | |
742 | |
758 | /* time.c */ |
743 | /* time.c */ |
759 | void remove_door (object *op); |
744 | void remove_door (object *op); |
760 | void remove_door2 (object *op); |
745 | void remove_door2 (object *op); |
761 | void generate_monster_inv (object *gen); |
|
|
762 | void generate_monster_arch (object *gen); |
|
|
763 | void generate_monster (object *gen); |
746 | void generate_monster (object *gen); |
764 | void remove_force (object *op); |
747 | void remove_force (object *op); |
765 | void remove_blindness (object *op); |
748 | void remove_blindness (object *op); |
766 | void poison_more (object *op); |
749 | void poison_more (object *op); |
767 | void move_gate (object *op); |
750 | void move_gate (object *op); |