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.76 by root, Tue Oct 20 05:57:08 2009 UTC vs.
Revision 1.106 by root, Wed Nov 16 23:42:00 2016 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,2011,2012,2013,2014,2015,2016 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.
12 * 12 *
13 * This program is distributed in the hope that it will be useful, 13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details. 16 * GNU General Public License for more details.
17 * 17 *
18 * You should have received a copy of the Affero GNU General Public License 18 * You should have received a copy of the Affero GNU General Public License
19 * and the GNU General Public License along with this program. If not, see 19 * and the GNU General Public License along with this program. If not, see
20 * <http://www.gnu.org/licenses/>. 20 * <http://www.gnu.org/licenses/>.
21 * 21 *
22 * The authors can be reached via e-mail to <support@deliantra.net> 22 * The authors can be reached via e-mail to <support@deliantra.net>
23 */ 23 */
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);
32extern void animate_object (object *op, int dir); 31void animate_object (object *op, int dir);
33/* arch.c */ 32/* arch.c */
34extern archetype *find_archetype_by_object_name (const char *name); 33archetype *find_archetype_by_object_name (const char *name);
35extern archetype *find_archetype_by_object_type_name (int type, const char *name); 34archetype *find_archetype_by_object_type_name (int type, const char *name);
36extern object *get_archetype_by_skill_name (const char *skill, int type); 35object *get_archetype_by_skill_name (const char *skill, int type);
37extern archetype *get_archetype_by_type_subtype (int type, int subtype); 36archetype *get_archetype_by_type_subtype (int type, int subtype);
38extern object *get_archetype_by_object_name (const char *name); 37object *get_archetype_by_object_name (const char *name);
39extern object *find_best_weapon_used_match (object *pl, const char *params); 38object *find_best_weapon_used_match (object *pl, const char *params);
40extern int item_matched_string (object *pl, object *op, const char *name); 39int item_matched_string (object *pl, object *op, const char *name);
41extern void arch_info (object *op); 40void arch_info (object *op);
42extern void clear_archetable (); 41void clear_archetable ();
43extern void dump_arch (archetype *at); 42void dump_arch (archetype *at);
44extern void dump_all_archetypes (); 43void dump_all_archetypes ();
45extern void free_all_archs (); 44void free_all_archs ();
46extern void check_generators (); 45void check_generators ();
47extern bool load_archetype_file (const char *filename); 46bool load_archetype_file (const char *filename);
48extern object *create_singularity (const char *name);
49extern object *get_archetype (const char *name);
50extern unsigned long hasharch (const char *str, int tablesize); 47unsigned long hasharch (const char *str, int tablesize);
51extern archetype *type_to_archetype (int type);
52extern object *clone_arch (int type); 48object *clone_arch (int type);
53extern object *object_create_arch (archetype *at); 49object *object_create_arch (archetype *at);
54/* button.c */ 50/* button.c */
55extern void push_button (object *op, object *originator); 51void push_button (object *op, object *originator);
56extern void update_button (object *op, object *originator); 52void update_button (object *op, object *originator);
57extern void use_trigger (object *op, object *originator); 53void use_trigger (object *op, object *originator);
58extern void animate_turning (object *op); 54void animate_turning (object *op);
59extern int check_altar_sacrifice (object *altar, object *sacrifice, object *originator = 0); 55int check_altar_sacrifice (object *altar, object *sacrifice, object *originator = 0);
60extern int operate_altar (object *altar, object **sacrifice, object *originator = 0); 56int 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); 57int check_trigger (object *op, object *cause, object *originator = 0);
63extern int get_button_value (const object *button); 58int get_button_value (const object *button);
64extern void do_mood_floor (object *op, object *source = 0); 59void do_mood_floor (object *op, object *source = 0);
65extern object *check_inv_recursive (object *op, const object *trig); 60object *check_inv_recursive (object *op, const object *trig);
66extern void check_inv (object *op, object *trig); 61void check_inv (object *op, object *trig);
67extern void verify_button_links (const maptile *map); 62void verify_button_links (const maptile *map);
68/* exp.c */ 63/* exp.c */
64int exp_to_level (sint64 exp);
65sint64 level_to_min_exp (int level);
69extern int new_exp (const object *ob); 66int new_exp (const object *ob);
70extern int has_ability (const object *ob); 67void _reload_exp_table ();
71extern void init_experience ();
72extern void dump_experience ();
73/* friend.c */ 68/* friend.c */
74extern void add_friendly_object (object *op); 69void add_friendly_object (object *op);
75extern void remove_friendly_object (object *op); 70void remove_friendly_object (object *op);
76extern void dump_friendly_objects (); 71void dump_friendly_objects ();
77extern void clean_friendly_list (); 72void clean_friendly_list ();
78extern int is_friendly (const object *op);
79/* glue.c */
80extern void fatal (int err);
81/* holy.c */ 73/* holy.c */
82extern void init_gods (); 74void init_gods ();
83extern void add_god_to_list (archetype *god_arch);
84extern int baptize_altar (object *op);
85extern godlink *get_rand_god (); 75godlink *get_rand_god ();
86extern object *pntr_to_god_obj (godlink *godlnk); 76object *pntr_to_god_obj (godlink *godlnk);
87extern void free_all_god ();
88extern void dump_gods (); 77void dump_gods ();
89/* info.c */ 78/* info.c */
90extern void dump_abilities (); 79void dump_abilities ();
91extern void print_monsters (); 80void print_monsters ();
92extern void bitstostring (long bits, int num, char *str); 81void bitstostring (long bits, int num, char *str);
93/* image.c */ 82/* image.c */
94extern void ReadBmapNames (); 83void ReadBmapNames ();
95extern int FindFace (const char *name, int error); 84int FindFace (const char *name, int error);
96extern int ReadSmooth (); 85int ReadSmooth ();
97extern int FindSmooth (uint16 face, uint16 *smoothed); 86int FindSmooth (uint16 face, uint16 *smoothed);
98extern void free_all_images (); 87void free_all_images ();
99/* init.c */ 88/* init.c */
100extern void init_library (); 89void init_library ();
101extern void init_environ (); 90void init_environ ();
102extern void init_globals (); 91void init_globals ();
103extern void init_objects (); 92void init_objects ();
104extern void init_defaults (); 93void init_defaults ();
105extern void init_dynamic (); 94void init_dynamic ();
106extern void init_clocks (); 95void init_clocks ();
107extern void init_attackmess (); 96void init_attackmess ();
108/* item.c */ 97/* item.c */
109extern int get_power_from_ench (int ench); 98int get_power_from_ench (int ench);
110extern int calc_item_power (const object *op, int flag); 99int calc_item_power (const object *op, int flag);
111extern const typedata *get_typedata (int itemtype); 100const typedata *get_typedata (int itemtype);
112extern const typedata *get_typedata_by_name (const char *name); 101const typedata *get_typedata_by_name (const char *name);
113extern const char *describe_resistance (const object *op, int newline); 102const char *describe_resistance (const object *op, int newline);
114extern const char *get_levelnumber (int i); 103const 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); 104const char *describe_item (const object *op, object *owner);
118extern int is_magical (const object *op); 105int is_magical (const object *op);
119extern int need_identify (const object *op);
120extern void identify (object *op); 106void identify (object *op);
107void examine (object *op, object *tmp);
121/* links.c */ 108/* links.c */
122extern objectlink *get_objectlink (); 109objectlink *get_objectlink ();
123extern oblinkpt *get_objectlinkpt (); 110oblinkpt *get_objectlinkpt ();
124extern void free_objectlink (objectlink *ol); 111void free_objectlink (objectlink *ol);
125extern void free_objectlinkpt (oblinkpt *obp); 112void free_objectlinkpt (oblinkpt *obp);
126/* living.c */ 113/* living.c */
127extern void change_attr_value (living *stats, int attr, sint8 value); 114void change_attr_value (living *stats, int attr, sint8 value);
128extern void check_stat_bounds (living *stats); 115void check_stat_bounds (living *stats);
129extern int change_abil (object *op, object *tmp); 116int change_abil (object *op, object *tmp);
130extern int allowed_class (const object *op);
131extern void set_dragon_name (object *pl, const object *abil, const object *skin); 117void 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); 118object *give_skill_by_name (object *op, const char *skill_name);
134extern void player_lvl_adj (object *who, object *op); 119void player_lvl_adj (object *who, object *op);
135extern sint64 level_exp (int level, double expmul); 120sint64 level_exp (int level, double expmul);
136extern void calc_perm_exp (object *op); 121void 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); 122sint64 check_exp_adjust (const object *op, sint64 exp);
139extern void change_exp (object *op, sint64 exp, const char *skill_name, int flag); 123void change_exp (object *op, sint64 exp, shstr_tmp skill_name, int flag);
140extern void apply_death_exp_penalty (object *op); 124void apply_death_exp_penalty (object *op);
141extern int did_make_save (const object *op, int level, int bonus); 125int did_make_save (const object *op, int level, int bonus);
142/* los.c */ 126/* los.c */
143extern void init_block (); 127void init_block ();
144extern void update_all_map_los (maptile *map); 128void update_all_map_los (maptile *map);
145extern void update_all_los (const maptile *map, int x, int y); 129void update_all_los (const maptile *map, int x, int y);
146extern void make_sure_seen (const object *op); 130void make_sure_seen (const object *op);
147extern void make_sure_not_seen (const object *op); 131void make_sure_not_seen (const object *op);
148/* map.c */ 132/* map.c */
149extern const char *create_pathname (const char *name); 133const char *create_pathname (const char *name);
150extern int blocked_link (object *ob, maptile *m, int sx, int sy); 134int blocked_link (object *ob, maptile *m, int sx, int sy);
151extern void fix_container (object *container);
152/* object.c */ 135/* object.c */
153extern char *dump_object (object *op); 136char *dump_object (object *op);
154extern void dump_me (object *op, char *outstr); 137void dump_me (object *op, char *outstr);
155extern object *get_nearest_part (object *op, const object *pl);
156extern object *find_object (tag_t i); 138object *find_object (tag_t i);
139object *find_object_uuid (UUID i);
157extern object *find_object_name (const char *str); 140object *find_object_name (const char *str);
158extern void free_all_object_data (); 141void free_all_object_data ();
159extern void update_turn_face (object *op); 142void update_turn_face (object *op);
160extern void update_object (object *op, int action); 143void update_object (object *op, int action);
161extern object *merge_ob (object *op, object *top); 144object *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); 145object *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); 146object *insert_ob_in_map (object *op, maptile *m, object *originator, int flag);
164extern void replace_insert_ob_in_map (shstr_tmp archname, object *op); 147void replace_insert_ob_in_map (shstr_tmp archname, object *op);
165extern object *insert_ob_in_ob (object *op, object *where); 148object *insert_ob_in_ob (object *op, object *where);
166extern int check_move_on (object *op, object *originator); 149int check_move_on (object *op, object *originator, int flags = 0);
167extern object *present_arch (const archetype *at, maptile *m, int x, int y); 150object *present_arch (const archetype *at, maptile *m, int x, int y);
168extern object *present (unsigned char type, maptile *m, int x, int y); 151object *present (unsigned char type, maptile *m, int x, int y);
169extern object *present_in_ob (unsigned char type, const object *op); 152object *present_in_ob (unsigned char type, const object *op);
170extern object *present_in_ob_by_name (int type, const char *str, const object *op); 153object *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); 154object *present_arch_in_ob (const archetype *at, const object *op);
172extern void flag_inv (object *op, int flag); 155void flag_inv (object *op, int flag);
173extern void unflag_inv (object *op, int flag); 156void unflag_inv (object *op, int flag);
174extern int find_free_spot (const object *ob, maptile *m, int x, int y, int start, int stop); 157int 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); 158int find_first_free_spot (const object *ob, maptile *m, int x, int y);
176extern void get_search_arr (int *search_arr); 159void get_search_arr (int *search_arr);
177extern int find_dir (maptile *m, int x, int y, object *exclude); 160int find_dir (maptile *m, int x, int y, object *exclude);
178extern int distance (const object *ob1, const object *ob2); 161int distance (const object *ob1, const object *ob2);
179extern int find_dir_2 (int x, int y); 162int find_dir_2 (int x, int y);
180extern int dirdiff (int dir1, int dir2); 163int dirdiff (int dir1, int dir2);
181extern int can_see_monsterP (maptile *m, int x, int y, int dir); 164int can_see_monsterP (maptile *m, int x, int y, int dir);
182extern int can_pick (const object *who, const object *item); 165int can_pick (const object *who, const object *item);
183extern object *find_obj_by_type_subtype (const object *who, int type, int subtype); 166object *find_obj_by_type_subtype (const object *who, int type, int subtype);
184/* path.c */ 167/* path.c */
185extern char *path_combine (const char *src, const char *dst); 168char *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); 169char *path_combine_and_normalize (const char *src, const char *dst);
188/* porting.c */
189extern void remove_directory (const char *path);
190extern char *strcasestr_local (const char *s, const char *find);
191extern char *ltostr10 (signed long n);
192extern char *doubletostr10 (double v);
193extern FILE *open_and_uncompress (const char *name, int flag, int *compressed);
194extern void close_and_delete (FILE *fp, int compressed);
195extern void make_path_to_file (char *filename);
196/* player.c */ 170/* player.c */
197extern void free_player (player *pl); 171void free_player (player *pl);
198extern int atnr_is_dragon_enabled (int attacknr); 172int atnr_is_dragon_enabled (int attacknr);
199extern int is_dragon_pl (const object *op);
200/* quest.c */ 173/* quest.c */
201extern int quest_is_quest_marker (const object *marker, int task); 174int quest_is_quest_marker (const object *marker, int task);
202extern int quest_is_in_progress (const object *marker, int task); 175int quest_is_in_progress (const object *marker, int task);
203extern int quest_is_completed (const object *marker, int task); 176int quest_is_completed (const object *marker, int task);
204extern const char *quest_get_name (const object *marker); 177const char *quest_get_name (const object *marker);
205extern object *quest_get_player_quest (const object *pl, const char *name, const char *name_pl); 178object *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); 179object *quest_get_override (const object *ob, const object *pl);
207extern const char *quest_get_override_slaying (const object *ob, const object *pl); 180const char *quest_get_override_slaying (const object *ob, const object *pl);
208extern const char *quest_get_override_msg (const object *ob, const object *pl); 181const char *quest_get_override_msg (const object *ob, const object *pl);
209extern void quest_apply_items (object *wrapper, player *pl); 182void quest_apply_items (object *wrapper, player *pl);
210extern int quest_on_activate (object *ob, player *pl); 183int quest_on_activate (object *ob, player *pl);
211extern int quest_is_override_compatible (const object *marker, const object *pl); 184int quest_is_override_compatible (const object *marker, const object *pl);
212/* readable.c */ 185/* readable.c */
213extern void init_readable (); 186void init_readable ();
214extern object *get_random_mon (int level); 187object *get_random_mon (int level);
215extern void tailor_readable_ob (object *book, int msg_type); 188void tailor_readable_ob (object *book, int msg_type);
216extern void free_all_readable ();
217extern void write_book_archive (); 189void write_book_archive ();
218extern readable_message_type *get_readable_message_type (object *readable); 190readable_message_type *get_readable_message_type (object *readable);
219/* recipe.c */ 191/* recipe.c */
220extern recipelist *get_formulalist (int i); 192recipelist *get_formulalist (int i);
221extern void init_formulae (); 193void init_formulae ();
222extern void check_formulae ();
223extern void dump_alchemy (); 194void dump_alchemy ();
224extern archetype *find_treasure_by_name (const treasure *t, const char *name, int depth);
225extern long find_ingred_cost (const char *name);
226extern void dump_alchemy_costs (); 195void dump_alchemy_costs ();
227extern const char *ingred_name (const char *name);
228extern int strtoint (const char *buf); 196int strtoint (const char *buf);
229extern artifact *locate_recipe_artifact (const recipe *rp, size_t idx); 197artifact *locate_recipe_artifact (const recipe *rp, size_t idx);
230extern int numb_ingred (const char *buf);
231extern recipelist *get_random_recipelist ();
232extern recipe *get_random_recipe (recipelist *rpl); 198recipe *get_random_recipe (recipelist *rpl);
233extern void free_all_recipes ();
234/* region.c */ 199/* region.c */
235extern object *get_jail_exit (object *op); 200object *get_jail_exit (object *op);
236extern void init_regions ();
237/* shstr.c */ 201/* shstr.c */
238extern int buf_overflow (const char *buf1, const char *buf2, int bufsize); 202int buf_overflow (const char *buf1, const char *buf2, int bufsize);
239/* time.c */ 203/* time.c */
240extern void reset_sleep (); 204void reset_sleep ();
241extern void log_time (long process_utime); 205void log_time (long process_utime);
242extern int enough_elapsed_time (); 206int enough_elapsed_time ();
243extern void sleep_delta (); 207void sleep_delta ();
244extern void get_tod (timeofday_t *tod); 208void get_tod (timeofday_t *tod);
245extern void print_tod (object *op); 209void print_tod (object *op);
246extern void time_info (object *op); 210void time_info (object *op);
247/* treasure.c */ 211/* treasure.c */
248extern bool load_treasure_file (const char *filename); 212bool load_treasure_file (const char *filename);
249extern object *generate_treasure (treasurelist *t, int difficulty); 213object *generate_treasure (treasurelist *t, int difficulty);
250extern int level_for_item (const object *op, int difficulty);
251extern int magic_from_difficulty (int difficulty);
252extern void set_abs_magic (object *op, int magic); 214void set_abs_magic (object *op, int magic);
253extern void set_ring_bonus (object *op, int bonus);
254extern int get_magic (int diff);
255extern void fix_generated_item (object *op, object *creator, int difficulty, int max_magic, int flags); 215void fix_generated_item (object *op, object *creator, int difficulty, int max_magic, int flags);
256extern artifactlist *find_artifactlist (int type); 216artifactlist *find_artifactlist (int type);
257extern void dump_artifacts (); 217void dump_artifacts ();
258extern void dump_monster_treasure_rec (const char *name, treasure *t, int depth); 218void dump_monster_treasure_rec (const char *name, treasure *t, int depth);
259extern void dump_monster_treasure (const char *name); 219void dump_monster_treasure (const char *name);
260extern void init_artifacts (); 220void init_artifacts ();
261extern void add_abilities (object *op, object *change); 221void add_abilities (object *op, object *change);
262extern void give_artifact_abilities (object *op, object *artifct); 222void give_artifact_abilities (object *op, object *artifct);
263extern void generate_artifact (object *op, int difficulty); 223void generate_artifact (object *op, int difficulty);
264extern void fix_flesh_item (object *item, object *donor); 224void fix_flesh_item (object *item, object *donor);
265extern int special_potion (object *op);
266extern void free_treasurestruct (treasure *t);
267extern void free_charlinks (linked_char *lc);
268extern void free_artifact (artifact *at);
269extern void free_artifactlist (artifactlist *al);
270extern void free_all_treasures ();
271/* utils.c */ 225/* utils.c */
272extern int random_roll (int min, int max, const object *op, int goodbad); 226int random_roll (int min, int max, const object *op, bool prefer_high);
273extern sint64 random_roll64 (sint64 min, sint64 max, const object *op, int goodbad); 227sint64 random_roll64 (sint64 min, sint64 max, const object *op, bool prefer_high);
274extern int die_roll (int num, int size, const object *op, int goodbad); 228int die_roll (int num, int size, const object *op, bool prefer_high);
275extern materialtype_t *name_to_material (const shstr_cmp name);
276extern void transmute_materialname (object *op, const object *change); 229void transmute_materialname (object *op, const object *change);
277extern void set_materialname (object *op, int difficulty, materialtype_t *nmt);
278extern void strip_media_tag (char *message);
279extern const char *strrstr (const char *haystack, const char *needle);
280extern void strip_endline (char *buf); 230void strip_endline (char *buf);
281extern void replace (const char *src, const char *key, const char *replacement, char *result, size_t resultsize); 231void replace (const char *src, const char *key, const char *replacement, char *result, size_t resultsize);
282/* loader.c */ 232/* loader.c */
283extern int set_variable (object *op, char *buf); 233int set_variable (object *op, char *buf);
284extern void init_vars (); 234void init_vars ();
285extern char *get_ob_diff (object *op, object *op2); 235char *get_ob_diff (object *op, object *op2);
236bool load_resource_file_ (const char *filename);
286/* map.c */ 237/* map.c */
287extern maptile *find_style (const char *dirname, const char *stylename, int difficulty); 238maptile *find_style (const char *dirname, const char *stylename, int difficulty, bool recurse = false);
288extern object *pick_random_object (maptile *style); 239object *pick_random_object (maptile *style);
289 240
290/* former funcpoint.h */ 241/* former funcpoint.h */
291/* 242/*
292 * These function-pointers are defined in common/glue.c 243 * These function-pointers are defined in common/glue.c
293 * The functions used to set and initialise them are also there. 244 * The functions used to set and initialise them are also there.
295 * Massive change. Those functions are just defined, no callback, and they should be implemented. 246 * Massive change. Those functions are just defined, no callback, and they should be implemented.
296 * This means glue.c code & such can go away almost entirely. 247 * This means glue.c code & such can go away almost entirely.
297 * Ryo 2005-07-15 248 * Ryo 2005-07-15
298 */ 249 */
299 250
300extern void move_apply (object *, object *, object *); 251void move_apply (object *, object *, object *);
301extern void draw_info (int, int, object *, const char *); 252void draw_info (int, int, object *, const char *);
302extern void clean_tmp_files (void); 253void clean_tmp_files ();
303extern void fix_auto_apply (maptile *); 254void fix_auto_apply (maptile *);
304extern void init_blocksview_players (void); 255void init_blocksview_players ();
305extern void monster_check_apply (object *, object *); 256void monster_check_apply (object *, object *);
306extern void process_active_maps (void); 257void process_active_maps ();
307extern void remove_friendly_object (object *); 258void remove_friendly_object (object *);
308extern void update_buttons (maptile *); 259void update_buttons (maptile *);
309extern void move_teleporter (object *); 260void move_teleporter (object *);
310extern void move_firewall (object *); 261void move_firewall (object *);
311extern void move_creator (object *); 262void move_creator (object *);
312extern void move_marker (object *); 263void move_marker (object *);
313extern void move_duplicator (object *); 264void move_duplicator (object *);
314extern void trap_adjust (object *, int); 265void trap_adjust (object *, int);
315extern void esrv_send_item (object *, object *); 266void esrv_send_item (object *, object *);
316extern void esrv_del_item (player *, int); 267void esrv_del_item (player *, int);
317extern void esrv_update_item (int, object *, object *); 268void esrv_update_item (int, object *, object *);
318extern void esrv_update_spells (player *); 269void esrv_update_spells (player *);
319extern void set_darkness_map (maptile *m);
320extern void dragon_ability_gain (object *, int, int); 270void dragon_ability_gain (object *, int, int);
321extern void weather_effect (const char *);
322extern object * find_skill_by_number (object *, int); 271object * find_skill_by_number (object *, int);
323 272
324#endif 273#endif
325 274

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines