… | |
… | |
74 | void blind_player (object *op, object *hitter, int dam); |
74 | void blind_player (object *op, object *hitter, int dam); |
75 | void paralyze_player (object *op, object *hitter, int dam); |
75 | void paralyze_player (object *op, object *hitter, int dam); |
76 | void deathstrike_player (object *op, object *hitter, int *dam); |
76 | void deathstrike_player (object *op, object *hitter, int *dam); |
77 | int adj_attackroll (object *hitter, object *target); |
77 | int adj_attackroll (object *hitter, object *target); |
78 | int is_aimed_missile (object *op); |
78 | int is_aimed_missile (object *op); |
79 | |
|
|
80 | /* ban.c */ |
|
|
81 | int checkbanned (const char *login, const char *host); |
|
|
82 | |
79 | |
83 | /* build_map.c */ |
80 | /* build_map.c */ |
84 | int can_build_over (struct mapdef *map, object *tmp, short x, short y); |
81 | 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); |
82 | void remove_marking_runes (struct mapdef *map, short x, short y); |
86 | int find_unused_connected_value (struct mapdef *map); |
83 | int find_unused_connected_value (struct mapdef *map); |
… | |
… | |
173 | int command_dropall (object *op, char *params); |
170 | int command_dropall (object *op, char *params); |
174 | int command_drop (object *op, char *params); |
171 | int command_drop (object *op, char *params); |
175 | int command_examine (object *op, char *params); |
172 | int command_examine (object *op, char *params); |
176 | object *find_marked_object (object *op); |
173 | object *find_marked_object (object *op); |
177 | void examine_monster (object *op, object *tmp); |
174 | void examine_monster (object *op, object *tmp); |
178 | char *long_desc (object *tmp, object *pl); |
175 | const char *long_desc (object *tmp, object *pl); |
179 | void examine (object *op, object *tmp); |
176 | void examine (object *op, object *tmp); |
180 | void inventory (object *op, object *inv); |
177 | void inventory (object *op, object *inv); |
181 | int command_pickup (object *op, char *params); |
178 | int command_pickup (object *op, char *params); |
182 | void set_pickup_mode (object *op, int i); |
179 | void set_pickup_mode (object *op, int i); |
183 | int command_search_items (object *op, char *params); |
180 | int command_search_items (object *op, char *params); |
… | |
… | |
186 | /* c_party.c */ |
183 | /* c_party.c */ |
187 | int same_party (partylist *a, partylist *b); |
184 | int same_party (partylist *a, partylist *b); |
188 | partylist *get_firstparty (void); |
185 | partylist *get_firstparty (void); |
189 | void remove_party (partylist *target_party); |
186 | void remove_party (partylist *target_party); |
190 | void obsolete_parties (void); |
187 | void obsolete_parties (void); |
191 | void add_kill_to_party (partylist *party, char *killer, char *dead, long exp); |
188 | void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp); |
192 | int confirm_party_password (object *op); |
189 | int confirm_party_password (object *op); |
193 | void receive_party_password (object *op, char k); |
190 | void receive_party_password (object *op, char k); |
194 | void send_party_message (object *op, char *msg); |
191 | void send_party_message (object *op, char *msg); |
195 | int command_gsay (object *op, char *params); |
192 | int command_gsay (object *op, char *params); |
196 | int command_party (object *op, char *params); |
193 | int command_party (object *op, char *params); |
… | |
… | |
333 | void usage (void); |
330 | void usage (void); |
334 | void help (void); |
331 | void help (void); |
335 | void init_beforeplay (void); |
332 | void init_beforeplay (void); |
336 | void init_startup (void); |
333 | void init_startup (void); |
337 | void compile_info (void); |
334 | 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); |
335 | void init_signals (void); |
346 | void init_races (void); |
336 | void init_races (void); |
347 | void dump_races (void); |
337 | void dump_races (void); |
348 | void add_to_racelist (const char *race_name, object *op); |
338 | void add_to_racelist (const char *race_name, object *op); |
349 | racelink *get_racelist (void); |
339 | racelink *get_racelist (void); |
… | |
… | |
610 | int pay_for_item (object *op, object *pl); |
600 | int pay_for_item (object *op, object *pl); |
611 | int can_pay (object *pl); |
601 | int can_pay (object *pl); |
612 | void sell_item (object *op, object *pl); |
602 | void sell_item (object *op, object *pl); |
613 | double shopkeeper_approval (const maptile *map, const object *player); |
603 | double shopkeeper_approval (const maptile *map, const object *player); |
614 | int describe_shop (const object *op); |
604 | int describe_shop (const object *op); |
615 | void shop_listing (object *op); |
605 | void shop_listing (object *sign, object *op); |
616 | bool is_in_shop (object *o); |
606 | bool is_in_shop (object *o); |
617 | bool is_in_shop (maptile *map, int x, int y); |
607 | bool is_in_shop (maptile *map, int x, int y); |
618 | |
608 | |
619 | /* skills.c */ |
609 | /* skills.c */ |
620 | int steal (object *op, int dir, object *skill); |
610 | int steal (object *op, int dir, object *skill); |
… | |
… | |
759 | void flush_old_maps (void); |
749 | void flush_old_maps (void); |
760 | |
750 | |
761 | /* time.c */ |
751 | /* time.c */ |
762 | void remove_door (object *op); |
752 | void remove_door (object *op); |
763 | void remove_door2 (object *op); |
753 | 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); |
754 | void generate_monster (object *gen); |
767 | void remove_force (object *op); |
755 | void remove_force (object *op); |
768 | void remove_blindness (object *op); |
756 | void remove_blindness (object *op); |
769 | void poison_more (object *op); |
757 | void poison_more (object *op); |
770 | void move_gate (object *op); |
758 | void move_gate (object *op); |
… | |
… | |
793 | int cftimer_destroy (int id); |
781 | int cftimer_destroy (int id); |
794 | int cftimer_find_free_id (void); |
782 | int cftimer_find_free_id (void); |
795 | |
783 | |
796 | /* weather.c */ |
784 | /* weather.c */ |
797 | void set_darkness_map (maptile *m); |
785 | void set_darkness_map (maptile *m); |
798 | void tick_the_clock (void); |
786 | 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); |
|
|