|
|
1 | int same_party (partylist *a, partylist *b); |
1 | /* alchemy.c */ |
2 | /* alchemy.c */ |
|
|
3 | int need_identify (const object *obj); |
2 | int apply_shop_mat (object *shop_mat, object *op); |
4 | int apply_shop_mat (object *shop_mat, object *op); |
3 | const char *cost_string_from_value(uint64 cost, int approx); |
5 | const char *cost_string_from_value(sint64 cost, int approx); |
4 | void pay_player (object *pl, uint64 amount); |
6 | void pay_player (object *pl, sint64 amount); |
5 | uint64 pay_player_arch (object *pl, const char *arch, uint64 amount); |
7 | sint64 pay_player_arch (object *pl, const char *arch, sint64 amount); |
6 | void attempt_do_alchemy(object *caster, object *cauldron); |
8 | void attempt_do_alchemy(object *caster, object *cauldron); |
7 | int content_recipe_value(object *op); |
9 | int content_recipe_value(object *op); |
8 | int numb_ob_inside(object *op); |
10 | int numb_ob_inside(object *op); |
9 | object *attempt_recipe(object *caster, object *cauldron, int ability, recipe *rp, int nbatches); |
11 | object *attempt_recipe(object *caster, object *cauldron, int ability, recipe *rp, int nbatches); |
10 | void adjust_product(object *item, int lvl, int yield); |
12 | void adjust_product(object *item, int lvl, int yield); |
… | |
… | |
40 | int unapply_for_ob(object *who, object *op, int aflags); |
42 | int unapply_for_ob(object *who, object *op, int aflags); |
41 | int can_apply_object(object *who, object *op); |
43 | int can_apply_object(object *who, object *op); |
42 | int apply_special(object *who, object *op, int aflags); |
44 | int apply_special(object *who, object *op, int aflags); |
43 | int monster_apply_special(object *who, object *op, int aflags); |
45 | int monster_apply_special(object *who, object *op, int aflags); |
44 | int auto_apply(object *op); |
46 | int auto_apply(object *op); |
45 | void fix_auto_apply(mapstruct *m); |
47 | void fix_auto_apply(maptile *m); |
46 | void eat_special_food(object *who, object *food); |
48 | void eat_special_food(object *who, object *food); |
47 | void apply_lighter(object *who, object *lighter); |
49 | void apply_lighter(object *who, object *lighter); |
48 | void scroll_failure(object *op, int failure, int power); |
50 | void scroll_failure(object *op, int failure, int power); |
49 | void apply_changes_to_player(object *pl, object *change); |
51 | void apply_changes_to_player(object *pl, object *change); |
50 | void apply_item_transformer(object *pl, object *transformer); |
52 | void apply_item_transformer(object *pl, object *transformer); |
… | |
… | |
78 | int find_unused_connected_value(struct mapdef *map); |
80 | int find_unused_connected_value(struct mapdef *map); |
79 | int find_or_create_connection_for_map(object *pl, short x, short y, object *rune); |
81 | int find_or_create_connection_for_map(object *pl, short x, short y, object *rune); |
80 | object *get_connection_rune(object *pl, short x, short y); |
82 | object *get_connection_rune(object *pl, short x, short y); |
81 | object *get_msg_book(object *pl, short x, short y); |
83 | object *get_msg_book(object *pl, short x, short y); |
82 | object *get_wall(struct mapdef *map, int x, int y); |
84 | object *get_wall(struct mapdef *map, int x, int y); |
83 | void fix_walls(struct mapdef *map, int x, int y); |
85 | void fix_walls(maptile *map, int x, int y); |
|
|
86 | void fix_walls_around(maptile *map, int x, int y); |
84 | void apply_builder_floor(object *pl, object *material, short x, short y); |
87 | void apply_builder_floor(object *pl, object *material, short x, short y); |
85 | void apply_builder_wall(object *pl, object *material, short x, short y); |
88 | void apply_builder_wall(object *pl, object *material, short x, short y); |
86 | void apply_builder_item(object *pl, object *item, short x, short y); |
89 | void apply_builder_item(object *pl, object *item, short x, short y); |
87 | void apply_builder_remove(object *pl, int dir); |
90 | void apply_builder_remove(object *pl, int dir); |
88 | void apply_map_builder(object *pl, int dir); |
91 | void apply_map_builder(object *pl, int dir); |
… | |
… | |
157 | int command_bug(object *op, char *params); |
160 | int command_bug(object *op, char *params); |
158 | void malloc_info(object *op); |
161 | void malloc_info(object *op); |
159 | void current_region_info(object *op); |
162 | void current_region_info(object *op); |
160 | void current_map_info(object *op); |
163 | void current_map_info(object *op); |
161 | int command_whereabouts(object *op, char *params); |
164 | int command_whereabouts(object *op, char *params); |
162 | int command_who(object *op, char *params); |
|
|
163 | void display_who_entry(object *op, player *pl, const char *format); |
|
|
164 | void get_who_escape_code_value(char *return_val, const char letter, player *pl); |
|
|
165 | int command_afk(object *op, char *params); |
165 | int command_afk(object *op, char *params); |
166 | int command_malloc(object *op, char *params); |
166 | int command_malloc(object *op, char *params); |
167 | int command_mapinfo(object *op, char *params); |
167 | int command_mapinfo(object *op, char *params); |
168 | int command_whereami(object *op, char *params); |
168 | int command_whereami(object *op, char *params); |
169 | int command_maps(object *op, char *params); |
169 | int command_maps(object *op, char *params); |
… | |
… | |
225 | int command_southeast(object *op, char *params); |
225 | int command_southeast(object *op, char *params); |
226 | int command_southwest(object *op, char *params); |
226 | int command_southwest(object *op, char *params); |
227 | int command_west(object *op, char *params); |
227 | int command_west(object *op, char *params); |
228 | int command_stay(object *op, char *params); |
228 | int command_stay(object *op, char *params); |
229 | /* c_new.c */ |
229 | /* c_new.c */ |
230 | int execute_newserver_command(object *pl, char *command); |
230 | void execute_newserver_command(object *pl, char *command); |
231 | int command_run(object *op, char *params); |
231 | int command_run(object *op, char *params); |
232 | int command_run_stop(object *op, char *params); |
232 | int command_run_stop(object *op, char *params); |
233 | int command_fire(object *op, char *params); |
233 | int command_fire(object *op, char *params); |
234 | int command_fire_stop(object *op, char *params); |
234 | int command_fire_stop(object *op, char *params); |
235 | int bad_command(object *op, char *params); |
235 | int bad_command(object *op, char *params); |
… | |
… | |
288 | int command_banish(object *op, char *params); |
288 | int command_banish(object *op, char *params); |
289 | int command_kick(object *op, char *params); |
289 | int command_kick(object *op, char *params); |
290 | int command_save_overlay(object *op, char *params); |
290 | int command_save_overlay(object *op, char *params); |
291 | int command_toggle_shout(object *op, char *params); |
291 | int command_toggle_shout(object *op, char *params); |
292 | int command_shutdown(object *op, char *params); |
292 | int command_shutdown(object *op, char *params); |
293 | int command_goto(object *op, char *params); |
|
|
294 | int command_generate(object *op, char *params); |
|
|
295 | int command_freeze(object *op, char *params); |
293 | int command_freeze(object *op, char *params); |
296 | int command_arrest(object *op, char *params); |
294 | int command_arrest(object *op, char *params); |
297 | int command_summon(object *op, char *params); |
295 | int command_summon(object *op, char *params); |
298 | int command_teleport(object *op, char *params); |
296 | int command_teleport(object *op, char *params); |
299 | int command_create(object *op, char *params); |
297 | int command_create(object *op, char *params); |
… | |
… | |
415 | void rec_sighup(int i); |
413 | void rec_sighup(int i); |
416 | void rec_sigquit(int i); |
414 | void rec_sigquit(int i); |
417 | void rec_sigpipe(int i); |
415 | void rec_sigpipe(int i); |
418 | void rec_sigbus(int i); |
416 | void rec_sigbus(int i); |
419 | void rec_sigterm(int i); |
417 | void rec_sigterm(int i); |
420 | void fatal_signal(int make_core, int close_sockets); |
|
|
421 | void init_signals(void); |
418 | void init_signals(void); |
422 | void init_races(void); |
419 | void init_races(void); |
423 | void dump_races(void); |
420 | void dump_races(void); |
424 | void add_to_racelist(const char *race_name, object *op); |
421 | void add_to_racelist(const char *race_name, object *op); |
425 | racelink *get_racelist(void); |
422 | racelink *get_racelist(void); |
426 | racelink *find_racelink(const char *name); |
423 | racelink *find_racelink(const char *name); |
427 | /* login.c */ |
424 | /* login.c */ |
428 | void emergency_save(int flag); |
|
|
429 | void delete_character(const char *name, int); |
425 | void delete_character(const char *name); |
430 | int verify_player(const char *name, char *password); |
426 | int verify_player(const char *name, char *password); |
431 | int check_name(player *me, const char *name); |
427 | int check_name(player *me, const char *name); |
432 | int create_savedir_if_needed(char *savedir); |
428 | int create_savedir_if_needed(char *savedir); |
433 | void destroy_object(object *op); |
429 | void destroy_object(object *op); |
434 | int save_player(object *op, int flag); |
|
|
435 | void copy_file(const char *filename, FILE *fpout); |
430 | void copy_file(const char *filename, FILE *fpout); |
436 | void check_login(object *op); |
|
|
437 | /* main.c */ |
431 | /* main.c */ |
|
|
432 | void server_tick (); |
438 | void version(object *op); |
433 | void version(object *op); |
439 | void info_keys(object *op); |
434 | void info_keys(object *op); |
440 | void start_info(object *op); |
|
|
441 | char *crypt_string(char *str, char *salt); |
435 | char *crypt_string(char *str, char *salt); |
442 | int check_password(char *typed, char *crypted); |
436 | int check_password(char *typed, char *crypted); |
443 | void enter_player_savebed(object *op); |
437 | void enter_player_savebed(object *op); |
444 | void leave_map(object *op); |
438 | void leave_map(object *op); |
445 | void set_map_timeout(mapstruct *oldmap); |
439 | void set_map_timeout(maptile *oldmap); |
446 | char *clean_path(const char *file); |
440 | char *clean_path(const char *file); |
447 | char *unclean_path(const char *src); |
441 | char *unclean_path(const char *src); |
448 | void enter_exit(object *op, object *exit_ob); |
442 | void enter_exit(object *op, object *exit_ob); |
449 | void process_active_maps(void); |
|
|
450 | void process_players1(mapstruct *map); |
|
|
451 | void process_players2(mapstruct *map); |
|
|
452 | void process_events(mapstruct *map); |
443 | void process_events(); |
453 | void clean_tmp_files(void); |
444 | void clean_tmp_files(void); |
454 | void cleanup(void); |
|
|
455 | void leave(player *pl, int draw_exit); |
445 | void leave(player *pl,int draw_exit); |
456 | int forbid_play(void); |
446 | int forbid_play(void); |
457 | void do_specials(void); |
447 | void do_specials(void); |
458 | int main(int argc, char **argv); |
448 | int main(int argc, char **argv); |
459 | /* monster.c */ |
449 | /* monster.c */ |
460 | object *check_enemy(object *npc, rv_vector *rv); |
450 | object *check_enemy(object *npc, rv_vector *rv); |
… | |
… | |
488 | void pace_movev(object *ob); |
478 | void pace_movev(object *ob); |
489 | void pace_moveh(object *ob); |
479 | void pace_moveh(object *ob); |
490 | void pace2_movev(object *ob); |
480 | void pace2_movev(object *ob); |
491 | void pace2_moveh(object *ob); |
481 | void pace2_moveh(object *ob); |
492 | void rand_move(object *ob); |
482 | void rand_move(object *ob); |
493 | void check_earthwalls(object *op, mapstruct *m, int x, int y); |
483 | void check_earthwalls(object *op, maptile *m, int x, int y); |
494 | void check_doors(object *op, mapstruct *m, int x, int y); |
484 | void check_doors(object *op, maptile *m, int x, int y); |
495 | void communicate(object *op, const char *txt); |
485 | void communicate(object *op, const char *txt); |
496 | int talk_to_npc(object *op, object *npc, const char *txt); |
486 | int talk_to_npc(object *op, object *npc, const char *txt); |
497 | int talk_to_wall(object *pl, object *npc, const char *txt); |
487 | int talk_to_wall(object *pl, object *npc, const char *txt); |
498 | object *find_mon_throw_ob(object *op); |
488 | object *find_mon_throw_ob(object *op); |
499 | int can_detect_enemy(object *op, object *enemy, rv_vector *rv); |
489 | int can_detect_enemy(object *op, object *enemy, rv_vector *rv); |
… | |
… | |
503 | int move_object(object *op, int dir); |
493 | int move_object(object *op, int dir); |
504 | int move_ob(object *op, int dir, object *originator); |
494 | int move_ob(object *op, int dir, object *originator); |
505 | int transfer_ob(object *op, int x, int y, int randomly, object *originator); |
495 | int transfer_ob(object *op, int x, int y, int randomly, object *originator); |
506 | int teleport(object *teleporter, uint8 tele_type, object *user); |
496 | int teleport(object *teleporter, uint8 tele_type, object *user); |
507 | void recursive_roll(object *op, int dir, object *pusher); |
497 | void recursive_roll(object *op, int dir, object *pusher); |
508 | int try_fit(object *op, mapstruct *m, int x, int y); |
498 | int try_fit(object *op, maptile *m, int x, int y); |
509 | int roll_ob(object *op, int dir, object *pusher); |
499 | int roll_ob(object *op, int dir, object *pusher); |
510 | int push_ob(object *who, int dir, object *pusher); |
500 | int push_ob(object *who, int dir, object *pusher); |
511 | /* pets.c */ |
501 | /* pets.c */ |
512 | object *get_pet_enemy(object *pet, rv_vector *rv); |
502 | object *get_pet_enemy(object *pet, rv_vector *rv); |
513 | void terminate_all_pets(object *owner); |
503 | void terminate_all_pets(object *owner); |
514 | void remove_all_pets(mapstruct *map); |
504 | void remove_all_pets(maptile *map); |
515 | int follow_owner(object *ob, object *owner); |
505 | int follow_owner(object *ob, object *owner); |
516 | void pet_move(object *ob); |
506 | void pet_move(object *ob); |
517 | object *fix_summon_pet(archetype *at, object *op, int dir, int is_golem); |
507 | object *fix_summon_pet(archetype *at, object *op, int dir, int is_golem); |
518 | void move_golem(object *op); |
508 | void move_golem(object *op); |
519 | void control_golem(object *op, int dir); |
509 | void control_golem(object *op, int dir); |
… | |
… | |
527 | player *find_player_partial_name(const char *plname); |
517 | player *find_player_partial_name(const char *plname); |
528 | void display_motd(const object *op); |
518 | void display_motd(const object *op); |
529 | void send_rules(const object *op); |
519 | void send_rules(const object *op); |
530 | void send_news(const object *op); |
520 | void send_news(const object *op); |
531 | int playername_ok(const char *cp); |
521 | int playername_ok(const char *cp); |
532 | int add_player(NewSocket *ns); |
|
|
533 | archetype *get_player_archetype(archetype *at); |
522 | archetype *get_player_archetype(archetype *at); |
534 | object *get_nearest_player(object *mon); |
523 | object *get_nearest_player(object *mon); |
535 | int path_to_player(object *mon, object *pl, unsigned mindiff); |
524 | int path_to_player(object *mon, object *pl, unsigned mindiff); |
536 | void give_initial_items(object *pl, treasurelist *items); |
525 | void give_initial_items(object *pl, treasurelist *items); |
537 | void get_name(object *op); |
526 | void get_name(object *op); |
538 | void get_password(object *op); |
527 | void get_password(object *op); |
539 | void play_again(object *op); |
528 | void play_again(object *op); |
540 | int receive_play_again(object *op, char key); |
529 | int receive_play_again(object *op, char key); |
541 | void confirm_password(object *op); |
530 | void confirm_password(object *op); |
542 | void get_party_password(object *op, partylist *party); |
531 | void get_party_password(object *op, partylist *party); |
543 | int roll_stat(void); |
|
|
544 | void roll_stats(object *op); |
|
|
545 | void Roll_Again(object *op); |
532 | void Roll_Again(object *op); |
546 | void Swap_Stat(object *op, int Swap_Second); |
533 | void Swap_Stat(object *op, int Swap_Second); |
547 | int key_roll_stat(object *op, char key); |
534 | int key_roll_stat(object *op, char key); |
548 | int key_change_class(object *op, char key); |
535 | int key_change_class(object *op, char key); |
549 | int key_confirm_quit(object *op, char key); |
536 | int key_confirm_quit(object *op, char key); |
… | |
… | |
586 | void *cfapi_get_hooks(int *type, ...); |
573 | void *cfapi_get_hooks(int *type, ...); |
587 | int plugins_remove_plugin(const char *id); |
574 | int plugins_remove_plugin(const char *id); |
588 | crossfire_plugin *plugins_find_plugin(const char *id); |
575 | crossfire_plugin *plugins_find_plugin(const char *id); |
589 | void plugins_display_list(object *op); |
576 | void plugins_display_list(object *op); |
590 | void *cfapi_system_find_animation(int *type, ...); |
577 | void *cfapi_system_find_animation(int *type, ...); |
591 | void *cfapi_system_strdup_local(int *type, ...); |
578 | void *cfapi_system_strdup(int *type, ...); |
592 | void *cfapi_system_register_global_event(int *type, ...); |
579 | void *cfapi_system_register_global_event(int *type, ...); |
593 | void *cfapi_system_unregister_global_event(int *type, ...); |
580 | void *cfapi_system_unregister_global_event(int *type, ...); |
594 | void *cfapi_system_add_string(int *type, ...); |
|
|
595 | void *cfapi_system_remove_string(int *type, ...); |
|
|
596 | void *cfapi_system_check_path(int *type, ...); |
581 | void *cfapi_system_check_path(int *type, ...); |
597 | void *cfapi_system_re_cmp(int *type, ...); |
582 | void *cfapi_system_re_cmp(int *type, ...); |
598 | void *cfapi_system_directory(int *type, ...); |
583 | void *cfapi_system_directory(int *type, ...); |
599 | void *cfapi_map_get_map(int *type, ...); |
584 | void *cfapi_map_get_map(int *type, ...); |
600 | void *cfapi_map_has_been_loaded(int *type, ...); |
585 | void *cfapi_map_has_been_loaded(int *type, ...); |
… | |
… | |
678 | int trap_see(object *op, object *trap); |
663 | int trap_see(object *op, object *trap); |
679 | int trap_show(object *trap, object *where); |
664 | int trap_show(object *trap, object *where); |
680 | int trap_disarm(object *disarmer, object *trap, int risk, object *skill); |
665 | int trap_disarm(object *disarmer, object *trap, int risk, object *skill); |
681 | void trap_adjust(object *trap, int difficulty); |
666 | void trap_adjust(object *trap, int difficulty); |
682 | /* shop.c */ |
667 | /* shop.c */ |
|
|
668 | int get_payment(object *pl); |
683 | uint64 query_cost(const object *tmp, object *who, int flag); |
669 | sint64 query_cost(const object *tmp, object *who, int flag); |
684 | const char *query_cost_string(const object *tmp, object *who, int flag); |
670 | const char *query_cost_string(const object *tmp, object *who, int flag); |
685 | uint64 query_money(const object *op); |
671 | sint64 query_money(const object *op); |
686 | int pay_for_amount(uint64 to_pay, object *pl); |
672 | int pay_for_amount(sint64 to_pay, object *pl); |
687 | int pay_for_item(object *op, object *pl); |
673 | int pay_for_item(object *op, object *pl); |
688 | int can_pay(object *pl); |
674 | int can_pay(object *pl); |
689 | int get_payment(object *pl, object *op); |
|
|
690 | void sell_item(object *op, object *pl); |
675 | void sell_item(object *op, object *pl); |
691 | double shopkeeper_approval(const mapstruct *map, const object *player); |
676 | double shopkeeper_approval(const maptile *map, const object *player); |
692 | int describe_shop(const object *op); |
677 | int describe_shop(const object *op); |
693 | void shop_listing(object *op); |
678 | void shop_listing(object *op); |
|
|
679 | bool is_in_shop (object *o); |
|
|
680 | bool is_in_shop (maptile *map, int x, int y); |
694 | /* skills.c */ |
681 | /* skills.c */ |
695 | int steal(object *op, int dir, object *skill); |
682 | int steal(object *op, int dir, object *skill); |
696 | int pick_lock(object *pl, int dir, object *skill); |
683 | int pick_lock(object *pl, int dir, object *skill); |
697 | int hide(object *op, object *skill); |
684 | int hide(object *op, object *skill); |
698 | int jump(object *pl, int dir, object *skill); |
685 | int jump(object *pl, int dir, object *skill); |
… | |
… | |
786 | /* spell_util.c */ |
773 | /* spell_util.c */ |
787 | object *find_random_spell_in_ob(object *ob, const char *skill); |
774 | object *find_random_spell_in_ob(object *ob, const char *skill); |
788 | void set_spell_skill(object *op, object *caster, object *spob, object *dest); |
775 | void set_spell_skill(object *op, object *caster, object *spob, object *dest); |
789 | void init_spells(void); |
776 | void init_spells(void); |
790 | void dump_spells(void); |
777 | void dump_spells(void); |
791 | void spell_effect(object *spob, int x, int y, mapstruct *map, object *originator); |
778 | void spell_effect(object *spob, int x, int y, maptile *map, object *originator); |
792 | int min_casting_level(object *caster, object *spell); |
779 | int min_casting_level(object *caster, object *spell); |
793 | int caster_level(object *caster, object *spell); |
780 | int caster_level(object *caster, object *spell); |
794 | sint16 SP_level_spellpoint_cost(object *caster, object *spell, int flags); |
781 | sint16 SP_level_spellpoint_cost(object *caster, object *spell, int flags); |
795 | int SP_level_dam_adjust(object *caster, object *spob); |
782 | int SP_level_dam_adjust(object *caster, object *spob); |
796 | int SP_level_duration_adjust(object *caster, object *spob); |
783 | int SP_level_duration_adjust(object *caster, object *spob); |
797 | int SP_level_range_adjust(object *caster, object *spob); |
784 | int SP_level_range_adjust(object *caster, object *spob); |
798 | object *check_spell_known(object *op, const char *name); |
785 | object *check_spell_known(object *op, const char *name); |
799 | object *lookup_spell_by_name(object *op, const char *spname); |
786 | object *lookup_spell_by_name(object *op, const char *spname); |
800 | int reflwall(mapstruct *m, int x, int y, object *sp_op); |
787 | int reflwall(maptile *m, int x, int y, object *sp_op); |
801 | int cast_create_obj(object *op, object *caster, object *new_op, int dir); |
788 | int cast_create_obj(object *op, object *caster, object *new_op, int dir); |
802 | int ok_to_put_more(mapstruct *m, sint16 x, sint16 y, object *op, int immune_stop); |
789 | int ok_to_put_more(maptile *m, sint16 x, sint16 y, object *op, int immune_stop); |
803 | int fire_arch_from_position(object *op, object *caster, sint16 x, sint16 y, int dir, object *spell); |
790 | int fire_arch_from_position(object *op, object *caster, sint16 x, sint16 y, int dir, object *spell); |
804 | void regenerate_rod(object *rod); |
791 | void regenerate_rod(object *rod); |
805 | void drain_rod_charge(object *rod); |
792 | void drain_rod_charge(object *rod); |
806 | object *find_target_for_friendly_spell(object *op, int dir); |
793 | object *find_target_for_friendly_spell(object *op, int dir); |
807 | int spell_find_dir(mapstruct *m, int x, int y, object *exclude); |
794 | int spell_find_dir(maptile *m, int x, int y, object *exclude); |
808 | void put_a_monster(object *op, const char *monstername); |
795 | void put_a_monster(object *op, const char *monstername); |
809 | int summon_hostile_monsters(object *op, int n, const char *monstername); |
796 | int summon_hostile_monsters(object *op, int n, const char *monstername); |
810 | void shuffle_attack(object *op, int change_face); |
797 | void shuffle_attack(object *op, int change_face); |
811 | void prayer_failure(object *op, int failure, int power); |
798 | void prayer_failure(object *op, int failure, int power); |
812 | void spell_failure(object *op, int failure, int power, object *skill); |
799 | void spell_failure(object *op, int failure, int power, object *skill); |
… | |
… | |
818 | /* swamp.c */ |
805 | /* swamp.c */ |
819 | void walk_on_deep_swamp(object *op, object *victim); |
806 | void walk_on_deep_swamp(object *op, object *victim); |
820 | void move_deep_swamp(object *op); |
807 | void move_deep_swamp(object *op); |
821 | /* swap.c */ |
808 | /* swap.c */ |
822 | void read_map_log(void); |
809 | void read_map_log(void); |
823 | void swap_map(mapstruct *map); |
810 | void swap_map(maptile *map); |
824 | void check_active_maps(void); |
811 | void check_active_maps(void); |
825 | mapstruct *map_least_timeout(char *except_level); |
812 | maptile *map_least_timeout(char *except_level); |
826 | void swap_below_max(char *except_level); |
813 | void swap_below_max(char *except_level); |
827 | int players_on_map(mapstruct *m, int show_all); |
814 | int players_on_map(maptile *m, int show_all); |
828 | void flush_old_maps(void); |
815 | void flush_old_maps(void); |
829 | /* time.c */ |
816 | /* time.c */ |
830 | void remove_door(object *op); |
817 | void remove_door(object *op); |
831 | void remove_door2(object *op); |
818 | void remove_door2(object *op); |
832 | void generate_monster_inv(object *gen); |
819 | void generate_monster_inv(object *gen); |
… | |
… | |
839 | void move_timed_gate(object *op); |
826 | void move_timed_gate(object *op); |
840 | void move_detector(object *op); |
827 | void move_detector(object *op); |
841 | void animate_trigger(object *op); |
828 | void animate_trigger(object *op); |
842 | void move_hole(object *op); |
829 | void move_hole(object *op); |
843 | object *stop_item(object *op); |
830 | object *stop_item(object *op); |
844 | void fix_stopped_item(object *op, mapstruct *map, object *originator); |
831 | void fix_stopped_item(object *op, maptile *map, object *originator); |
845 | object *fix_stopped_arrow(object *op); |
832 | object *fix_stopped_arrow(object *op); |
846 | void move_arrow(object *op); |
833 | void move_arrow(object *op); |
847 | void change_object(object *op); |
834 | void change_object(object *op); |
848 | void move_teleporter(object *op); |
835 | void move_teleporter(object *op); |
849 | void move_player_changer(object *op); |
836 | void move_player_changer(object *op); |
… | |
… | |
858 | void cftimer_process_event(object *ob); |
845 | void cftimer_process_event(object *ob); |
859 | int cftimer_create(int id, long delay, object *ob, int mode); |
846 | int cftimer_create(int id, long delay, object *ob, int mode); |
860 | int cftimer_destroy(int id); |
847 | int cftimer_destroy(int id); |
861 | int cftimer_find_free_id(void); |
848 | int cftimer_find_free_id(void); |
862 | /* weather.c */ |
849 | /* weather.c */ |
863 | void set_darkness_map(mapstruct *m); |
850 | void set_darkness_map(maptile *m); |
864 | void tick_the_clock(void); |
851 | void tick_the_clock(void); |
865 | void init_weather(void); |
852 | void init_weather(void); |
866 | void weather_effect(const char *filename); |
853 | void weather_effect(const char *filename); |
867 | int worldmap_to_weathermap(int x, int y, int *wx, int *wy, mapstruct *m); |
854 | int worldmap_to_weathermap(int x, int y, int *wx, int *wy, maptile *m); |
868 | int real_world_temperature(int x, int y, mapstruct *m); |
855 | int real_world_temperature(int x, int y, maptile *m); |
869 | int similar_direction(int a, int b); |
856 | int similar_direction(int a, int b); |