--- deliantra/server/include/sproto.h 2006/09/03 00:18:41 1.17 +++ deliantra/server/include/sproto.h 2006/09/11 23:33:29 1.18 @@ -3,9 +3,9 @@ /* alchemy.c */ int need_identify (const object *obj); int apply_shop_mat (object *shop_mat, object *op); -const char *cost_string_from_value(uint64 cost, int approx); -void pay_player (object *pl, uint64 amount); -uint64 pay_player_arch (object *pl, const char *arch, uint64 amount); +const char *cost_string_from_value(sint64 cost, int approx); +void pay_player (object *pl, sint64 amount); +sint64 pay_player_arch (object *pl, const char *arch, sint64 amount); void attempt_do_alchemy(object *caster, object *cauldron); int content_recipe_value(object *op); int numb_ob_inside(object *op); @@ -682,13 +682,13 @@ int trap_disarm(object *disarmer, object *trap, int risk, object *skill); void trap_adjust(object *trap, int difficulty); /* shop.c */ -uint64 query_cost(const object *tmp, object *who, int flag); +int get_payment(object *pl); +sint64 query_cost(const object *tmp, object *who, int flag); const char *query_cost_string(const object *tmp, object *who, int flag); -uint64 query_money(const object *op); -int pay_for_amount(uint64 to_pay, object *pl); +sint64 query_money(const object *op); +int pay_for_amount(sint64 to_pay, object *pl); int pay_for_item(object *op, object *pl); int can_pay(object *pl); -int get_payment(object *pl, object *op); void sell_item(object *op, object *pl); double shopkeeper_approval(const mapstruct *map, const object *player); int describe_shop(const object *op);