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.44 by root, Mon Apr 16 10:14:25 2007 UTC vs.
Revision 1.47 by root, Sat May 12 18:14:47 2007 UTC

9extern object *get_archetype_by_skill_name(const char *skill, int type); 9extern object *get_archetype_by_skill_name(const char *skill, int type);
10extern archetype *get_archetype_by_type_subtype(int type, int subtype); 10extern archetype *get_archetype_by_type_subtype(int type, int subtype);
11extern object *get_archetype_by_object_name(const char *name); 11extern object *get_archetype_by_object_name(const char *name);
12extern object *find_best_weapon_used_match(object *pl, const char *params); 12extern object *find_best_weapon_used_match(object *pl, const char *params);
13extern int item_matched_string(object *pl, object *op, const char *name); 13extern int item_matched_string(object *pl, object *op, const char *name);
14extern void init_archetypes();
15extern void arch_info(object *op); 14extern void arch_info(object *op);
16extern void clear_archetable(); 15extern void clear_archetable();
17extern void init_archetable();
18extern void dump_arch(archetype *at); 16extern void dump_arch(archetype *at);
19extern void dump_all_archetypes(); 17extern void dump_all_archetypes();
20extern void free_all_archs(); 18extern void free_all_archs();
21extern void check_generators(); 19extern void check_generators();
22extern void load_archetypes(); 20extern bool load_archetype_file(const char *filename);
23extern object *arch_to_object(archetype *at); 21extern object *arch_to_object(archetype *at);
24extern object *create_singularity(const char *name); 22extern object *create_singularity(const char *name);
25extern object *get_archetype(const char *name); 23extern object *get_archetype(const char *name);
26extern unsigned long hasharch(const char *str, int tablesize); 24extern unsigned long hasharch(const char *str, int tablesize);
27extern archetype *type_to_archetype(int type); 25extern archetype *type_to_archetype(int type);
107extern objectlink *get_objectlink(); 105extern objectlink *get_objectlink();
108extern oblinkpt *get_objectlinkpt(); 106extern oblinkpt *get_objectlinkpt();
109extern void free_objectlink(objectlink *ol); 107extern void free_objectlink(objectlink *ol);
110extern void free_objectlinkpt(oblinkpt *obp); 108extern void free_objectlinkpt(oblinkpt *obp);
111/* living.c */ 109/* living.c */
112extern void set_attr_value(living *stats, int attr, sint8 value);
113extern void change_attr_value(living *stats, int attr, sint8 value); 110extern void change_attr_value(living *stats, int attr, sint8 value);
114extern sint8 get_attr_value(const living *stats, int attr);
115extern void check_stat_bounds(living *stats); 111extern void check_stat_bounds(living *stats);
116extern int change_abil(object *op, object *tmp); 112extern int change_abil(object *op, object *tmp);
117extern int allowed_class(const object *op); 113extern int allowed_class(const object *op);
118extern void set_dragon_name(object *pl, const object *abil, const object *skin); 114extern void set_dragon_name(object *pl, const object *abil, const object *skin);
119extern void dragon_level_gain(object *who); 115extern void dragon_level_gain(object *who);
260extern void get_tod(timeofday_t *tod); 256extern void get_tod(timeofday_t *tod);
261extern void print_tod(object *op); 257extern void print_tod(object *op);
262extern void time_info(object *op); 258extern void time_info(object *op);
263/* treasure.c */ 259/* treasure.c */
264extern void init_archetype_pointers(); 260extern void init_archetype_pointers();
265extern bool load_treasures(); 261extern bool load_treasure_file(const char *filename);
266extern void create_treasure(treasurelist *t, object *op, int flag, int difficulty, int tries);
267extern object *generate_treasure(treasurelist *t, int difficulty); 262extern object *generate_treasure(treasurelist *t, int difficulty);
268extern int level_for_item(const object *op, int difficulty); 263extern int level_for_item(const object *op, int difficulty);
269extern int magic_from_difficulty(int difficulty); 264extern int magic_from_difficulty(int difficulty);
270extern void set_abs_magic(object *op, int magic); 265extern void set_abs_magic(object *op, int magic);
271extern void set_ring_bonus(object *op, int bonus); 266extern void set_ring_bonus(object *op, int bonus);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines