|
|
1 | /* arch.c */ |
|
|
2 | archetype *find_archetype (const char *name); |
1 | /* alchemy.c */ |
3 | /* alchemy.c */ |
2 | int need_identify (const object *obj); |
4 | int need_identify (const object *obj); |
3 | int apply_shop_mat (object *shop_mat, object *op); |
5 | int apply_shop_mat (object *shop_mat, object *op); |
4 | const char *cost_string_from_value(uint64 cost, int approx); |
6 | const char *cost_string_from_value(sint64 cost, int approx); |
5 | void pay_player (object *pl, uint64 amount); |
7 | void pay_player (object *pl, sint64 amount); |
6 | uint64 pay_player_arch (object *pl, const char *arch, uint64 amount); |
8 | sint64 pay_player_arch (object *pl, const char *arch, sint64 amount); |
7 | void attempt_do_alchemy(object *caster, object *cauldron); |
9 | void attempt_do_alchemy(object *caster, object *cauldron); |
8 | int content_recipe_value(object *op); |
10 | int content_recipe_value(object *op); |
9 | int numb_ob_inside(object *op); |
11 | int numb_ob_inside(object *op); |
10 | object *attempt_recipe(object *caster, object *cauldron, int ability, recipe *rp, int nbatches); |
12 | object *attempt_recipe(object *caster, object *cauldron, int ability, recipe *rp, int nbatches); |
11 | void adjust_product(object *item, int lvl, int yield); |
13 | void adjust_product(object *item, int lvl, int yield); |
… | |
… | |
452 | void process_players1(mapstruct *map); |
454 | void process_players1(mapstruct *map); |
453 | void process_players2(mapstruct *map); |
455 | void process_players2(mapstruct *map); |
454 | void process_events(mapstruct *map); |
456 | void process_events(mapstruct *map); |
455 | void clean_tmp_files(void); |
457 | void clean_tmp_files(void); |
456 | void cleanup(void); |
458 | void cleanup(void); |
457 | void leave(player *pl, int draw_exit); |
459 | void leave(player *pl,int draw_exit); |
458 | int forbid_play(void); |
460 | int forbid_play(void); |
459 | void do_specials(void); |
461 | void do_specials(void); |
460 | int main(int argc, char **argv); |
462 | int main(int argc, char **argv); |
461 | /* monster.c */ |
463 | /* monster.c */ |
462 | object *check_enemy(object *npc, rv_vector *rv); |
464 | object *check_enemy(object *npc, rv_vector *rv); |
… | |
… | |
591 | void plugins_display_list(object *op); |
593 | void plugins_display_list(object *op); |
592 | void *cfapi_system_find_animation(int *type, ...); |
594 | void *cfapi_system_find_animation(int *type, ...); |
593 | void *cfapi_system_strdup_local(int *type, ...); |
595 | void *cfapi_system_strdup_local(int *type, ...); |
594 | void *cfapi_system_register_global_event(int *type, ...); |
596 | void *cfapi_system_register_global_event(int *type, ...); |
595 | void *cfapi_system_unregister_global_event(int *type, ...); |
597 | void *cfapi_system_unregister_global_event(int *type, ...); |
596 | void *cfapi_system_add_string(int *type, ...); |
|
|
597 | void *cfapi_system_remove_string(int *type, ...); |
|
|
598 | void *cfapi_system_check_path(int *type, ...); |
598 | void *cfapi_system_check_path(int *type, ...); |
599 | void *cfapi_system_re_cmp(int *type, ...); |
599 | void *cfapi_system_re_cmp(int *type, ...); |
600 | void *cfapi_system_directory(int *type, ...); |
600 | void *cfapi_system_directory(int *type, ...); |
601 | void *cfapi_map_get_map(int *type, ...); |
601 | void *cfapi_map_get_map(int *type, ...); |
602 | void *cfapi_map_has_been_loaded(int *type, ...); |
602 | void *cfapi_map_has_been_loaded(int *type, ...); |
… | |
… | |
680 | int trap_see(object *op, object *trap); |
680 | int trap_see(object *op, object *trap); |
681 | int trap_show(object *trap, object *where); |
681 | int trap_show(object *trap, object *where); |
682 | int trap_disarm(object *disarmer, object *trap, int risk, object *skill); |
682 | int trap_disarm(object *disarmer, object *trap, int risk, object *skill); |
683 | void trap_adjust(object *trap, int difficulty); |
683 | void trap_adjust(object *trap, int difficulty); |
684 | /* shop.c */ |
684 | /* shop.c */ |
|
|
685 | int get_payment(object *pl); |
685 | uint64 query_cost(const object *tmp, object *who, int flag); |
686 | sint64 query_cost(const object *tmp, object *who, int flag); |
686 | const char *query_cost_string(const object *tmp, object *who, int flag); |
687 | const char *query_cost_string(const object *tmp, object *who, int flag); |
687 | uint64 query_money(const object *op); |
688 | sint64 query_money(const object *op); |
688 | int pay_for_amount(uint64 to_pay, object *pl); |
689 | int pay_for_amount(sint64 to_pay, object *pl); |
689 | int pay_for_item(object *op, object *pl); |
690 | int pay_for_item(object *op, object *pl); |
690 | int can_pay(object *pl); |
691 | int can_pay(object *pl); |
691 | int get_payment(object *pl, object *op); |
|
|
692 | void sell_item(object *op, object *pl); |
692 | void sell_item(object *op, object *pl); |
693 | double shopkeeper_approval(const mapstruct *map, const object *player); |
693 | double shopkeeper_approval(const mapstruct *map, const object *player); |
694 | int describe_shop(const object *op); |
694 | int describe_shop(const object *op); |
695 | void shop_listing(object *op); |
695 | void shop_listing(object *op); |
|
|
696 | bool is_in_shop (object *o); |
|
|
697 | bool is_in_shop (mapstruct *map, int x, int y); |
696 | /* skills.c */ |
698 | /* skills.c */ |
697 | int steal(object *op, int dir, object *skill); |
699 | int steal(object *op, int dir, object *skill); |
698 | int pick_lock(object *pl, int dir, object *skill); |
700 | int pick_lock(object *pl, int dir, object *skill); |
699 | int hide(object *op, object *skill); |
701 | int hide(object *op, object *skill); |
700 | int jump(object *pl, int dir, object *skill); |
702 | int jump(object *pl, int dir, object *skill); |