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.33 by root, Mon Jan 15 00:40:49 2007 UTC vs.
Revision 1.35 by root, Mon Jan 15 01:39:42 2007 UTC

175extern int find_first_free_spot(const object *ob, maptile *m, int x, int y); 175extern int find_first_free_spot(const object *ob, maptile *m, int x, int y);
176extern void get_search_arr(int *search_arr); 176extern void get_search_arr(int *search_arr);
177extern int find_dir(maptile *m, int x, int y, object *exclude); 177extern int find_dir(maptile *m, int x, int y, object *exclude);
178extern int distance(const object *ob1, const object *ob2); 178extern int distance(const object *ob1, const object *ob2);
179extern int find_dir_2(int x, int y); 179extern int find_dir_2(int x, int y);
180extern int absdir(int d);
181extern int dirdiff(int dir1, int dir2); 180extern int dirdiff(int dir1, int dir2);
182extern int can_see_monsterP(maptile *m, int x, int y, int dir); 181extern int can_see_monsterP(maptile *m, int x, int y, int dir);
183extern int can_pick(const object *who, const object *item); 182extern int can_pick(const object *who, const object *item);
184extern object *object_create_clone(object *asrc); 183extern object *object_create_clone(object *asrc);
185extern object *load_object_str(const char *obstr); 184extern object *load_object_str(const char *obstr);
193extern void path_normalize(char *path); 192extern void path_normalize(char *path);
194extern char *path_combine_and_normalize(const char *src, const char *dst); 193extern char *path_combine_and_normalize(const char *src, const char *dst);
195/* porting.c */ 194/* porting.c */
196extern void remove_directory(const char *path); 195extern void remove_directory(const char *path);
197extern char *strcasestr_local(const char *s, const char *find); 196extern char *strcasestr_local(const char *s, const char *find);
198extern int isqrt(int n);
199extern char *ltostr10(signed long n); 197extern char *ltostr10(signed long n);
200extern char *doubletostr10(double v); 198extern char *doubletostr10(double v);
201extern FILE *open_and_uncompress(const char *name, int flag, int *compressed); 199extern FILE *open_and_uncompress(const char *name, int flag, int *compressed);
202extern void close_and_delete(FILE *fp, int compressed); 200extern void close_and_delete(FILE *fp, int compressed);
203extern void make_path_to_file(char *filename); 201extern void make_path_to_file(char *filename);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines