1 | /* arch.c */ |
1 | /* arch.c */ |
2 | archetype *find_archetype (const char *name); |
2 | archetype *find_archetype (const char *name); |
3 | /* alchemy.c */ |
3 | /* alchemy.c */ |
4 | int need_identify (const object *obj); |
4 | int need_identify (const object *obj); |
5 | int apply_shop_mat (object *shop_mat, object *op); |
5 | int apply_shop_mat (object *shop_mat, object *op); |
6 | const char *cost_string_from_value(uint64 cost, int approx); |
6 | const char *cost_string_from_value(sint64 cost, int approx); |
7 | void pay_player (object *pl, uint64 amount); |
7 | void pay_player (object *pl, sint64 amount); |
8 | uint64 pay_player_arch (object *pl, const char *arch, uint64 amount); |
8 | sint64 pay_player_arch (object *pl, const char *arch, sint64 amount); |
9 | void attempt_do_alchemy(object *caster, object *cauldron); |
9 | void attempt_do_alchemy(object *caster, object *cauldron); |
10 | int content_recipe_value(object *op); |
10 | int content_recipe_value(object *op); |
11 | int numb_ob_inside(object *op); |
11 | int numb_ob_inside(object *op); |
12 | 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); |
13 | void adjust_product(object *item, int lvl, int yield); |
13 | void adjust_product(object *item, int lvl, int yield); |
… | |
… | |
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); |
696 | bool is_in_shop (object *o); |