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.64 by root, Sat Dec 20 02:32:31 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);
148extern void change_exp(object *op, sint64 exp, const char *skill_name, int flag); 147extern void change_exp(object *op, sint64 exp, const char *skill_name, int flag);
149extern void apply_death_exp_penalty(object *op); 148extern void apply_death_exp_penalty(object *op);
150extern int did_make_save(const object *op, int level, int bonus); 149extern int did_make_save(const object *op, int level, int bonus);
151/* los.c */ 150/* los.c */
152extern void init_block(); 151extern void init_block();
153extern void clear_los(player *pl);
154extern int has_carried_lights(const object *op); 152extern int has_carried_lights(const object *op);
155extern void update_los(object *op); 153extern void update_los(object *op);
156extern void update_all_map_los(maptile *map); 154extern void update_all_map_los(maptile *map);
157extern void update_all_los(const maptile *map, int x, int y); 155extern 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); 156extern void make_sure_seen(const object *op);
160extern void make_sure_not_seen(const object *op); 157extern void make_sure_not_seen(const object *op);
161/* map.c */ 158/* map.c */
162extern const char *create_pathname (const char *name); 159extern const char *create_pathname (const char *name);
163extern int blocked_link(object *ob, maptile *m, int sx, int sy); 160extern int blocked_link(object *ob, maptile *m, int sx, int sy);
191extern int distance(const object *ob1, const object *ob2); 188extern int distance(const object *ob1, const object *ob2);
192extern int find_dir_2(int x, int y); 189extern int find_dir_2(int x, int y);
193extern int dirdiff(int dir1, int dir2); 190extern int dirdiff(int dir1, int dir2);
194extern int can_see_monsterP(maptile *m, int x, int y, int dir); 191extern int can_see_monsterP(maptile *m, int x, int y, int dir);
195extern int can_pick(const object *who, const object *item); 192extern 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); 193extern object *find_obj_by_type_subtype(const object *who, int type, int subtype);
198/* path.c */ 194/* path.c */
199extern char *path_combine(const char *src, const char *dst); 195extern char *path_combine(const char *src, const char *dst);
200extern void path_normalize(char *path); 196extern void path_normalize(char *path);
201extern char *path_combine_and_normalize(const char *src, const char *dst); 197extern char *path_combine_and_normalize(const char *src, const char *dst);
308extern void make_list_like(char *input); 304extern void make_list_like(char *input);
309/* loader.c */ 305/* loader.c */
310extern int set_variable(object *op, char *buf); 306extern int set_variable(object *op, char *buf);
311extern void init_vars(); 307extern void init_vars();
312extern char *get_ob_diff(object *op, object *op2); 308extern char *get_ob_diff(object *op, object *op2);
309/* map.c */
310extern maptile *find_style (const char *dirname, const char *stylename, int difficulty);
311extern object *pick_random_object (maptile *style);
313 312
314/* former funcpoint.h */ 313/* former funcpoint.h */
315/* 314/*
316 * These function-pointers are defined in common/glue.c 315 * These function-pointers are defined in common/glue.c
317 * The functions used to set and initialise them are also there. 316 * The functions used to set and initialise them are also there.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines