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.62 by root, Sat May 17 00:17:02 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);
191extern int distance(const object *ob1, const object *ob2); 190extern int distance(const object *ob1, const object *ob2);
192extern int find_dir_2(int x, int y); 191extern int find_dir_2(int x, int y);
193extern int dirdiff(int dir1, int dir2); 192extern int dirdiff(int dir1, int dir2);
194extern int can_see_monsterP(maptile *m, int x, int y, int dir); 193extern int can_see_monsterP(maptile *m, int x, int y, int dir);
195extern int can_pick(const object *who, const object *item); 194extern 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); 195extern object *find_obj_by_type_subtype(const object *who, int type, int subtype);
198/* path.c */ 196/* path.c */
199extern char *path_combine(const char *src, const char *dst); 197extern char *path_combine(const char *src, const char *dst);
200extern void path_normalize(char *path); 198extern void path_normalize(char *path);
201extern char *path_combine_and_normalize(const char *src, const char *dst); 199extern char *path_combine_and_normalize(const char *src, const char *dst);
308extern void make_list_like(char *input); 306extern void make_list_like(char *input);
309/* loader.c */ 307/* loader.c */
310extern int set_variable(object *op, char *buf); 308extern int set_variable(object *op, char *buf);
311extern void init_vars(); 309extern void init_vars();
312extern char *get_ob_diff(object *op, object *op2); 310extern char *get_ob_diff(object *op, object *op2);
311/* map.c */
312extern maptile *find_style (const char *dirname, const char *stylename, int difficulty);
313extern object *pick_random_object (maptile *style);
313 314
314/* former funcpoint.h */ 315/* former funcpoint.h */
315/* 316/*
316 * These function-pointers are defined in common/glue.c 317 * These function-pointers are defined in common/glue.c
317 * The functions used to set and initialise them are also there. 318 * The functions used to set and initialise them are also there.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines