ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/libproto.h
(Generate patch)

Comparing deliantra/server/include/libproto.h (file contents):
Revision 1.59 by root, Sat May 3 11:14:50 2008 UTC vs.
Revision 1.63 by root, Fri Dec 19 22:47:29 2008 UTC

42extern void dump_arch(archetype *at); 42extern void dump_arch(archetype *at);
43extern void dump_all_archetypes(); 43extern void dump_all_archetypes();
44extern void free_all_archs(); 44extern void free_all_archs();
45extern void check_generators(); 45extern void check_generators();
46extern bool load_archetype_file(const char *filename); 46extern bool load_archetype_file(const char *filename);
47extern object *arch_to_object(archetype *at);
48extern object *create_singularity(const char *name); 47extern object *create_singularity(const char *name);
49extern object *get_archetype(const char *name); 48extern object *get_archetype(const char *name);
50extern unsigned long hasharch(const char *str, int tablesize); 49extern unsigned long hasharch(const char *str, int tablesize);
51extern archetype *type_to_archetype(int type); 50extern archetype *type_to_archetype(int type);
52extern object *clone_arch(int type); 51extern object *clone_arch(int type);
153extern void clear_los(player *pl); 152extern void clear_los(player *pl);
154extern int has_carried_lights(const object *op); 153extern int has_carried_lights(const object *op);
155extern void update_los(object *op); 154extern void update_los(object *op);
156extern void update_all_map_los(maptile *map); 155extern void update_all_map_los(maptile *map);
157extern void update_all_los(const maptile *map, int x, int y); 156extern void update_all_los(const maptile *map, int x, int y);
158extern void print_los(object *op);
159extern void make_sure_seen(const object *op); 157extern void make_sure_seen(const object *op);
160extern void make_sure_not_seen(const object *op); 158extern void make_sure_not_seen(const object *op);
161/* map.c */ 159/* map.c */
162extern const char *create_pathname (const char *name); 160extern const char *create_pathname (const char *name);
163extern int blocked_link(object *ob, maptile *m, int sx, int sy); 161extern int blocked_link(object *ob, maptile *m, int sx, int sy);
191extern int distance(const object *ob1, const object *ob2); 189extern int distance(const object *ob1, const object *ob2);
192extern int find_dir_2(int x, int y); 190extern int find_dir_2(int x, int y);
193extern int dirdiff(int dir1, int dir2); 191extern int dirdiff(int dir1, int dir2);
194extern int can_see_monsterP(maptile *m, int x, int y, int dir); 192extern int can_see_monsterP(maptile *m, int x, int y, int dir);
195extern int can_pick(const object *who, const object *item); 193extern int can_pick(const object *who, const object *item);
196extern object *object_create_clone(object *asrc);
197extern object *find_obj_by_type_subtype(const object *who, int type, int subtype); 194extern object *find_obj_by_type_subtype(const object *who, int type, int subtype);
198/* path.c */ 195/* path.c */
199extern char *path_combine(const char *src, const char *dst); 196extern char *path_combine(const char *src, const char *dst);
200extern void path_normalize(char *path); 197extern void path_normalize(char *path);
201extern char *path_combine_and_normalize(const char *src, const char *dst); 198extern char *path_combine_and_normalize(const char *src, const char *dst);
308extern void make_list_like(char *input); 305extern void make_list_like(char *input);
309/* loader.c */ 306/* loader.c */
310extern int set_variable(object *op, char *buf); 307extern int set_variable(object *op, char *buf);
311extern void init_vars(); 308extern void init_vars();
312extern char *get_ob_diff(object *op, object *op2); 309extern char *get_ob_diff(object *op, object *op2);
310/* map.c */
311extern maptile *find_style (const char *dirname, const char *stylename, int difficulty);
312extern object *pick_random_object (maptile *style);
313 313
314/* former funcpoint.h */ 314/* former funcpoint.h */
315/* 315/*
316 * These function-pointers are defined in common/glue.c 316 * These function-pointers are defined in common/glue.c
317 * The functions used to set and initialise them are also there. 317 * The functions used to set and initialise them are also there.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines