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.5 by root, Mon Aug 28 14:05:24 2006 UTC vs.
Revision 1.7 by root, Wed Aug 30 16:30:37 2006 UTC

29extern archetype *type_to_archetype(int type); 29extern archetype *type_to_archetype(int type);
30extern object *clone_arch(int type); 30extern object *clone_arch(int type);
31extern object *object_create_arch(archetype *at); 31extern object *object_create_arch(archetype *at);
32/* button.c */ 32/* button.c */
33extern void push_button(object *op); 33extern void push_button(object *op);
34extern void activate_connection (mapstruct *map, long connection, bool state = true);
34extern void update_button(object *op); 35extern void update_button(object *op);
36extern oblinkpt *get_connection_links (mapstruct *map, long connection);
35extern void update_buttons(mapstruct *m); 37extern void update_buttons(mapstruct *m);
36extern void use_trigger(object *op); 38extern void use_trigger(object *op);
37extern void animate_turning(object *op); 39extern void animate_turning(object *op);
38extern int check_altar_sacrifice(const object *altar, const object *sacrifice); 40extern int check_altar_sacrifice(const object *altar, const object *sacrifice);
39extern int operate_altar(object *altar, object **sacrifice); 41extern int operate_altar(object *altar, object **sacrifice);
40extern void trigger_move(object *op, int state); 42extern void trigger_move(object *op, int state);
41extern int check_trigger(object *op, object *cause); 43extern int check_trigger(object *op, object *cause);
42extern void add_button_link(object *button, mapstruct *map, int connected); 44extern void add_button_link(object *button, mapstruct *map, int connected);
43extern void remove_button_link(object *op); 45extern void remove_button_link(object *op);
44extern objectlink *get_button_links(const object *button); 46extern oblinkpt *get_button_links(const object *button);
45extern int get_button_value(const object *button); 47extern int get_button_value(const object *button);
46extern void do_mood_floor(object *op, object *op2); 48extern void do_mood_floor(object *op, object *source = 0);
47extern object *check_inv_recursive(object *op, const object *trig); 49extern object *check_inv_recursive(object *op, const object *trig);
48extern void check_inv(object *op, object *trig); 50extern void check_inv(object *op, object *trig);
49extern void verify_button_links(const mapstruct *map); 51extern void verify_button_links(const mapstruct *map);
50/* exp.c */ 52/* exp.c */
51extern int new_exp(const object *ob); 53extern int new_exp(const object *ob);
258extern char *tempnam_local(const char *dir, const char *pfx); 260extern char *tempnam_local(const char *dir, const char *pfx);
259extern void remove_directory(const char *path); 261extern void remove_directory(const char *path);
260extern char *strdup_local(const char *str); 262extern char *strdup_local(const char *str);
261extern long strtol_local(register char *str, char **ptr, register int base); 263extern long strtol_local(register char *str, char **ptr, register int base);
262extern char *strcasestr_local(const char *s, const char *find); 264extern char *strcasestr_local(const char *s, const char *find);
263extern char *strerror_local(int errnum);
264extern int isqrt(int n); 265extern int isqrt(int n);
265extern char *ltostr10(signed long n); 266extern char *ltostr10(signed long n);
266extern char *doubletostr10(double v); 267extern char *doubletostr10(double v);
267extern void save_long(char *buf, char *name, long n);
268extern void save_long_long(char *buf, char *name, sint64 n);
269extern FILE *open_and_uncompress(const char *name, int flag, int *compressed); 268extern FILE *open_and_uncompress(const char *name, int flag, int *compressed);
270extern void close_and_delete(FILE *fp, int compressed); 269extern void close_and_delete(FILE *fp, int compressed);
271extern void make_path_to_file(char *filename); 270extern void make_path_to_file(char *filename);
272/* player.c */ 271/* player.c */
273extern void free_player(player *pl); 272extern void free_player(player *pl);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines