--- deliantra/server/include/sproto.h 2006/08/13 17:16:02 1.9 +++ deliantra/server/include/sproto.h 2006/08/29 10:51:43 1.14 @@ -1,4 +1,7 @@ /* 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); void attempt_do_alchemy(object *caster, object *cauldron); @@ -433,6 +436,7 @@ void copy_file(const char *filename, FILE *fpout); void check_login(object *op); /* main.c */ +void server_tick (); void version(object *op); void info_keys(object *op); void start_info(object *op); @@ -689,6 +693,8 @@ double shopkeeper_approval(const mapstruct *map, const object *player); int describe_shop(const object *op); void shop_listing(object *op); +bool is_in_shop (object *o); +bool is_in_shop (mapstruct *map, int x, int y); /* skills.c */ int steal(object *op, int dir, object *skill); int pick_lock(object *pl, int dir, object *skill);