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.74 by root, Mon Oct 12 14:00:58 2009 UTC vs.
Revision 1.89 by root, Thu Apr 15 02:51:39 2010 UTC

1/* 1/*
2 * This file is part of Deliantra, the Roguelike Realtime MMORPG. 2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 * 3 *
4 * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team 4 * Copyright (©) 2005,2006,2007,2008,2009,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team 5 * Copyright (©) 2002 Mark Wedel & Crossfire Development Team
6 * Copyright (©) 1992,2007 Frank Tore Johansen 6 * Copyright (©) 1992 Frank Tore Johansen
7 * 7 *
8 * Deliantra is free software: you can redistribute it and/or modify it under 8 * Deliantra is free software: you can redistribute it and/or modify it under
9 * the terms of the Affero GNU General Public License as published by the 9 * the terms of the Affero GNU General Public License as published by the
10 * Free Software Foundation, either version 3 of the License, or (at your 10 * Free Software Foundation, either version 3 of the License, or (at your
11 * option) any later version. 11 * option) any later version.
24 24
25#ifndef LIBPROTO_H_ 25#ifndef LIBPROTO_H_
26#define LIBPROTO_H_ 26#define LIBPROTO_H_
27 27
28/* anim.c */ 28/* anim.c */
29extern void free_all_anim (); 29void free_all_anim ();
30extern void init_anim (); 30void init_anim ();
31extern int find_animation (const char *name); 31int find_animation (const char *name);
32extern void animate_object (object *op, int dir); 32void animate_object (object *op, int dir);
33/* arch.c */ 33/* arch.c */
34extern archetype *find_archetype_by_object_name (const char *name); 34archetype *find_archetype_by_object_name (const char *name);
35extern archetype *find_archetype_by_object_type_name (int type, const char *name); 35archetype *find_archetype_by_object_type_name (int type, const char *name);
36extern object *get_archetype_by_skill_name (const char *skill, int type); 36object *get_archetype_by_skill_name (const char *skill, int type);
37extern archetype *get_archetype_by_type_subtype (int type, int subtype); 37archetype *get_archetype_by_type_subtype (int type, int subtype);
38extern object *get_archetype_by_object_name (const char *name); 38object *get_archetype_by_object_name (const char *name);
39extern object *find_best_weapon_used_match (object *pl, const char *params); 39object *find_best_weapon_used_match (object *pl, const char *params);
40extern int item_matched_string (object *pl, object *op, const char *name); 40int item_matched_string (object *pl, object *op, const char *name);
41extern void arch_info (object *op); 41void arch_info (object *op);
42extern void clear_archetable (); 42void clear_archetable ();
43extern void dump_arch (archetype *at); 43void dump_arch (archetype *at);
44extern void dump_all_archetypes (); 44void dump_all_archetypes ();
45extern void free_all_archs (); 45void free_all_archs ();
46extern void check_generators (); 46void check_generators ();
47extern bool load_archetype_file (const char *filename); 47bool load_archetype_file (const char *filename);
48extern object *create_singularity (const char *name);
49extern object *get_archetype (const char *name); 48object *get_archetype (const char *name);
50extern unsigned long hasharch (const char *str, int tablesize); 49unsigned long hasharch (const char *str, int tablesize);
51extern archetype *type_to_archetype (int type);
52extern object *clone_arch (int type); 50object *clone_arch (int type);
53extern object *object_create_arch (archetype *at); 51object *object_create_arch (archetype *at);
54/* button.c */ 52/* button.c */
55extern void push_button (object *op, object *originator); 53void push_button (object *op, object *originator);
56extern void update_button (object *op, object *originator); 54void update_button (object *op, object *originator);
57extern void use_trigger (object *op, object *originator); 55void use_trigger (object *op, object *originator);
58extern void animate_turning (object *op); 56void animate_turning (object *op);
59extern int check_altar_sacrifice (object *altar, object *sacrifice, object *originator = 0); 57int check_altar_sacrifice (object *altar, object *sacrifice, object *originator = 0);
60extern int operate_altar (object *altar, object **sacrifice, object *originator = 0); 58int operate_altar (object *altar, object **sacrifice, object *originator = 0);
61extern void trigger_move (object *op, int state, object *originator);
62extern int check_trigger (object *op, object *cause, object *originator = 0); 59int check_trigger (object *op, object *cause, object *originator = 0);
63extern int get_button_value (const object *button); 60int get_button_value (const object *button);
64extern void do_mood_floor (object *op, object *source = 0); 61void do_mood_floor (object *op, object *source = 0);
65extern object *check_inv_recursive (object *op, const object *trig); 62object *check_inv_recursive (object *op, const object *trig);
66extern void check_inv (object *op, object *trig); 63void check_inv (object *op, object *trig);
67extern void verify_button_links (const maptile *map); 64void verify_button_links (const maptile *map);
68/* exp.c */ 65/* exp.c */
69extern int new_exp (const object *ob); 66int new_exp (const object *ob);
70extern int has_ability (const object *ob);
71extern void init_experience (); 67void init_experience ();
72extern void dump_experience (); 68void dump_experience ();
73/* friend.c */ 69/* friend.c */
74extern void add_friendly_object (object *op); 70void add_friendly_object (object *op);
75extern void remove_friendly_object (object *op); 71void remove_friendly_object (object *op);
76extern void dump_friendly_objects (); 72void dump_friendly_objects ();
77extern void clean_friendly_list (); 73void clean_friendly_list ();
78extern int is_friendly (const object *op);
79/* glue.c */ 74/* glue.c */
80extern void fatal (int err); 75void fatal (const char *msg);
81/* holy.c */ 76/* holy.c */
82extern void init_gods (); 77void init_gods ();
83extern void add_god_to_list (archetype *god_arch);
84extern int baptize_altar (object *op);
85extern godlink *get_rand_god (); 78godlink *get_rand_god ();
86extern object *pntr_to_god_obj (godlink *godlnk); 79object *pntr_to_god_obj (godlink *godlnk);
87extern void free_all_god ();
88extern void dump_gods (); 80void dump_gods ();
89/* info.c */ 81/* info.c */
90extern void dump_abilities (); 82void dump_abilities ();
91extern void print_monsters (); 83void print_monsters ();
92extern void bitstostring (long bits, int num, char *str); 84void bitstostring (long bits, int num, char *str);
93/* image.c */ 85/* image.c */
94extern void ReadBmapNames (); 86void ReadBmapNames ();
95extern int FindFace (const char *name, int error); 87int FindFace (const char *name, int error);
96extern int ReadSmooth (); 88int ReadSmooth ();
97extern int FindSmooth (uint16 face, uint16 *smoothed); 89int FindSmooth (uint16 face, uint16 *smoothed);
98extern void free_all_images (); 90void free_all_images ();
99/* init.c */ 91/* init.c */
100extern void init_library (); 92void init_library ();
101extern void init_environ (); 93void init_environ ();
102extern void init_globals (); 94void init_globals ();
103extern void init_objects (); 95void init_objects ();
104extern void init_defaults (); 96void init_defaults ();
105extern void init_dynamic (); 97void init_dynamic ();
106extern void init_clocks (); 98void init_clocks ();
107extern void init_attackmess (); 99void init_attackmess ();
108/* item.c */ 100/* item.c */
109extern int get_power_from_ench (int ench); 101int get_power_from_ench (int ench);
110extern int calc_item_power (const object *op, int flag); 102int calc_item_power (const object *op, int flag);
111extern const typedata *get_typedata (int itemtype); 103const typedata *get_typedata (int itemtype);
112extern const typedata *get_typedata_by_name (const char *name); 104const typedata *get_typedata_by_name (const char *name);
113extern const char *describe_resistance (const object *op, int newline); 105const char *describe_resistance (const object *op, int newline);
114extern const char *get_levelnumber (int i); 106const char *ordinal (int i);
115extern const char *get_number (int i);
116extern const char *ring_desc (const object *op);
117extern const char *describe_item (const object *op, object *owner); 107const char *describe_item (const object *op, object *owner);
118extern int is_magical (const object *op); 108int is_magical (const object *op);
119extern int need_identify (const object *op);
120extern void identify (object *op); 109void identify (object *op);
110void examine (object *op, object *tmp);
121/* links.c */ 111/* links.c */
122extern objectlink *get_objectlink (); 112objectlink *get_objectlink ();
123extern oblinkpt *get_objectlinkpt (); 113oblinkpt *get_objectlinkpt ();
124extern void free_objectlink (objectlink *ol); 114void free_objectlink (objectlink *ol);
125extern void free_objectlinkpt (oblinkpt *obp); 115void free_objectlinkpt (oblinkpt *obp);
126/* living.c */ 116/* living.c */
127extern void change_attr_value (living *stats, int attr, sint8 value); 117void change_attr_value (living *stats, int attr, sint8 value);
128extern void check_stat_bounds (living *stats); 118void check_stat_bounds (living *stats);
129extern int change_abil (object *op, object *tmp); 119int change_abil (object *op, object *tmp);
130extern int allowed_class (const object *op); 120int allowed_class (const object *op);
131extern void set_dragon_name (object *pl, const object *abil, const object *skin); 121void set_dragon_name (object *pl, const object *abil, const object *skin);
132extern void dragon_level_gain (object *who);
133extern object *give_skill_by_name (object *op, const char *skill_name); 122object *give_skill_by_name (object *op, const char *skill_name);
134extern void player_lvl_adj (object *who, object *op); 123void player_lvl_adj (object *who, object *op);
135extern sint64 level_exp (int level, double expmul); 124sint64 level_exp (int level, double expmul);
136extern void calc_perm_exp (object *op); 125void calc_perm_exp (object *op);
137extern sint64 check_exp_loss (const object *op, sint64 exp);
138extern sint64 check_exp_adjust (const object *op, sint64 exp); 126sint64 check_exp_adjust (const object *op, sint64 exp);
139extern void change_exp (object *op, sint64 exp, const char *skill_name, int flag); 127void change_exp (object *op, sint64 exp, const char *skill_name, int flag);
140extern void apply_death_exp_penalty (object *op); 128void apply_death_exp_penalty (object *op);
141extern int did_make_save (const object *op, int level, int bonus); 129int did_make_save (const object *op, int level, int bonus);
142/* los.c */ 130/* los.c */
143extern void init_block (); 131void init_block ();
144extern void update_all_map_los (maptile *map); 132void update_all_map_los (maptile *map);
145extern void update_all_los (const maptile *map, int x, int y); 133void update_all_los (const maptile *map, int x, int y);
146extern void make_sure_seen (const object *op); 134void make_sure_seen (const object *op);
147extern void make_sure_not_seen (const object *op); 135void make_sure_not_seen (const object *op);
148/* map.c */ 136/* map.c */
149extern const char *create_pathname (const char *name); 137const char *create_pathname (const char *name);
150extern int blocked_link (object *ob, maptile *m, int sx, int sy); 138int blocked_link (object *ob, maptile *m, int sx, int sy);
151extern void fix_container (object *container);
152/* object.c */ 139/* object.c */
153extern char *dump_object (object *op); 140char *dump_object (object *op);
154extern void dump_me (object *op, char *outstr); 141void dump_me (object *op, char *outstr);
155extern object *get_nearest_part (object *op, const object *pl);
156extern object *find_object (tag_t i); 142object *find_object (tag_t i);
143object *find_object_uuid (UUID i);
157extern object *find_object_name (const char *str); 144object *find_object_name (const char *str);
158extern void free_all_object_data (); 145void free_all_object_data ();
159extern void update_turn_face (object *op); 146void update_turn_face (object *op);
160extern void update_object (object *op, int action); 147void update_object (object *op, int action);
161extern object *merge_ob (object *op, object *top); 148object *merge_ob (object *op, object *top);
162extern object *insert_ob_in_map_at (object *op, maptile *m, object *originator, int flag, int x, int y); 149object *insert_ob_in_map_at (object *op, maptile *m, object *originator, int flag, int x, int y);
163extern object *insert_ob_in_map (object *op, maptile *m, object *originator, int flag); 150object *insert_ob_in_map (object *op, maptile *m, object *originator, int flag);
164extern void replace_insert_ob_in_map (shstr_tmp archname, object *op); 151void replace_insert_ob_in_map (shstr_tmp archname, object *op);
165extern object *insert_ob_in_ob (object *op, object *where); 152object *insert_ob_in_ob (object *op, object *where);
166extern int check_move_on (object *op, object *originator); 153int check_move_on (object *op, object *originator);
167extern object *present_arch (const archetype *at, maptile *m, int x, int y); 154object *present_arch (const archetype *at, maptile *m, int x, int y);
168extern object *present (unsigned char type, maptile *m, int x, int y); 155object *present (unsigned char type, maptile *m, int x, int y);
169extern object *present_in_ob (unsigned char type, const object *op); 156object *present_in_ob (unsigned char type, const object *op);
170extern object *present_in_ob_by_name (int type, const char *str, const object *op); 157object *present_in_ob_by_name (int type, const char *str, const object *op);
171extern object *present_arch_in_ob (const archetype *at, const object *op); 158object *present_arch_in_ob (const archetype *at, const object *op);
172extern void flag_inv (object *op, int flag); 159void flag_inv (object *op, int flag);
173extern void unflag_inv (object *op, int flag); 160void unflag_inv (object *op, int flag);
174extern int find_free_spot (const object *ob, maptile *m, int x, int y, int start, int stop); 161int find_free_spot (const object *ob, maptile *m, int x, int y, int start, int stop);
175extern int find_first_free_spot (const object *ob, maptile *m, int x, int y); 162int find_first_free_spot (const object *ob, maptile *m, int x, int y);
176extern void get_search_arr (int *search_arr); 163void get_search_arr (int *search_arr);
177extern int find_dir (maptile *m, int x, int y, object *exclude); 164int find_dir (maptile *m, int x, int y, object *exclude);
178extern int distance (const object *ob1, const object *ob2); 165int distance (const object *ob1, const object *ob2);
179extern int find_dir_2 (int x, int y); 166int find_dir_2 (int x, int y);
180extern int dirdiff (int dir1, int dir2); 167int dirdiff (int dir1, int dir2);
181extern int can_see_monsterP (maptile *m, int x, int y, int dir); 168int can_see_monsterP (maptile *m, int x, int y, int dir);
182extern int can_pick (const object *who, const object *item); 169int can_pick (const object *who, const object *item);
183extern object *find_obj_by_type_subtype (const object *who, int type, int subtype); 170object *find_obj_by_type_subtype (const object *who, int type, int subtype);
184/* path.c */ 171/* path.c */
185extern char *path_combine (const char *src, const char *dst); 172char *path_combine (const char *src, const char *dst);
186extern void path_normalize (char *path);
187extern char *path_combine_and_normalize (const char *src, const char *dst); 173char *path_combine_and_normalize (const char *src, const char *dst);
188/* porting.c */ 174/* porting.c */
189extern void remove_directory (const char *path); 175void remove_directory (const char *path);
190extern char *strcasestr_local (const char *s, const char *find);
191extern char *ltostr10 (signed long n); 176char *ltostr10 (signed long n);
192extern char *doubletostr10 (double v); 177char *doubletostr10 (double v);
193extern FILE *open_and_uncompress (const char *name, int flag, int *compressed); 178FILE *open_and_uncompress (const char *name, int flag, int *compressed);
194extern void close_and_delete (FILE *fp, int compressed); 179void close_and_delete (FILE *fp, int compressed);
195extern void make_path_to_file (char *filename); 180void make_path_to_file (char *filename);
196/* player.c */ 181/* player.c */
197extern void free_player (player *pl); 182void free_player (player *pl);
198extern int atnr_is_dragon_enabled (int attacknr); 183int atnr_is_dragon_enabled (int attacknr);
199extern int is_dragon_pl (const object *op);
200/* quest.c */ 184/* quest.c */
201extern int quest_is_quest_marker (const object *marker, int task); 185int quest_is_quest_marker (const object *marker, int task);
202extern int quest_is_in_progress (const object *marker, int task); 186int quest_is_in_progress (const object *marker, int task);
203extern int quest_is_completed (const object *marker, int task); 187int quest_is_completed (const object *marker, int task);
204extern const char *quest_get_name (const object *marker); 188const char *quest_get_name (const object *marker);
205extern object *quest_get_player_quest (const object *pl, const char *name, const char *name_pl); 189object *quest_get_player_quest (const object *pl, const char *name, const char *name_pl);
206extern object *quest_get_override (const object *ob, const object *pl); 190object *quest_get_override (const object *ob, const object *pl);
207extern const char *quest_get_override_slaying (const object *ob, const object *pl); 191const char *quest_get_override_slaying (const object *ob, const object *pl);
208extern const char *quest_get_override_msg (const object *ob, const object *pl); 192const char *quest_get_override_msg (const object *ob, const object *pl);
209extern void quest_apply_items (object *wrapper, player *pl); 193void quest_apply_items (object *wrapper, player *pl);
210extern int quest_on_activate (object *ob, player *pl); 194int quest_on_activate (object *ob, player *pl);
211extern int quest_is_override_compatible (const object *marker, const object *pl); 195int quest_is_override_compatible (const object *marker, const object *pl);
212/* readable.c */ 196/* readable.c */
213extern int nstrtok (const char *buf1, const char *buf2);
214extern char *strtoktolin (const char *buf1, const char *buf2);
215extern int book_overflow (const char *buf1, const char *buf2, int booksize);
216extern void init_readable (); 197void init_readable ();
217extern void change_book (object *book, int msgtype);
218extern object *get_random_mon (int level); 198object *get_random_mon (int level);
219extern char *mon_desc (const object *mon);
220extern object *get_next_mon (object *tmp);
221extern char *mon_info_msg (int level, int booksize);
222extern const char *artifact_msg (int level, int booksize);
223extern char *spellpath_msg (int level, int booksize);
224extern void make_formula_book (object *book, int level);
225extern char *msgfile_msg (int level, int booksize);
226extern const char *god_info_msg (int level, int booksize);
227extern void tailor_readable_ob (object *book, int msg_type); 199void tailor_readable_ob (object *book, int msg_type);
228extern void free_all_readable ();
229extern void write_book_archive (); 200void write_book_archive ();
230extern readable_message_type *get_readable_message_type (object *readable); 201readable_message_type *get_readable_message_type (object *readable);
231/* recipe.c */ 202/* recipe.c */
232extern recipelist *get_formulalist (int i); 203recipelist *get_formulalist (int i);
233extern void init_formulae (); 204void init_formulae ();
234extern void check_formulae ();
235extern void dump_alchemy (); 205void dump_alchemy ();
236extern archetype *find_treasure_by_name (const treasure *t, const char *name, int depth);
237extern long find_ingred_cost (const char *name);
238extern void dump_alchemy_costs (); 206void dump_alchemy_costs ();
239extern const char *ingred_name (const char *name);
240extern int strtoint (const char *buf); 207int strtoint (const char *buf);
241extern artifact *locate_recipe_artifact (const recipe *rp, size_t idx); 208artifact *locate_recipe_artifact (const recipe *rp, size_t idx);
242extern int numb_ingred (const char *buf);
243extern recipelist *get_random_recipelist ();
244extern recipe *get_random_recipe (recipelist *rpl); 209recipe *get_random_recipe (recipelist *rpl);
245extern void free_all_recipes ();
246/* region.c */ 210/* region.c */
247extern object *get_jail_exit (object *op); 211object *get_jail_exit (object *op);
248extern void init_regions ();
249/* shstr.c */ 212/* shstr.c */
250extern int buf_overflow (const char *buf1, const char *buf2, int bufsize); 213int buf_overflow (const char *buf1, const char *buf2, int bufsize);
251/* time.c */ 214/* time.c */
252extern void reset_sleep (); 215void reset_sleep ();
253extern void log_time (long process_utime); 216void log_time (long process_utime);
254extern int enough_elapsed_time (); 217int enough_elapsed_time ();
255extern void sleep_delta (); 218void sleep_delta ();
256extern void get_tod (timeofday_t *tod); 219void get_tod (timeofday_t *tod);
257extern void print_tod (object *op); 220void print_tod (object *op);
258extern void time_info (object *op); 221void time_info (object *op);
259/* treasure.c */ 222/* treasure.c */
260extern bool load_treasure_file (const char *filename); 223bool load_treasure_file (const char *filename);
261extern object *generate_treasure (treasurelist *t, int difficulty); 224object *generate_treasure (treasurelist *t, int difficulty);
262extern int level_for_item (const object *op, int difficulty);
263extern int magic_from_difficulty (int difficulty);
264extern void set_abs_magic (object *op, int magic); 225void set_abs_magic (object *op, int magic);
265extern void set_ring_bonus (object *op, int bonus);
266extern int get_magic (int diff);
267extern void fix_generated_item (object *op, object *creator, int difficulty, int max_magic, int flags); 226void fix_generated_item (object *op, object *creator, int difficulty, int max_magic, int flags);
268extern artifactlist *find_artifactlist (int type); 227artifactlist *find_artifactlist (int type);
269extern void dump_artifacts (); 228void dump_artifacts ();
270extern void dump_monster_treasure_rec (const char *name, treasure *t, int depth); 229void dump_monster_treasure_rec (const char *name, treasure *t, int depth);
271extern void dump_monster_treasure (const char *name); 230void dump_monster_treasure (const char *name);
272extern void init_artifacts (); 231void init_artifacts ();
273extern void add_abilities (object *op, object *change); 232void add_abilities (object *op, object *change);
274extern void give_artifact_abilities (object *op, object *artifct); 233void give_artifact_abilities (object *op, object *artifct);
275extern void generate_artifact (object *op, int difficulty); 234void generate_artifact (object *op, int difficulty);
276extern void fix_flesh_item (object *item, object *donor); 235void fix_flesh_item (object *item, object *donor);
277extern int special_potion (object *op);
278extern void free_treasurestruct (treasure *t);
279extern void free_charlinks (linked_char *lc);
280extern void free_artifact (artifact *at);
281extern void free_artifactlist (artifactlist *al);
282extern void free_all_treasures ();
283/* utils.c */ 236/* utils.c */
284extern int random_roll (int min, int max, const object *op, int goodbad); 237int random_roll (int min, int max, const object *op, int goodbad);
285extern sint64 random_roll64 (sint64 min, sint64 max, const object *op, int goodbad); 238sint64 random_roll64 (sint64 min, sint64 max, const object *op, int goodbad);
286extern int die_roll (int num, int size, const object *op, int goodbad); 239int die_roll (int num, int size, const object *op, int goodbad);
287extern materialtype_t *name_to_material (const shstr_cmp name); 240materialtype_t *name_to_material (const shstr_tmp name);
288extern void transmute_materialname (object *op, const object *change); 241void transmute_materialname (object *op, const object *change);
289extern void set_materialname (object *op, int difficulty, materialtype_t *nmt);
290extern void strip_media_tag (char *message); 242void strip_media_tag (char *message);
291extern const char *strrstr (const char *haystack, const char *needle);
292extern void strip_endline (char *buf); 243void strip_endline (char *buf);
293extern void replace (const char *src, const char *key, const char *replacement, char *result, size_t resultsize); 244void replace (const char *src, const char *key, const char *replacement, char *result, size_t resultsize);
294extern void make_list_like (char *input);
295/* loader.c */ 245/* loader.c */
296extern int set_variable (object *op, char *buf); 246int set_variable (object *op, char *buf);
297extern void init_vars (); 247void init_vars ();
298extern char *get_ob_diff (object *op, object *op2); 248char *get_ob_diff (object *op, object *op2);
249bool load_resource_file_ (const char *filename);
299/* map.c */ 250/* map.c */
300extern maptile *find_style (const char *dirname, const char *stylename, int difficulty); 251maptile *find_style (const char *dirname, const char *stylename, int difficulty, bool recurse = false);
301extern object *pick_random_object (maptile *style); 252object *pick_random_object (maptile *style);
302 253
303/* former funcpoint.h */ 254/* former funcpoint.h */
304/* 255/*
305 * These function-pointers are defined in common/glue.c 256 * These function-pointers are defined in common/glue.c
306 * The functions used to set and initialise them are also there. 257 * The functions used to set and initialise them are also there.
308 * Massive change. Those functions are just defined, no callback, and they should be implemented. 259 * Massive change. Those functions are just defined, no callback, and they should be implemented.
309 * This means glue.c code & such can go away almost entirely. 260 * This means glue.c code & such can go away almost entirely.
310 * Ryo 2005-07-15 261 * Ryo 2005-07-15
311 */ 262 */
312 263
313extern void move_apply (object *, object *, object *); 264void move_apply (object *, object *, object *);
314extern void draw_info (int, int, object *, const char *); 265void draw_info (int, int, object *, const char *);
315extern void clean_tmp_files (void); 266void clean_tmp_files ();
316extern void fix_auto_apply (maptile *); 267void fix_auto_apply (maptile *);
317extern void init_blocksview_players (void); 268void init_blocksview_players ();
318extern void monster_check_apply (object *, object *); 269void monster_check_apply (object *, object *);
319extern void process_active_maps (void); 270void process_active_maps ();
320extern void remove_friendly_object (object *); 271void remove_friendly_object (object *);
321extern void update_buttons (maptile *); 272void update_buttons (maptile *);
322extern void move_teleporter (object *); 273void move_teleporter (object *);
323extern void move_firewall (object *); 274void move_firewall (object *);
324extern void move_creator (object *); 275void move_creator (object *);
325extern void move_marker (object *); 276void move_marker (object *);
326extern void move_duplicator (object *); 277void move_duplicator (object *);
327extern void trap_adjust (object *, int); 278void trap_adjust (object *, int);
328extern void esrv_send_item (object *, object *); 279void esrv_send_item (object *, object *);
329extern void esrv_del_item (player *, int); 280void esrv_del_item (player *, int);
330extern void esrv_update_item (int, object *, object *); 281void esrv_update_item (int, object *, object *);
331extern void esrv_update_spells (player *); 282void esrv_update_spells (player *);
332extern void set_darkness_map (maptile *m);
333extern void dragon_ability_gain (object *, int, int); 283void dragon_ability_gain (object *, int, int);
334extern void weather_effect (const char *);
335extern object * find_skill_by_number (object *, int); 284object * find_skill_by_number (object *, int);
336 285
337#endif 286#endif
338 287

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines