… | |
… | |
39 | void apply_poison (object *op, object *tmp); |
39 | void apply_poison (object *op, object *tmp); |
40 | int is_legal_2ways_exit (object *op, object *exit); |
40 | int is_legal_2ways_exit (object *op, object *exit); |
41 | int manual_apply (object *op, object *tmp, int aflag); |
41 | int manual_apply (object *op, object *tmp, int aflag); |
42 | int player_apply (object *pl, object *op, int aflag, int quiet); |
42 | int player_apply (object *pl, object *op, int aflag, int quiet); |
43 | void player_apply_below (object *pl); |
43 | 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); |
44 | int unapply_for_ob (object *who, object *op, int aflags); |
46 | int can_apply_object (object *who, object *op); |
45 | int can_apply_object (object *who, object *op); |
47 | int apply_special (object *who, object *op, int aflags); |
46 | int apply_special (object *who, object *op, int aflags); |
48 | int monster_apply_special (object *who, object *op, int aflags); |
47 | int monster_apply_special (object *who, object *op, int aflags); |
49 | int auto_apply (object *op); |
48 | int auto_apply (object *op); |
… | |
… | |
74 | void blind_player (object *op, object *hitter, int dam); |
73 | void blind_player (object *op, object *hitter, int dam); |
75 | void paralyze_player (object *op, object *hitter, int dam); |
74 | void paralyze_player (object *op, object *hitter, int dam); |
76 | void deathstrike_player (object *op, object *hitter, int *dam); |
75 | void deathstrike_player (object *op, object *hitter, int *dam); |
77 | int adj_attackroll (object *hitter, object *target); |
76 | int adj_attackroll (object *hitter, object *target); |
78 | int is_aimed_missile (object *op); |
77 | int is_aimed_missile (object *op); |
79 | |
|
|
80 | /* ban.c */ |
|
|
81 | int checkbanned (const char *login, const char *host); |
|
|
82 | |
78 | |
83 | /* build_map.c */ |
79 | /* build_map.c */ |
84 | int can_build_over (struct mapdef *map, object *tmp, short x, short y); |
80 | int can_build_over (struct mapdef *map, object *tmp, short x, short y); |
85 | void remove_marking_runes (struct mapdef *map, short x, short y); |
81 | void remove_marking_runes (struct mapdef *map, short x, short y); |
86 | int find_unused_connected_value (struct mapdef *map); |
82 | int find_unused_connected_value (struct mapdef *map); |
… | |
… | |
173 | int command_dropall (object *op, char *params); |
169 | int command_dropall (object *op, char *params); |
174 | int command_drop (object *op, char *params); |
170 | int command_drop (object *op, char *params); |
175 | int command_examine (object *op, char *params); |
171 | int command_examine (object *op, char *params); |
176 | object *find_marked_object (object *op); |
172 | object *find_marked_object (object *op); |
177 | void examine_monster (object *op, object *tmp); |
173 | void examine_monster (object *op, object *tmp); |
178 | char *long_desc (object *tmp, object *pl); |
174 | const char *long_desc (object *tmp, object *pl); |
179 | void examine (object *op, object *tmp); |
175 | void examine (object *op, object *tmp); |
180 | void inventory (object *op, object *inv); |
176 | void inventory (object *op, object *inv); |
181 | int command_pickup (object *op, char *params); |
177 | int command_pickup (object *op, char *params); |
182 | void set_pickup_mode (object *op, int i); |
178 | void set_pickup_mode (object *op, int i); |
183 | int command_search_items (object *op, char *params); |
179 | int command_search_items (object *op, char *params); |
… | |
… | |
186 | /* c_party.c */ |
182 | /* c_party.c */ |
187 | int same_party (partylist *a, partylist *b); |
183 | int same_party (partylist *a, partylist *b); |
188 | partylist *get_firstparty (void); |
184 | partylist *get_firstparty (void); |
189 | void remove_party (partylist *target_party); |
185 | void remove_party (partylist *target_party); |
190 | void obsolete_parties (void); |
186 | void obsolete_parties (void); |
191 | void add_kill_to_party (partylist *party, char *killer, char *dead, long exp); |
187 | void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp); |
192 | int confirm_party_password (object *op); |
188 | int confirm_party_password (object *op); |
193 | void receive_party_password (object *op, char k); |
189 | void receive_party_password (object *op, char k); |
194 | void send_party_message (object *op, char *msg); |
190 | void send_party_message (object *op, char *msg); |
195 | int command_gsay (object *op, char *params); |
191 | int command_gsay (object *op, char *params); |
196 | int command_party (object *op, char *params); |
192 | int command_party (object *op, char *params); |
… | |
… | |
333 | void usage (void); |
329 | void usage (void); |
334 | void help (void); |
330 | void help (void); |
335 | void init_beforeplay (void); |
331 | void init_beforeplay (void); |
336 | void init_startup (void); |
332 | void init_startup (void); |
337 | void compile_info (void); |
333 | void compile_info (void); |
338 | void rec_sigsegv (int i); |
|
|
339 | void rec_sigint (int i); |
|
|
340 | void rec_sighup (int i); |
|
|
341 | void rec_sigquit (int i); |
|
|
342 | void rec_sigpipe (int i); |
|
|
343 | void rec_sigbus (int i); |
|
|
344 | void rec_sigterm (int i); |
|
|
345 | void init_signals (void); |
334 | void init_signals (void); |
346 | void init_races (void); |
335 | void init_races (void); |
347 | void dump_races (void); |
336 | void dump_races (void); |
348 | void add_to_racelist (const char *race_name, object *op); |
337 | void add_to_racelist (const char *race_name, object *op); |
349 | racelink *get_racelist (void); |
338 | racelink *get_racelist (void); |
… | |
… | |
610 | int pay_for_item (object *op, object *pl); |
599 | int pay_for_item (object *op, object *pl); |
611 | int can_pay (object *pl); |
600 | int can_pay (object *pl); |
612 | void sell_item (object *op, object *pl); |
601 | void sell_item (object *op, object *pl); |
613 | double shopkeeper_approval (const maptile *map, const object *player); |
602 | double shopkeeper_approval (const maptile *map, const object *player); |
614 | int describe_shop (const object *op); |
603 | int describe_shop (const object *op); |
615 | void shop_listing (object *op); |
604 | void shop_listing (object *sign, object *op); |
616 | bool is_in_shop (object *o); |
605 | bool is_in_shop (object *o); |
617 | bool is_in_shop (maptile *map, int x, int y); |
606 | bool is_in_shop (maptile *map, int x, int y); |
618 | |
607 | |
619 | /* skills.c */ |
608 | /* skills.c */ |
620 | int steal (object *op, int dir, object *skill); |
609 | int steal (object *op, int dir, object *skill); |
… | |
… | |
759 | void flush_old_maps (void); |
748 | void flush_old_maps (void); |
760 | |
749 | |
761 | /* time.c */ |
750 | /* time.c */ |
762 | void remove_door (object *op); |
751 | void remove_door (object *op); |
763 | void remove_door2 (object *op); |
752 | void remove_door2 (object *op); |
764 | void generate_monster_inv (object *gen); |
|
|
765 | void generate_monster_arch (object *gen); |
|
|
766 | void generate_monster (object *gen); |
753 | void generate_monster (object *gen); |
767 | void remove_force (object *op); |
754 | void remove_force (object *op); |
768 | void remove_blindness (object *op); |
755 | void remove_blindness (object *op); |
769 | void poison_more (object *op); |
756 | void poison_more (object *op); |
770 | void move_gate (object *op); |
757 | void move_gate (object *op); |
… | |
… | |
793 | int cftimer_destroy (int id); |
780 | int cftimer_destroy (int id); |
794 | int cftimer_find_free_id (void); |
781 | int cftimer_find_free_id (void); |
795 | |
782 | |
796 | /* weather.c */ |
783 | /* weather.c */ |
797 | void set_darkness_map (maptile *m); |
784 | void set_darkness_map (maptile *m); |
798 | void tick_the_clock (void); |
785 | void adjust_daylight (void); |
799 | void init_weather (void); |
|
|
800 | void weather_effect (const char *filename); |
|
|
801 | int worldmap_to_weathermap (int x, int y, int *wx, int *wy, maptile *m); |
|
|
802 | int real_world_temperature (int x, int y, maptile *m); |
|
|
803 | int similar_direction (int a, int b); |
|
|