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.61 by root, Sun May 4 14:12:37 2008 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines