--- deliantra/server/include/libproto.h 2008/05/03 11:14:50 1.59 +++ deliantra/server/include/libproto.h 2008/12/19 22:47:29 1.63 @@ -44,7 +44,6 @@ extern void free_all_archs(); extern void check_generators(); extern bool load_archetype_file(const char *filename); -extern object *arch_to_object(archetype *at); extern object *create_singularity(const char *name); extern object *get_archetype(const char *name); extern unsigned long hasharch(const char *str, int tablesize); @@ -155,7 +154,6 @@ extern void update_los(object *op); extern void update_all_map_los(maptile *map); extern void update_all_los(const maptile *map, int x, int y); -extern void print_los(object *op); extern void make_sure_seen(const object *op); extern void make_sure_not_seen(const object *op); /* map.c */ @@ -193,7 +191,6 @@ extern int dirdiff(int dir1, int dir2); extern int can_see_monsterP(maptile *m, int x, int y, int dir); extern int can_pick(const object *who, const object *item); -extern object *object_create_clone(object *asrc); extern object *find_obj_by_type_subtype(const object *who, int type, int subtype); /* path.c */ extern char *path_combine(const char *src, const char *dst); @@ -310,6 +307,9 @@ extern int set_variable(object *op, char *buf); extern void init_vars(); extern char *get_ob_diff(object *op, object *op2); +/* map.c */ +extern maptile *find_style (const char *dirname, const char *stylename, int difficulty); +extern object *pick_random_object (maptile *style); /* former funcpoint.h */ /*