Crossfire Server, Branches 1.12  R18729
sproto.h
Go to the documentation of this file.
1 /* alchemy.c */
2 int use_alchemy(object *op);
3 /* apply.c */
4 int transport_can_hold(const object *transport, const object *op, int nrof);
5 int should_director_abort(object *op, object *victim);
6 void handle_apply_yield(object *tmp);
7 int set_object_face_main(object *op);
8 int apply_container(object *op, object *sack);
9 void do_learn_spell(object *op, object *spell, int special_prayer);
10 void do_forget_spell(object *op, const char *spell);
11 int manual_apply(object *op, object *tmp, int aflag);
12 int player_apply(object *pl, object *op, int aflag, int quiet);
13 void player_apply_below(object *pl);
14 int can_apply_object(object *who, object *op);
15 int check_weapon_power(const object *who, int improvs);
16 int apply_special(object *who, object *op, int aflags);
17 int auto_apply(object *op);
18 void fix_auto_apply(mapstruct *m);
19 void scroll_failure(object *op, int failure, int power);
20 void apply_changes_to_player(object *pl, object *change);
21 void legacy_apply_container(object *op, object *sack);
22 /* attack.c */
23 void save_throw_object(object *op, uint32 type, object *originator);
24 int hit_map(object *op, int dir, uint32 type, int full_hit);
25 int attack_ob(object *op, object *hitter);
26 object *hit_with_arrow(object *op, object *victim);
27 int friendly_fire(object *op, object *hitter);
28 int hit_player(object *op, int dam, object *hitter, uint32 type, int full_hit);
29 void confuse_living(object *op, object *hitter, int dam);
30 void blind_living(object *op, object *hitter, int dam);
31 void paralyze_living(object *op, object *hitter, int dam);
32 /* ban.c */
33 int checkbanned(const char *login, const char *host);
34 /* build_map.c */
35 void apply_builder_remove(object *pl, int dir);
36 void apply_map_builder(object *pl, int dir);
37 /* c_chat.c */
38 int command_say(object *op, char *params);
39 int command_me(object *op, char *params);
40 int command_cointoss(object *op, char *params);
41 int command_orcknuckle(object *op, char *params);
42 int command_shout(object *op, char *params);
43 int command_chat(object *op, char *params);
44 int command_tell(object *op, char *params);
45 int command_dmtell(object *op, char *params);
46 int command_reply(object *op, char *params);
47 int command_nod(object *op, char *params);
48 int command_dance(object *op, char *params);
49 int command_kiss(object *op, char *params);
50 int command_bounce(object *op, char *params);
51 int command_smile(object *op, char *params);
52 int command_cackle(object *op, char *params);
53 int command_laugh(object *op, char *params);
54 int command_giggle(object *op, char *params);
55 int command_shake(object *op, char *params);
56 int command_puke(object *op, char *params);
57 int command_growl(object *op, char *params);
58 int command_scream(object *op, char *params);
59 int command_sigh(object *op, char *params);
60 int command_sulk(object *op, char *params);
61 int command_hug(object *op, char *params);
62 int command_cry(object *op, char *params);
63 int command_poke(object *op, char *params);
64 int command_accuse(object *op, char *params);
65 int command_grin(object *op, char *params);
66 int command_bow(object *op, char *params);
67 int command_clap(object *op, char *params);
68 int command_blush(object *op, char *params);
69 int command_burp(object *op, char *params);
70 int command_chuckle(object *op, char *params);
71 int command_cough(object *op, char *params);
72 int command_flip(object *op, char *params);
73 int command_frown(object *op, char *params);
74 int command_gasp(object *op, char *params);
75 int command_glare(object *op, char *params);
76 int command_groan(object *op, char *params);
77 int command_hiccup(object *op, char *params);
78 int command_lick(object *op, char *params);
79 int command_pout(object *op, char *params);
80 int command_shiver(object *op, char *params);
81 int command_shrug(object *op, char *params);
82 int command_slap(object *op, char *params);
83 int command_smirk(object *op, char *params);
84 int command_snap(object *op, char *params);
85 int command_sneeze(object *op, char *params);
86 int command_snicker(object *op, char *params);
87 int command_sniff(object *op, char *params);
88 int command_snore(object *op, char *params);
89 int command_spit(object *op, char *params);
90 int command_strut(object *op, char *params);
91 int command_thank(object *op, char *params);
92 int command_twiddle(object *op, char *params);
93 int command_wave(object *op, char *params);
94 int command_whistle(object *op, char *params);
95 int command_wink(object *op, char *params);
96 int command_yawn(object *op, char *params);
97 int command_beg(object *op, char *params);
98 int command_bleed(object *op, char *params);
99 int command_cringe(object *op, char *params);
100 int command_think(object *op, char *params);
101 /* c_misc.c */
102 void map_info(object *op, char *search);
103 int command_language(object *op, char *params);
104 int command_body(object *op, char *params);
105 int command_motd(object *op, char *params);
106 int command_rules(object *op, char *params);
107 int command_news(object *op, char *params);
108 void malloc_info(object *op);
109 void current_region_info(object *op);
110 void current_map_info(object *op);
111 int command_whereabouts(object *op, char *params);
112 void list_players(object *op, region *reg, partylist *party);
113 int command_who(object *op, char *params);
114 void display_who_entry(object *op, player *pl, const char *format);
115 void get_who_escape_code_value(char *return_val, int size, const char letter, player *pl);
116 int command_afk(object *op, char *params);
117 int command_malloc(object *op, char *params);
118 int command_mapinfo(object *op, char *params);
119 int command_whereami(object *op, char *params);
120 int command_maps(object *op, char *params);
121 int command_strings(object *op, char *params);
122 int command_time(object *op, char *params);
123 int command_archs(object *op, char *params);
124 int command_hiscore(object *op, char *params);
125 int command_debug(object *op, char *params);
126 int command_dumpbelow(object *op, char *params);
127 int command_wizpass(object *op, char *params);
128 int command_wizcast(object *op, char *params);
129 int command_dumpallobjects(object *op, char *params);
130 int command_dumpfriendlyobjects(object *op, char *params);
131 int command_dumpallarchetypes(object *op, char *params);
132 int command_ssdumptable(object *op, char *params);
133 int command_dumpmap(object *op, char *params);
134 int command_dumpallmaps(object *op, char *params);
135 int command_printlos(object *op, char *params);
136 int command_version(object *op, char *params);
137 int command_output_sync(object *op, char *params);
138 int command_output_count(object *op, char *params);
139 int command_listen(object *op, char *params);
140 int command_statistics(object *pl, char *params);
141 int command_fix_me(object *op, char *params);
142 int command_players(object *op, char *params);
143 int command_applymode(object *op, char *params);
144 int command_bowmode(object *op, char *params);
145 int command_petmode(object *op, char *params);
146 int command_showpets(object *op, char *params);
147 int command_usekeys(object *op, char *params);
148 int command_resistances(object *op, char *params);
149 int command_help(object *op, char *params);
150 int onoff_value(const char *line);
151 int command_quit(object *op, char *params);
152 int command_explore(object *op, char *params);
153 int command_sound(object *op, char *params);
154 void receive_player_name(object *op);
155 void receive_player_password(object *op);
156 int command_title(object *op, char *params);
157 int command_save(object *op, char *params);
158 int command_peaceful(object *op, char *params);
159 int command_wimpy(object *op, char *params);
160 int command_brace(object *op, char *params);
161 int command_kill_pets(object *op, char *params);
162 int command_passwd(object *pl, char *params);
163 int do_harvest(object *pl, int dir, object *skill);
164 /* c_move.c */
165 int command_east(object *op, char *params);
166 int command_north(object *op, char *params);
167 int command_northeast(object *op, char *params);
168 int command_northwest(object *op, char *params);
169 int command_south(object *op, char *params);
170 int command_southeast(object *op, char *params);
171 int command_southwest(object *op, char *params);
172 int command_west(object *op, char *params);
173 int command_stay(object *op, char *params);
174 /* c_new.c */
175 int execute_newserver_command(object *pl, char *command);
176 int command_run(object *op, char *params);
177 int command_run_stop(object *op, char *params);
178 int command_fire(object *op, char *params);
179 int command_fire_stop(object *op, char *params);
180 /* c_object.c */
181 int command_uskill(object *pl, char *params);
182 int command_rskill(object *pl, char *params);
183 int command_search(object *op, char *params);
184 int command_disarm(object *op, char *params);
185 int command_throw(object *op, char *params);
186 int command_apply(object *op, char *params);
187 int sack_can_hold(const object *pl, const object *sack, const object *op, uint32 nrof);
188 void pick_up(object *op, object *alt);
189 int command_take(object *op, char *params);
190 void put_object_in_sack(object *op, object *sack, object *tmp, uint32 nrof);
191 object *drop_object(object *op, object *tmp, uint32 nrof);
192 void drop(object *op, object *tmp);
193 int command_dropall(object *op, char *params);
194 int command_drop(object *op, char *params);
195 int command_empty(object *op, char *params);
196 int command_examine(object *op, char *params);
197 object *find_marked_object(object *op);
198 int command_mark(object *op, char *params);
199 void examine_monster(object *op, object *tmp);
200 void examine(object *op, object *tmp);
201 void inventory(object *op, object *inv);
202 int command_pickup(object *op, char *params);
203 int command_search_items(object *op, char *params);
204 int command_rename_item(object *op, char *params);
205 int command_lock_item(object *op, char *params);
206 int command_use(object *op, char *params);
207 /* c_party.c */
209 partylist *form_party(object *op, const char *params);
210 void remove_party(partylist *target_party);
211 void obsolete_parties(void);
212 int confirm_party_password(object *op);
213 void receive_party_password(object *op);
214 void send_party_message(object *op, char *msg);
215 int command_gsay(object *op, char *params);
216 int command_party(object *op, char *params);
217 int command_party_rejoin(object *op, char *params);
218 /* c_range.c */
219 int command_invoke(object *op, char *params);
220 int command_cast(object *op, char *params);
221 int command_prepare(object *op, char *params);
222 int command_cast_spell(object *op, char *params, char command);
223 int legal_range(object *op, int r);
224 void change_spell(object *op, char k);
225 int command_rotateshoottype(object *op, char *params);
226 /* c_wiz.c */
227 int command_loadtest(object *op, char *params);
228 void do_wizard_hide(object *op, int silent_dm);
229 int command_hide(object *op, char *params);
230 int command_setgod(object *op, char *params);
231 int command_banish(object *op, char *params);
232 int command_kick(object *op, const char *params);
233 int command_overlay_save(object *op, char *params);
234 int command_overlay_reset(object *op, char *params);
235 int command_toggle_shout(object *op, char *params);
236 int command_shutdown(object *op, char *params);
237 int command_goto(object *op, char *params);
238 int command_freeze(object *op, char *params);
239 int command_arrest(object *op, char *params);
240 int command_summon(object *op, char *params);
241 int command_teleport(object *op, char *params);
242 int command_create(object *op, char *params);
243 int command_inventory(object *op, char *params);
244 int command_skills(object *op, char *params);
245 int command_dump(object *op, char *params);
246 int command_mon_aggr(object *op, char *params);
247 int command_possess(object *op, char *params);
248 int command_patch(object *op, char *params);
249 int command_remove(object *op, char *params);
250 int command_free(object *op, char *params);
251 int command_addexp(object *op, char *params);
252 int command_speed(object *op, char *params);
253 int command_stats(object *op, char *params);
254 int command_abil(object *op, char *params);
255 int command_reset(object *op, char *params);
256 int command_nowiz(object *op, char *params);
257 int do_wizard_dm(object *op, char *params, int silent);
258 int command_dm(object *op, char *params);
259 int command_invisible(object *op, char *params);
260 int command_learn_spell(object *op, char *params);
261 int command_learn_special_prayer(object *op, char *params);
262 int command_forget_spell(object *op, char *params);
263 int command_listplugins(object *op, char *params);
264 int command_loadplugin(object *op, char *params);
265 int command_unloadplugin(object *op, char *params);
266 int command_dmhide(object *op, char *params);
267 void dm_stack_pop(player *pl);
268 object *dm_stack_peek(player *pl);
269 void dm_stack_push(player *pl, tag_t item);
270 object *get_dm_object(player *pl, char **params, int *from);
271 int command_stack_pop(object *op, char *params);
272 int command_stack_push(object *op, char *params);
273 int command_stack_list(object *op, char *params);
274 int command_stack_clear(object *op, char *params);
275 int command_diff(object *op, char *params);
276 int command_insert_into(object *op, char *params);
277 int command_style_map_info(object *op, char *params);
278 int command_follow(object *op, char *params);
279 /* commands.c */
280 void init_commands(void);
281 /* daemon.c */
282 void become_daemon(void);
283 /* disease.c */
284 int move_disease(object *disease);
285 int infect_object(object *victim, object *disease, int force);
286 void move_symptom(object *symptom);
287 void check_physically_infect(object *victim, object *hitter);
288 int cure_disease(object *sufferer, object *caster);
289 /* hiscore.c */
290 void check_score(object *op, int quiet);
291 void display_high_score(object *op, int max, const char *match);
292 /* gods.c */
293 const object *find_god(const char *name);
294 const char *determine_god(object *op);
295 void pray_at_altar(object *pl, object *altar, object *skill);
296 void become_follower(object *op, const object *new_god);
297 archetype *determine_holy_arch(const object *god, const char *type);
298 int tailor_god_spell(object *spellop, object *caster);
299 /* init.c */
300 void init(int argc, char **argv);
301 void free_server(void);
302 racelink *find_racelink(const char *name);
303 /* login.c */
304 void emergency_save(int flag);
305 void delete_character(const char *name);
306 int verify_player(const char *name, char *password);
307 int check_name(player *me, const char *name);
308 void destroy_object(object *op);
309 int save_player(object *op, int flag);
310 void check_login(object *op);
311 /* monster.c */
312 object *check_enemy(object *npc, rv_vector *rv);
313 object *find_nearest_living_creature(object *npc);
314 int compute_path(object *source, object *target, int default_dir);
315 int move_monster(object *op);
316 void monster_check_apply(object *mon, object *item);
317 void npc_call_help(object *op);
318 void check_earthwalls(object *op, mapstruct *m, int x, int y);
319 void check_doors(object *op, mapstruct *m, int x, int y);
320 void communicate(object *op, const char *txt);
321 void npc_say(object *npc, const char *cp);
322 object *find_mon_throw_ob(object *op);
323 int can_detect_enemy(object *op, object *enemy, rv_vector *rv);
324 int stand_in_light(object *op);
325 int can_see_enemy(object *op, object *enemy);
326 /* move.c */
327 int move_object(object *op, int dir);
328 int move_ob(object *op, int dir, object *originator);
329 int transfer_ob(object *op, int x, int y, int randomly, object *originator);
330 int teleport(object *teleporter, uint8 tele_type, object *user);
331 void recursive_roll(object *op, int dir, object *pusher);
332 int push_ob(object *who, int dir, object *pusher);
333 int move_to(object *op, int x, int y);
334 /* ob_methods.c */
335 void init_ob_methods(void);
336 /* ob_types.c */
337 void register_all_ob_types(void);
338 /* pets.c */
339 object *get_pet_enemy(object *pet, rv_vector *rv);
340 void terminate_all_pets(object *owner);
341 void remove_all_pets(void);
342 void follow_owner(object *ob, object *owner);
343 void pet_move(object *ob);
344 void move_golem(object *op);
345 void control_golem(object *op, int dir);
346 int summon_golem(object *op, object *caster, int dir, object *spob);
347 int summon_object(object *op, object *caster, object *spell_ob, int dir, const char *stringarg);
348 int should_arena_attack(object *pet, object *owner, object *target);
349 /* player.c */
350 player *find_player(const char *plname);
351 player *find_player_partial_name(const char *plname);
352 void display_motd(const object *op);
353 void send_rules(const object *op);
354 void send_news(const object *op);
355 int playername_ok(const char *cp);
356 void add_player(socket_struct *ns);
357 object *get_nearest_player(object *mon);
358 int path_to_player(object *mon, object *pl, unsigned mindiff);
359 void give_initial_items(object *pl, treasurelist *items);
360 void get_name(object *op);
361 void get_password(object *op);
362 void play_again(object *op);
363 void receive_play_again(object *op, char key);
364 void confirm_password(object *op);
365 void get_party_password(object *op, partylist *party);
366 int roll_stat(void);
367 void roll_stats(object *op);
368 void roll_again(object *op);
369 void key_roll_stat(object *op, char key);
370 void key_change_class(object *op, char key);
371 void key_confirm_quit(object *op, char key);
372 int check_pick(object *op);
373 int fire_bow(object *op, object *arrow, int dir, int wc_mod, sint16 sx, sint16 sy);
374 void fire(object *op, int dir);
375 object *find_key(object *pl, object *container, object *door);
376 void move_player_attack(object *op, int dir);
377 int move_player(object *op, int dir);
378 int handle_newcs_player(object *op);
379 void remove_unpaid_objects(object *op, object *env, int free_items);
380 void do_some_living(object *op);
381 void kill_player(object *op);
382 void fix_weight(void);
383 void fix_luck(void);
384 void cast_dust(object *op, object *throw_ob, int dir);
385 void make_visible(object *op);
386 int is_true_undead(object *op);
387 int hideability(object *ob);
388 void do_hidden_move(object *op);
389 int stand_near_hostile(object *who);
390 int player_can_view(object *pl, object *op);
391 int op_on_battleground(object *op, int *x, int *y, archetype **trophy);
392 void dragon_ability_gain(object *who, int atnr, int level);
393 void player_unready_range_ob(player *pl, object *ob);
394 /* plugins.c */
395 int user_event(object *op, object *activator, object *third, const char *message, int fix);
396 int execute_event(object *op, int eventcode, object *activator, object *third, const char *message, int fix);
397 int execute_global_event(int eventcode, ...);
398 int plugins_init_plugin(const char *libfile);
399 void *cfapi_get_hooks(int *type, ...);
400 int plugins_remove_plugin(const char *id);
401 crossfire_plugin *plugins_find_plugin(const char *id);
402 void plugins_display_list(object *op);
403 void *cfapi_system_find_animation(int *type, ...);
404 void *cfapi_system_find_face(int *type, ...);
405 void *cfapi_system_strdup_local(int *type, ...);
406 void *cfapi_system_register_global_event(int *type, ...);
407 void *cfapi_system_unregister_global_event(int *type, ...);
408 void *cfapi_system_add_string(int *type, ...);
409 void *cfapi_system_remove_string(int *type, ...);
410 void *cfapi_system_find_string(int *type, ...);
411 void *cfapi_system_check_path(int *type, ...);
412 void *cfapi_system_re_cmp(int *type, ...);
413 void *cfapi_system_directory(int *type, ...);
414 void *cfapi_get_time(int *type, ...);
415 void *cfapi_get_season_name(int *type, ...);
416 void *cfapi_get_weekday_name(int *type, ...);
417 void *cfapi_get_month_name(int *type, ...);
418 void *cfapi_get_periodofday_name(int *type, ...);
419 void *cfapi_timer_create(int *type, ...);
420 void *cfapi_timer_destroy(int *type, ...);
421 void *cfapi_log(int *type, ...);
422 void *cfapi_map_get_map(int *type, ...);
423 void *cfapi_map_has_been_loaded(int *type, ...);
424 void *cfapi_map_create_path(int *type, ...);
425 void *cfapi_map_get_map_property(int *type, ...);
426 void *cfapi_map_set_map_property(int *type, ...);
427 void *cfapi_map_out_of_map(int *type, ...);
428 void *cfapi_map_update_position(int *type, ...);
429 void *cfapi_map_delete_map(int *type, ...);
430 void *cfapi_map_message(int *type, ...);
431 void *cfapi_map_get_object_at(int *type, ...);
432 void *cfapi_map_present_arch_by_name(int *type, ...);
433 void *cfapi_map_change_light(int *type, ...);
434 void *cfapi_object_move(int *type, ...);
435 void *cfapi_object_get_key(int *type, ...);
436 void *cfapi_object_set_key(int *type, ...);
437 void *cfapi_object_get_property(int *type, ...);
438 void *cfapi_object_set_property(int *type, ...);
439 void *cfapi_object_apply_below(int *type, ...);
440 void *cfapi_object_apply(int *type, ...);
441 void *cfapi_object_identify(int *type, ...);
442 void *cfapi_object_describe(int *type, ...);
443 void *cfapi_object_drain(int *type, ...);
444 void *cfapi_object_fix(int *type, ...);
445 void *cfapi_object_give_skill(int *type, ...);
446 void *cfapi_object_transmute(int *type, ...);
447 void *cfapi_object_remove(int *type, ...);
448 void *cfapi_object_delete(int *type, ...);
449 void *cfapi_object_clone(int *type, ...);
450 void *cfapi_object_find(int *type, ...);
451 void *cfapi_object_create(int *type, ...);
452 void *cfapi_object_insert(int *type, ...);
453 void *cfapi_object_split(int *type, ...);
454 void *cfapi_object_merge(int *type, ...);
455 void *cfapi_object_distance(int *type, ...);
456 void *cfapi_object_update(int *type, ...);
457 void *cfapi_object_clear(int *type, ...);
458 void *cfapi_object_reset(int *type, ...);
459 void *cfapi_object_check_inventory(int *type, ...);
460 void *cfapi_object_clean_object(int *type, ...);
461 void *cfapi_object_on_same_map(int *type, ...);
462 void *cfapi_object_spring_trap(int *type, ...);
463 void *cfapi_object_check_trigger(int *type, ...);
464 void *cfapi_map_trigger_connected(int *type, ...);
465 void *cfapi_object_query_cost(int *type, ...);
466 void *cfapi_object_query_money(int *type, ...);
467 void *cfapi_object_cast(int *type, ...);
468 void *cfapi_object_learn_spell(int *type, ...);
469 void *cfapi_object_forget_spell(int *type, ...);
470 void *cfapi_object_check_spell(int *type, ...);
471 void *cfapi_object_pay_amount(int *type, ...);
472 void *cfapi_object_pay_item(int *type, ...);
473 void *cfapi_object_transfer(int *type, ...);
474 void *cfapi_object_find_archetype_inside(int *type, ...);
475 void *cfapi_object_drop(int *type, ...);
476 void *cfapi_object_change_abil(int *type, ...);
477 void *cfapi_object_say(int *type, ...);
478 void *cfapi_player_find(int *type, ...);
479 void *cfapi_player_message(int *type, ...);
480 void *cfapi_object_change_exp(int *type, ...);
481 void *cfapi_player_can_pay(int *type, ...);
482 void *cfapi_object_teleport(int *type, ...);
483 void *cfapi_object_pickup(int *type, ...);
484 void *cfapi_archetype_get_property(int *type, ...);
485 void *cfapi_party_get_property(int *type, ...);
486 void *cfapi_region_get_property(int *type, ...);
487 void *cfapi_friendlylist_get_next(int *type, ...);
488 void *cfapi_set_random_map_variable(int *type, ...);
489 void *cfapi_generate_random_map(int *type, ...);
490 void *cfapi_object_user_event(int *type, ...);
491 command_array_struct *find_plugin_command(char *cmd, object *op);
492 int initPlugins(void);
493 void cleanupPlugins(void);
494 /* resurrection.c */
495 int cast_raise_dead_spell(object *op, object *caster, object *spell, int dir, const char *arg);
496 void dead_player(object *op);
497 /* rune.c */
498 int write_rune(object *op, object *caster, object *spell, int dir, const char *runename);
499 void spring_trap(object *trap, object *victim);
500 int dispel_rune(object *op, object *caster, object *spell, object *skill, int dir);
501 int trap_see(object *op, object *trap);
502 int trap_show(object *trap, object *where);
503 int trap_disarm(object *disarmer, object *trap, int risk, object *skill);
504 void trap_adjust(object *trap, int difficulty);
505 /* shop.c */
506 uint64 query_cost(const object *tmp, object *who, int flag);
507 uint64 query_money(const object *op);
508 int pay_for_amount(uint64 to_pay, object *pl);
509 int pay_for_item(object *op, object *pl);
510 int can_pay(object *pl);
511 int get_payment(object *pl, object *op);
512 void sell_item(object *op, object *pl);
513 double shopkeeper_approval(const mapstruct *map, const object *player);
514 int describe_shop(const object *op);
515 int is_in_shop(object *ob);
516 int coords_in_shop(mapstruct *map, int x, int y);
517 StringBuffer *query_cost_string(const object *tmp, object *who, int flag, StringBuffer *buf);
518 /* skills.c */
519 int steal(object *op, int dir, object *skill);
520 int pick_lock(object *pl, int dir, object *skill);
521 int hide(object *op, object *skill);
522 int jump(object *pl, int dir, object *skill);
523 int skill_ident(object *pl, object *skill);
524 int use_oratory(object *pl, int dir, object *skill);
525 int singing(object *pl, int dir, object *skill);
526 int find_traps(object *pl, object *skill);
527 int remove_trap(object *op, object *skill);
528 int pray(object *pl, object *skill);
529 void meditate(object *pl, object *skill);
530 int write_on_item(object *pl, const char *params, object *skill);
531 int skill_throw(object *op, object *part, int dir, const char *params, object *skill);
532 /* skill_util.c */
533 void init_skills(void);
534 void link_player_skills(object *op);
535 object *find_skill_by_name(object *who, const char *name);
536 object *find_skill_by_number(object *who, int skillno);
537 int change_skill(object *who, object *new_skill, int flag);
538 void clear_skill(object *who);
539 int do_skill(object *op, object *part, object *skill, int dir, const char *string);
540 sint64 calc_skill_exp(object *who, object *op, object *skill);
541 int learn_skill(object *pl, object *scroll);
542 void show_skills(object *op, const char *search);
543 int use_skill(object *op, const char *string);
544 int skill_attack(object *tmp, object *pl, int dir, const char *string, object *skill);
545 /* spell_attack.c */
546 int fire_bolt(object *op, object *caster, int dir, object *spob, object *skill);
547 void explode_bullet(object *op);
548 void check_bullet(object *op);
549 int fire_bullet(object *op, object *caster, int dir, object *spob);
550 void cone_drop(object *op);
551 int cast_cone(object *op, object *caster, int dir, object *spell);
552 int create_bomb(object *op, object *caster, int dir, object *spell);
553 int cast_smite_spell(object *op, object *caster, int dir, object *spell);
554 int cast_destruction(object *op, object *caster, object *spell_ob);
555 int cast_curse(object *op, object *caster, object *spell_ob, int dir);
556 int mood_change(object *op, object *caster, object *spell);
557 int fire_swarm(object *op, object *caster, object *spell, int dir);
558 int cast_light(object *op, object *caster, object *spell, int dir);
559 int cast_cause_disease(object *op, object *caster, object *spell, int dir);
560 /* spell_effect.c */
561 void cast_magic_storm(object *op, object *tmp, int lvl);
562 int recharge(object *op, object *caster, object *spell_ob);
563 void polymorph(object *op, object *who, int level);
564 int cast_polymorph(object *op, object *caster, object *spell_ob, int dir);
565 int cast_create_missile(object *op, object *caster, object *spell, int dir, const char *stringarg);
566 int cast_create_food(object *op, object *caster, object *spell_ob, int dir, const char *stringarg);
567 int probe(object *op, object *caster, object *spell_ob, int dir);
568 int makes_invisible_to(object *pl, object *mon);
569 int cast_invisible(object *op, object *caster, object *spell_ob);
570 int cast_earth_to_dust(object *op, object *caster, object *spell_ob);
571 int cast_word_of_recall(object *op, object *caster, object *spell_ob);
572 int cast_wonder(object *op, object *caster, int dir, object *spell_ob);
573 int perceive_self(object *op);
574 int cast_create_town_portal(object *op, object *caster, object *spell, int dir);
575 int magic_wall(object *op, object *caster, int dir, object *spell_ob);
576 int dimension_door(object *op, object *caster, object *spob, int dir);
577 int cast_heal(object *op, object *caster, object *spell, int dir);
578 int cast_change_ability(object *op, object *caster, object *spell_ob, int dir, int silent);
579 int cast_bless(object *op, object *caster, object *spell_ob, int dir);
580 int alchemy(object *op, object *caster, object *spell_ob);
581 int remove_curse(object *op, object *caster, object *spell);
582 int cast_item_curse_or_curse(object *op, object *caster, object *spell_ob);
583 int cast_identify(object *op, object *caster, object *spell);
584 int cast_detection(object *op, object *caster, object *spell);
585 int cast_transfer(object *op, object *caster, object *spell, int dir);
586 void counterspell(object *op, int dir);
587 int cast_consecrate(object *op, object *caster, object *spell);
588 int animate_weapon(object *op, object *caster, object *spell, int dir);
589 int cast_change_map_lightlevel(object *op, object *caster, object *spell);
590 int create_aura(object *op, object *caster, object *spell);
591 int write_mark(object *op, object *spell, const char *msg);
592 /* spell_util.c */
593 object *find_random_spell_in_ob(object *ob, const char *skill);
594 void set_spell_skill(object *op, object *caster, object *spob, object *dest);
595 void check_spells(void);
596 void dump_spells(void);
597 void spell_effect(object *spob, int x, int y, mapstruct *map, object *originator);
598 int min_casting_level(const object *caster, const object *spell);
599 int caster_level(const object *caster, const object *spell);
600 sint16 SP_level_spellpoint_cost(object *caster, object *spell, int flags);
601 int SP_level_dam_adjust(const object *caster, const object *spob);
602 int SP_level_duration_adjust(const object *caster, const object *spob);
603 int SP_level_range_adjust(const object *caster, const object *spob);
604 object *check_spell_known(object *op, const char *name);
605 object *lookup_spell_by_name(object *op, const char *spname);
606 int reflwall(mapstruct *m, int x, int y, object *sp_op);
607 int cast_create_obj(object *op, object *new_op, int dir);
608 int ok_to_put_more(mapstruct *m, sint16 x, sint16 y, object *op, uint32 immune_stop);
609 int fire_arch_from_position(object *op, object *caster, sint16 x, sint16 y, int dir, object *spell);
610 void regenerate_rod(object *rod);
611 void drain_rod_charge(object *rod);
612 void drain_wand_charge(object *wand);
613 object *find_target_for_friendly_spell(object *op, int dir);
614 int spell_find_dir(mapstruct *m, int x, int y, object *exclude);
615 int summon_hostile_monsters(object *op, int n, const char *monstername);
616 void shuffle_attack(object *op, int change_face);
617 void spell_failure(object *op, int failure, int power, object *skill);
618 int cast_spell(object *op, object *caster, int dir, object *spell_ob, char *stringarg);
619 void store_spell_expiry(object *spell);
620 void check_spell_expiry(object *spell);
621 /* swap.c */
622 void read_map_log(void);
623 int swap_map(mapstruct *map);
624 void check_active_maps(void);
625 void swap_below_max(const char *except_level);
626 int players_on_map(mapstruct *m, int show_all);
627 void flush_old_maps(void);
628 /* time.c */
629 void remove_door(object *op);
630 void remove_locked_door(object *op);
631 object *stop_item(object *op);
632 void fix_stopped_item(object *op, mapstruct *map, object *originator);
633 object *fix_stopped_arrow(object *op);
634 int free_no_drop(object *op);
635 void move_firewall(object *op);
636 void move_player_mover(object *op);
637 int process_object(object *op);
638 void legacy_remove_force(object *op);
639 void legacy_animate_trigger(object *op);
640 void legacy_move_hole(object *op);
641 /* timers.c */
642 void cftimer_process_timers(void);
643 int cftimer_create(int id, long delay, object *ob, int mode);
644 int cftimer_destroy(int id);
645 int cftimer_find_free_id(void);
646 void cftimer_init(void);
647 /* weather.c */
648 void set_darkness_map(mapstruct *m);
649 void tick_the_clock(void);
650 int similar_direction(int a, int b);
651 /* server.c */
652 void version(object *op);
653 void start_info(object *op);
654 char *crypt_string(char *str, char *salt);
655 int check_password(char *typed, char *crypted);
656 void enter_player_savebed(object *op);
657 void set_map_timeout(mapstruct *oldmap);
658 void enter_exit(object *op, object *exit_ob);
659 void process_events(void);
660 void clean_tmp_files(void);
661 void cleanup(void);
662 void leave(player *pl, int draw_exit);
663 int forbid_play(void);
664 int server_main(int argc, char **argv);
int command_thank(object *op, char *params)
Definition: c_chat.c:1606
int command_free(object *op, char *params)
Definition: c_wiz.c:1394
int command_insert_into(object *op, char *params)
Definition: c_wiz.c:2733
void * cfapi_object_change_exp(int *type,...)
Definition: plugins.c:4162
int command_dumpallobjects(object *op, char *params)
Definition: c_misc.c:1072
int command_empty(object *op, char *params)
Definition: c_object.c:1263
int command_explore(object *op, char *params)
Definition: c_misc.c:2086
int command_cast(object *op, char *params)
Definition: c_range.c:67
void spring_trap(object *trap, object *victim)
Definition: rune.c:227
void * cfapi_object_merge(int *type,...)
Definition: plugins.c:3512
void regenerate_rod(object *rod)
Definition: spell_util.c:728
void clean_tmp_files(void)
Definition: standalone.c:194
int command_smile(object *op, char *params)
Definition: c_chat.c:1086
void set_map_timeout(mapstruct *oldmap)
Definition: standalone.c:77
object * lookup_spell_by_name(object *op, const char *spname)
Definition: spell_util.c:430
int check_password(char *typed, char *crypted)
Definition: server.c:162
int command_printlos(object *op, char *params)
Definition: c_misc.c:1163
Definition: player.h:146
int command_stack_list(object *op, char *params)
Definition: c_wiz.c:2600
int apply_special(object *who, object *op, int aflags)
Definition: apply.c:1139
const char * determine_god(object *op)
Definition: gods.c:118
int command_overlay_save(object *op, char *params)
Definition: c_wiz.c:406
void * cfapi_party_get_property(int *type,...)
Definition: plugins.c:4320
void polymorph(object *op, object *who, int level)
Definition: spell_effect.c:399
void show_skills(object *op, const char *search)
Definition: skill_util.c:773
uint64 query_money(const object *op)
Definition: shop.c:581
void * cfapi_object_remove(int *type,...)
Definition: plugins.c:3224
int command_speed(object *op, char *params)
Definition: c_wiz.c:1493
void * cfapi_system_find_animation(int *type,...)
Definition: plugins.c:648
int is_in_shop(object *ob)
Definition: shop.c:1414
void legacy_remove_force(object *op)
Definition: time.c:768
int command_snap(object *op, char *params)
Definition: c_chat.c:1515
int teleport(object *teleporter, uint8 tele_type, object *user)
Definition: move.c:244
int change_skill(object *who, object *new_skill, int flag)
Definition: skill_util.c:301
int fire_bolt(object *op, object *caster, int dir, object *spob, object *skill)
Definition: spell_attack.c:78
int friendly_fire(object *op, object *hitter)
Definition: attack.c:1818
int move_player(object *op, int dir)
Definition: player.c:2741
void npc_say(object *npc, const char *cp)
Definition: monster.c:1933
int skill_ident(object *pl, object *skill)
Definition: skills.c:872
signed short sint16
Definition: global.h:72
void enter_exit(object *op, object *exit_ob)
Definition: server.c:740
void save_throw_object(object *op, uint32 type, object *originator)
Definition: attack.c:171
Definition: map.h:399
int command_run_stop(object *op, char *params)
Definition: c_new.c:191
void roll_again(object *op)
Definition: player.c:1006
int cast_raise_dead_spell(object *op, object *caster, object *spell, int dir, const char *arg)
Definition: resurrection.c:186
void leave(player *pl, int draw_exit)
Definition: server.c:1234
void * cfapi_archetype_get_property(int *type,...)
Definition: plugins.c:4262
object * check_spell_known(object *op, const char *name)
Definition: spell_util.c:408
object * dm_stack_peek(player *pl)
Definition: c_wiz.c:2373
int check_name(player *me, const char *name)
Definition: login.c:173
int command_use(object *op, char *params)
Definition: c_object.c:2282
int command_shrug(object *op, char *params)
Definition: c_chat.c:1476
int probe(object *op, object *caster, object *spell_ob, int dir)
Definition: spell_effect.c:715
void remove_door(object *op)
Definition: time.c:51
int command_overlay_reset(object *op, char *params)
Definition: c_wiz.c:430
void * cfapi_object_apply_below(int *type,...)
Definition: plugins.c:3061
object * check_enemy(object *npc, rv_vector *rv)
Definition: monster.c:83
int caster_level(const object *caster, const object *spell)
Definition: spell_util.c:237
int command_shout(object *op, char *params)
Definition: c_chat.c:241
int command_applymode(object *op, char *params)
Definition: c_misc.c:1443
int command_dump(object *op, char *params)
Definition: c_wiz.c:1171
int command_west(object *op, char *params)
Definition: c_move.c:168
int fire_bow(object *op, object *arrow, int dir, int wc_mod, sint16 sx, sint16 sy)
Definition: player.c:1922
void register_all_ob_types(void)
Definition: ob_types.c:45
void receive_player_password(object *op)
Definition: c_misc.c:2160
void do_forget_spell(object *op, const char *spell)
Definition: apply.c:440
int similar_direction(int a, int b)
Definition: weather.c:132
int command_wizpass(object *op, char *params)
Definition: c_misc.c:1006
int makes_invisible_to(object *pl, object *mon)
Definition: spell_effect.c:774
void * cfapi_generate_random_map(int *type,...)
Definition: plugins.c:4511
void shuffle_attack(object *op, int change_face)
Definition: spell_util.c:1004
void * cfapi_system_strdup_local(int *type,...)
Definition: plugins.c:694
int command_dropall(object *op, char *params)
Definition: c_object.c:1021
int cast_change_ability(object *op, object *caster, object *spell_ob, int dir, int silent)
int command_take(object *op, char *params)
Definition: c_object.c:602
Definition: race.h:12
crossfire_plugin * plugins_find_plugin(const char *id)
Definition: plugins.c:604
void do_some_living(object *op)
Definition: player.c:3017
int command_passwd(object *pl, char *params)
Definition: c_misc.c:2454
int command_slap(object *op, char *params)
Definition: c_chat.c:1489
int command_reply(object *op, char *params)
Definition: c_chat.c:373
void drain_wand_charge(object *wand)
Definition: spell_util.c:753
int fire_arch_from_position(object *op, object *caster, sint16 x, sint16 y, int dir, object *spell)
Definition: spell_util.c:653
int command_follow(object *op, char *params)
Definition: c_wiz.c:2863
int command_reset(object *op, char *params)
Definition: c_wiz.c:1665
void * cfapi_object_learn_spell(int *type,...)
Definition: plugins.c:3829
void do_wizard_hide(object *op, int silent_dm)
Definition: c_wiz.c:147
void * cfapi_get_time(int *type,...)
Definition: plugins.c:924
void cast_dust(object *op, object *throw_ob, int dir)
Definition: player.c:3682
void * cfapi_system_remove_string(int *type,...)
Definition: plugins.c:779
int attack_ob(object *op, object *hitter)
Definition: attack.c:929
int push_ob(object *who, int dir, object *pusher)
Definition: move.c:492
int command_peaceful(object *op, char *params)
Definition: c_misc.c:2333
int fire_bullet(object *op, object *caster, int dir, object *spob)
Definition: spell_attack.c:301
void * cfapi_object_transmute(int *type,...)
Definition: plugins.c:3206
int command_help(object *op, char *params)
Definition: c_misc.c:1900
int forbid_play(void)
Definition: server.c:1296
void * cfapi_log(int *type,...)
Definition: plugins.c:1069
void * cfapi_map_message(int *type,...)
Definition: plugins.c:1426
object * mon
Definition: comet_perf.c:74
int cast_bless(object *op, object *caster, object *spell_ob, int dir)
int command_save(object *op, char *params)
Definition: c_misc.c:2305
int move_disease(object *disease)
Definition: disease.c:192
void move_player_mover(object *op)
Definition: time.c:639
int do_harvest(object *pl, int dir, object *skill)
Definition: c_misc.c:2472
int save_player(object *op, int flag)
Definition: login.c:223
int command_lick(object *op, char *params)
Definition: c_chat.c:1437
int command_patch(object *op, char *params)
Definition: c_wiz.c:1296
int command_wink(object *op, char *params)
Definition: c_chat.c:1658
int coords_in_shop(mapstruct *map, int x, int y)
Definition: shop.c:1429
void move_symptom(object *symptom)
Definition: disease.c:615
void fix_stopped_item(object *op, mapstruct *map, object *originator)
Definition: time.c:466
int command_title(object *op, char *params)
Definition: c_misc.c:2250
int command_spit(object *op, char *params)
Definition: c_chat.c:1580
int command_mon_aggr(object *op, char *params)
Definition: c_wiz.c:1202
void * cfapi_system_directory(int *type,...)
Definition: plugins.c:867
void key_roll_stat(object *op, char key)
Definition: player.c:1079
int cast_smite_spell(object *op, object *caster, int dir, object *spell)
Definition: spell_attack.c:655
void * cfapi_timer_create(int *type,...)
Definition: plugins.c:1010
void pick_up(object *op, object *alt)
Definition: c_object.c:462
int command_southeast(object *op, char *params)
Definition: c_move.c:142
void * cfapi_object_set_key(int *type,...)
Definition: plugins.c:1613
int command_glare(object *op, char *params)
Definition: c_chat.c:1398
int command_nod(object *op, char *params)
Definition: c_chat.c:1034
void * cfapi_timer_destroy(int *type,...)
Definition: plugins.c:1046
int command_puke(object *op, char *params)
Definition: c_chat.c:1151
int command_debug(object *op, char *params)
Definition: c_misc.c:945
void spell_failure(object *op, int failure, int power, object *skill)
Definition: spell_util.c:1078
int check_pick(object *op)
Definition: player.c:1384
void * cfapi_player_message(int *type,...)
Definition: plugins.c:4134
int pick_lock(object *pl, int dir, object *skill)
Definition: skills.c:400
int command_throw(object *op, char *params)
Definition: c_object.c:198
int command_north(object *op, char *params)
Definition: c_move.c:90
void * cfapi_object_transfer(int *type,...)
Definition: plugins.c:3941
int command_lock_item(object *op, char *params)
Definition: c_object.c:2234
int command_addexp(object *op, char *params)
Definition: c_wiz.c:1433
void * cfapi_get_season_name(int *type,...)
Definition: plugins.c:957
int command_cast_spell(object *op, char *params, char command)
Definition: c_range.c:178
int command_hiscore(object *op, char *params)
Definition: c_misc.c:930
int free_no_drop(object *op)
Definition: time.c:536
int cast_word_of_recall(object *op, object *caster, object *spell_ob)
Definition: spell_effect.c:935
void apply_changes_to_player(object *pl, object *change)
Definition: apply.c:1776
int command_scream(object *op, char *params)
Definition: c_chat.c:1177
void play_again(object *op)
Definition: player.c:810
void legacy_move_hole(object *op)
Definition: time.c:776
int command_possess(object *op, char *params)
Definition: c_wiz.c:1232
int command_growl(object *op, char *params)
Definition: c_chat.c:1164
int command_apply(object *op, char *params)
Definition: c_object.c:221
void check_spell_expiry(object *spell)
Definition: spell_util.c:1854
int checkbanned(const char *login, const char *host)
Definition: ban.c:38
int SP_level_dam_adjust(const object *caster, const object *spob)
Definition: spell_util.c:332
int command_dmhide(object *op, char *params)
Definition: c_wiz.c:2333
int command_nowiz(object *op, char *params)
Definition: c_wiz.c:1839
void blind_living(object *op, object *hitter, int dam)
Definition: attack.c:2276
object * get_pet_enemy(object *pet, rv_vector *rv)
Definition: pets.c:67
int command_output_sync(object *op, char *params)
Definition: c_misc.c:1196
void control_golem(object *op, int dir)
Definition: pets.c:648
void swap_below_max(const char *except_level)
Definition: swap.c:253
int stand_near_hostile(object *who)
Definition: player.c:3837
int command_frown(object *op, char *params)
Definition: c_chat.c:1372
int command_rules(object *op, char *params)
Definition: c_misc.c:218
void * cfapi_map_has_been_loaded(int *type,...)
Definition: plugins.c:1149
int command_dance(object *op, char *params)
Definition: c_chat.c:1047
void * cfapi_object_find_archetype_inside(int *type,...)
Definition: plugins.c:4004
void * cfapi_player_find(int *type,...)
Definition: plugins.c:4118
int roll_stat(void)
Definition: player.c:908
int trap_disarm(object *disarmer, object *trap, int risk, object *skill)
Definition: rune.c:459
int command_style_map_info(object *op, char *params)
Definition: c_wiz.c:2815
player * find_player(const char *plname)
Definition: player.c:62
int manual_apply(object *op, object *tmp, int aflag)
Definition: apply.c:512
int verify_player(const char *name, char *password)
Definition: login.c:120
int jump(object *pl, int dir, object *skill)
Definition: skills.c:651
object * stop_item(object *op)
Definition: time.c:426
int command_invisible(object *op, char *params)
Definition: c_wiz.c:1998
int remove_trap(object *op, object *skill)
Definition: skills.c:1272
void check_login(object *op)
Definition: login.c:473
void * cfapi_system_find_face(int *type,...)
Definition: plugins.c:670
int command_snore(object *op, char *params)
Definition: c_chat.c:1567
void fix_weight(void)
Definition: player.c:3645
int create_bomb(object *op, object *caster, int dir, object *spell)
Definition: spell_attack.c:552
int command_wave(object *op, char *params)
Definition: c_chat.c:1632
void * cfapi_object_delete(int *type,...)
Definition: plugins.c:3245
void dead_player(object *op)
Definition: resurrection.c:291
int command_party_rejoin(object *op, char *params)
Definition: c_party.c:688
void * cfapi_get_hooks(int *type,...)
Definition: plugins.c:527
const object * find_god(const char *name)
Definition: gods.c:92
void cone_drop(object *op)
Definition: spell_attack.c:369
void legacy_apply_container(object *op, object *sack)
Definition: apply.c:1872
int command_loadtest(object *op, char *params)
Definition: c_wiz.c:108
int legal_range(object *op, int r)
Definition: c_range.c:282
void * cfapi_object_pay_item(int *type,...)
Definition: plugins.c:3914
int player_can_view(object *pl, object *op)
Definition: player.c:3906
int path_to_player(object *mon, object *pl, unsigned mindiff)
Definition: player.c:556
void get_party_password(object *op, partylist *party)
Definition: player.c:891
int command_freeze(object *op, char *params)
Definition: c_wiz.c:571
int command_time(object *op, char *params)
Definition: c_misc.c:900
int command_abil(object *op, char *params)
Definition: c_wiz.c:1595
int reflwall(mapstruct *m, int x, int y, object *sp_op)
Definition: spell_util.c:490
int command_shake(object *op, char *params)
Definition: c_chat.c:1138
object * find_mon_throw_ob(object *op)
Definition: monster.c:1978
int recharge(object *op, object *caster, object *spell_ob)
Definition: spell_effect.c:90
int command_rotateshoottype(object *op, char *params)
Definition: c_range.c:394
void terminate_all_pets(object *owner)
Definition: pets.c:250
void * cfapi_get_month_name(int *type,...)
Definition: plugins.c:981
int swap_map(mapstruct *map)
Definition: swap.c:146
Definition: object.h:321
void change_spell(object *op, char k)
Definition: c_range.c:321
void * cfapi_map_create_path(int *type,...)
Definition: plugins.c:1170
int ok_to_put_more(mapstruct *m, sint16 x, sint16 y, object *op, uint32 immune_stop)
Definition: spell_util.c:555
object * get_dm_object(player *pl, char **params, int *from)
Definition: c_wiz.c:2450
int command_stay(object *op, char *params)
Definition: c_move.c:181
int command_yawn(object *op, char *params)
Definition: c_chat.c:1671
int command_ssdumptable(object *op, char *params)
Definition: c_misc.c:1117
int command_dumpmap(object *op, char *params)
Definition: c_misc.c:1132
int cast_cone(object *op, object *caster, int dir, object *spell)
Definition: spell_attack.c:403
void check_active_maps(void)
Definition: swap.c:206
void cleanup(void)
Definition: server.c:1196
int cast_create_food(object *op, object *caster, object *spell_ob, int dir, const char *stringarg)
Definition: spell_effect.c:639
int command_southwest(object *op, char *params)
Definition: c_move.c:155
void * cfapi_system_re_cmp(int *type,...)
Definition: plugins.c:848
int command_think(object *op, char *params)
Definition: c_chat.c:1723
void version(object *op)
Definition: server.c:81
void check_bullet(object *op)
Definition: spell_attack.c:242
void get_name(object *op)
Definition: player.c:786
void * cfapi_object_set_property(int *type,...)
Definition: plugins.c:2459
int command_say(object *op, char *params)
Definition: c_chat.c:47
void paralyze_living(object *op, object *hitter, int dam)
Definition: attack.c:2324
void trap_adjust(object *trap, int difficulty)
Definition: standalone.c:222
int use_alchemy(object *op)
Definition: alchemy.c:1006
int command_listen(object *op, char *params)
Definition: c_misc.c:1264
void display_who_entry(object *op, player *pl, const char *format)
Definition: c_misc.c:648
int trap_show(object *trap, object *where)
Definition: rune.c:431
uint32 tag_t
Definition: object.h:40
int command_create(object *op, char *params)
Definition: c_wiz.c:783
int move_to(object *op, int x, int y)
Definition: move.c:626
int cast_item_curse_or_curse(object *op, object *caster, object *spell_ob)
int command_resistances(object *op, char *params)
Definition: c_misc.c:1740
void flush_old_maps(void)
Definition: swap.c:305
int cast_curse(object *op, object *caster, object *spell_ob, int dir)
Definition: spell_attack.c:914
int command_fire_stop(object *op, char *params)
Definition: c_new.c:229
int fire_swarm(object *op, object *caster, object *spell, int dir)
int command_maps(object *op, char *params)
Definition: c_misc.c:861
int command_malloc(object *op, char *params)
Definition: c_misc.c:818
void * cfapi_map_delete_map(int *type,...)
Definition: plugins.c:1413
void * cfapi_system_register_global_event(int *type,...)
Definition: plugins.c:709
int command_laugh(object *op, char *params)
Definition: c_chat.c:1112
void handle_apply_yield(object *tmp)
Definition: apply.c:131
void * cfapi_map_get_map(int *type,...)
Definition: plugins.c:1095
int command_forget_spell(object *op, char *params)
Definition: c_wiz.c:2210
int command_rskill(object *pl, char *params)
Definition: c_object.c:132
void do_hidden_move(object *op)
Definition: player.c:3796
int command_search(object *op, char *params)
Definition: c_object.c:167
int command_giggle(object *op, char *params)
Definition: c_chat.c:1125
void confuse_living(object *op, object *hitter, int dam)
Definition: attack.c:2237
void fix_auto_apply(mapstruct *m)
Definition: standalone.c:130
int command_sneeze(object *op, char *params)
Definition: c_chat.c:1528
int command_orcknuckle(object *op, char *params)
Definition: c_chat.c:134
void * cfapi_object_fix(int *type,...)
Definition: plugins.c:3173
int command_wizcast(object *op, char *params)
Definition: c_misc.c:1039
int command_uskill(object *pl, char *params)
Definition: c_object.c:113
int command_pout(object *op, char *params)
Definition: c_chat.c:1450
void check_earthwalls(object *op, mapstruct *m, int x, int y)
Definition: monster.c:1791
void become_daemon(void)
Definition: daemon.c:72
int command_shutdown(object *op, char *params)
Definition: c_wiz.c:508
void * cfapi_object_distance(int *type,...)
Definition: plugins.c:3538
void communicate(object *op, const char *txt)
Definition: monster.c:1831
int command_showpets(object *op, char *params)
Definition: c_misc.c:1606
int cast_create_town_portal(object *op, object *caster, object *spell, int dir)
void * cfapi_friendlylist_get_next(int *type,...)
Definition: plugins.c:4439
int command_players(object *op, char *params)
Definition: c_misc.c:1390
void key_change_class(object *op, char key)
Definition: player.c:1156
int command_usekeys(object *op, char *params)
Definition: c_misc.c:1692
int move_monster(object *op)
Definition: monster.c:566
void * cfapi_region_get_property(int *type,...)
Definition: plugins.c:4378
racelink * find_racelink(const char *name)
Definition: init.c:1468
int skill_attack(object *tmp, object *pl, int dir, const char *string, object *skill)
Definition: skill_util.c:1126
void * cfapi_object_clear(int *type,...)
Definition: plugins.c:3585
object * find_target_for_friendly_spell(object *op, int dir)
Definition: spell_util.c:779
int command_prepare(object *op, char *params)
Definition: c_range.c:82
int command_wimpy(object *op, char *params)
Definition: c_misc.c:2353
int command_chat(object *op, char *params)
Definition: c_chat.c:254
void map_info(object *op, char *search)
Definition: c_misc.c:55
void drain_rod_charge(object *rod)
Definition: spell_util.c:743
int command_stack_push(object *op, char *params)
Definition: c_wiz.c:2578
int hide(object *op, object *skill)
Definition: skills.c:498
StringBuffer * query_cost_string(const object *tmp, object *who, int flag, StringBuffer *buf)
Definition: shop.c:511
void receive_party_password(object *op)
Definition: c_party.c:248
void key_confirm_quit(object *op, char key)
Definition: player.c:1278
void add_player(socket_struct *ns)
Definition: player.c:383
void * cfapi_object_query_cost(int *type,...)
Definition: plugins.c:3752
void get_password(object *op)
Definition: player.c:798
int command_bleed(object *op, char *params)
Definition: c_chat.c:1697
int pay_for_item(object *op, object *pl)
Definition: shop.c:652
Definition: map.h:297
int command_hiccup(object *op, char *params)
Definition: c_chat.c:1424
object * hit_with_arrow(object *op, object *victim)
Definition: attack.c:975
void * cfapi_system_unregister_global_event(int *type,...)
Definition: plugins.c:729
int plugins_init_plugin(const char *libfile)
Definition: plugins.c:455
int command_stack_clear(object *op, char *params)
Definition: c_wiz.c:2636
int command_fix_me(object *op, char *params)
Definition: c_misc.c:1374
object * get_nearest_player(object *mon)
Definition: player.c:447
int command_gsay(object *op, char *params)
Definition: c_party.c:304
int cast_create_obj(object *op, object *new_op, int dir)
Definition: spell_util.c:517
int summon_hostile_monsters(object *op, int n, const char *monstername)
Definition: spell_util.c:970
int perceive_self(object *op)
void * cfapi_object_drop(int *type,...)
Definition: plugins.c:4044
int should_director_abort(object *op, object *victim)
Definition: apply.c:81
int SP_level_duration_adjust(const object *caster, const object *spob)
Definition: spell_util.c:357
void read_map_log(void)
Definition: swap.c:83
int cast_light(object *op, object *caster, object *spell, int dir)
sint64 calc_skill_exp(object *who, object *op, object *skill)
Definition: skill_util.c:599
int stand_in_light(object *op)
Definition: monster.c:2159
void * cfapi_object_teleport(int *type,...)
Definition: plugins.c:4210
int command_bowmode(object *op, char *params)
Definition: c_misc.c:1491
int cure_disease(object *sufferer, object *caster)
Definition: disease.c:715
int command_language(object *op, char *params)
Definition: c_misc.c:97
int command_setgod(object *op, char *params)
Definition: c_wiz.c:232
void monster_check_apply(object *mon, object *item)
Definition: standalone.c:219
int command_loadplugin(object *op, char *params)
Definition: c_wiz.c:2259
int command_northwest(object *op, char *params)
Definition: c_move.c:116
int command_gasp(object *op, char *params)
Definition: c_chat.c:1385
void * cfapi_object_insert(int *type,...)
Definition: plugins.c:3394
int compute_path(object *source, object *target, int default_dir)
Definition: monster.c:371
int command_groan(object *op, char *params)
Definition: c_chat.c:1411
int write_mark(object *op, object *spell, const char *msg)
void * cfapi_map_trigger_connected(int *type,...)
Definition: plugins.c:3729
int command_disarm(object *op, char *params)
Definition: c_object.c:181
void spell_effect(object *spob, int x, int y, mapstruct *map, object *originator)
Definition: spell_util.c:182
int command_sound(object *op, char *params)
Definition: c_misc.c:2120
int hit_map(object *op, int dir, uint32 type, int full_hit)
Definition: attack.c:292
int is_true_undead(object *op)
Definition: player.c:3731
void legacy_animate_trigger(object *op)
Definition: time.c:772
int command_kick(object *op, const char *params)
Definition: c_wiz.c:352
void * cfapi_map_update_position(int *type,...)
Definition: plugins.c:1396
object * drop_object(object *op, object *tmp, uint32 nrof)
Definition: c_object.c:847
int execute_global_event(int eventcode,...)
Definition: standalone.c:229
int command_hide(object *op, char *params)
Definition: c_wiz.c:197
int steal(object *op, int dir, object *skill)
Definition: skills.c:290
void examine_monster(object *op, object *tmp)
Definition: c_object.c:1424
int infect_object(object *victim, object *disease, int force)
Definition: disease.c:336
int command_cringe(object *op, char *params)
Definition: c_chat.c:1710
void * cfapi_object_apply(int *type,...)
Definition: plugins.c:3084
int command_grin(object *op, char *params)
Definition: c_chat.c:1268
int can_detect_enemy(object *op, object *enemy, rv_vector *rv)
Definition: monster.c:2020
void remove_party(partylist *target_party)
Definition: c_party.c:106
void move_golem(object *op)
Definition: pets.c:541
unsigned char uint8
Definition: global.h:75
void confirm_password(object *op)
Definition: player.c:877
int command_banish(object *op, char *params)
Definition: c_wiz.c:293
void * cfapi_object_say(int *type,...)
Definition: plugins.c:4087
double shopkeeper_approval(const mapstruct *map, const object *player)
Definition: shop.c:1243
void check_score(object *op, int quiet)
Definition: hiscore.c:289
void remove_locked_door(object *op)
Definition: time.c:80
int command_remove(object *op, char *params)
Definition: c_wiz.c:1342
int do_skill(object *op, object *part, object *skill, int dir, const char *string)
Definition: skill_util.c:373
int cftimer_destroy(int id)
Definition: timers.c:137
int move_ob(object *op, int dir, object *originator)
Definition: move.c:72
int command_summon(object *op, char *params)
Definition: c_wiz.c:661
int command_stats(object *op, char *params)
Definition: c_wiz.c:1528
void do_learn_spell(object *op, object *spell, int special_prayer)
Definition: apply.c:398
int command_sulk(object *op, char *params)
Definition: c_chat.c:1203
void cftimer_init(void)
Definition: timers.c:166
int plugins_remove_plugin(const char *id)
Definition: plugins.c:566
void examine(object *op, object *tmp)
Definition: c_object.c:1481
void obsolete_parties(void)
Definition: c_party.c:165
int command_drop(object *op, char *params)
Definition: c_object.c:1173
int trap_see(object *op, object *trap)
Definition: rune.c:403
void * cfapi_object_spring_trap(int *type,...)
Definition: plugins.c:3677
void player_unready_range_ob(player *pl, object *ob)
Definition: player.c:4221
int min_casting_level(const object *caster, const object *spell)
Definition: spell_util.c:207
int user_event(object *op, object *activator, object *third, const char *message, int fix)
Definition: plugins.c:209
int command_kill_pets(object *op, char *params)
Definition: c_misc.c:2410
int op_on_battleground(object *op, int *x, int *y, archetype **trophy)
Definition: player.c:4002
int cast_detection(object *op, object *caster, object *spell)
void * cfapi_object_update(int *type,...)
Definition: plugins.c:3562
void cast_magic_storm(object *op, object *tmp, int lvl)
Definition: spell_effect.c:55
int describe_shop(const object *op)
Definition: shop.c:1311
void * cfapi_object_user_event(int *type,...)
Definition: plugins.c:4530
object * find_marked_object(object *op)
Definition: c_object.c:1339
int command_chuckle(object *op, char *params)
Definition: c_chat.c:1333
void remove_all_pets(void)
Definition: pets.c:273
int command_mapinfo(object *op, char *params)
Definition: c_misc.c:833
void dm_stack_push(player *pl, tag_t item)
Definition: c_wiz.c:2403
void player_apply_below(object *pl)
Definition: apply.c:619
int auto_apply(object *op)
Definition: standalone.c:85
void pet_move(object *ob)
Definition: pets.c:348
int command_toggle_shout(object *op, char *params)
Definition: c_wiz.c:459
void tick_the_clock(void)
Definition: weather.c:111
int sack_can_hold(const object *pl, const object *sack, const object *op, uint32 nrof)
Definition: c_object.c:282
int command_northeast(object *op, char *params)
Definition: c_move.c:103
void * cfapi_get_periodofday_name(int *type,...)
Definition: plugins.c:993
int command_fire(object *op, char *params)
Definition: c_new.c:206
void dm_stack_pop(player *pl)
Definition: c_wiz.c:2347
int can_apply_object(object *who, object *op)
Definition: apply.c:955
int process_object(object *op)
Definition: time.c:724
void * cfapi_map_set_map_property(int *type,...)
Definition: plugins.c:1338
void init(int argc, char **argv)
Definition: init.c:905
void * cfapi_map_get_map_property(int *type,...)
Definition: plugins.c:1205
int cast_wonder(object *op, object *caster, int dir, object *spell_ob)
Definition: spell_effect.c:997
void * cfapi_object_pickup(int *type,...)
Definition: plugins.c:4246
int command_arrest(object *op, char *params)
Definition: c_wiz.c:619
void cleanupPlugins(void)
Definition: plugins.c:4623
int do_wizard_dm(object *op, char *params, int silent)
Definition: c_wiz.c:1932
int command_pickup(object *op, char *params)
Definition: c_object.c:1867
void process_events(void)
Definition: server.c:1026
int command_dmtell(object *op, char *params)
Definition: c_chat.c:357
void fix_luck(void)
Definition: player.c:3661
int execute_newserver_command(object *pl, char *command)
Definition: c_new.c:98
int cast_invisible(object *op, object *caster, object *spell_ob)
Definition: spell_effect.c:821
void emergency_save(int flag)
Definition: standalone.c:191
int command_beg(object *op, char *params)
Definition: c_chat.c:1684
int command_poke(object *op, char *params)
Definition: c_chat.c:1242
int command_learn_spell(object *op, char *params)
Definition: c_wiz.c:2180
int write_rune(object *op, object *caster, object *spell, int dir, const char *runename)
Definition: rune.c:66
int command_rename_item(object *op, char *params)
Definition: c_object.c:2047
void * cfapi_system_add_string(int *type,...)
Definition: plugins.c:756
void delete_character(const char *name)
Definition: login.c:97
int command_inventory(object *op, char *params)
Definition: c_wiz.c:1123
int command_unloadplugin(object *op, char *params)
Definition: c_wiz.c:2298
int cast_consecrate(object *op, object *caster, object *spell)
int command_tell(object *op, char *params)
Definition: c_chat.c:343
void plugins_display_list(object *op)
Definition: plugins.c:622
int command_me(object *op, char *params)
Definition: c_chat.c:64
void * cfapi_map_change_light(int *type,...)
Definition: plugins.c:1512
void give_initial_items(object *pl, treasurelist *items)
Definition: player.c:688
int command_kiss(object *op, char *params)
Definition: c_chat.c:1060
void start_info(object *op)
Definition: server.c:97
void * cfapi_map_out_of_map(int *type,...)
Definition: plugins.c:1371
int command_dumpfriendlyobjects(object *op, char *params)
Definition: c_misc.c:1087
void explode_bullet(object *op)
Definition: spell_attack.c:144
int command_hug(object *op, char *params)
Definition: c_chat.c:1216
int cast_transfer(object *op, object *caster, object *spell, int dir)
void drop(object *op, object *tmp)
Definition: c_object.c:943
int players_on_map(mapstruct *m, int show_all)
Definition: swap.c:287
void * cfapi_object_change_abil(int *type,...)
Definition: plugins.c:4070
int can_pay(object *pl)
Definition: shop.c:938
void * cfapi_object_on_same_map(int *type,...)
Definition: plugins.c:3659
int command_news(object *op, char *params)
Definition: c_misc.c:233
void * cfapi_object_get_key(int *type,...)
Definition: plugins.c:1588
void * cfapi_object_identify(int *type,...)
Definition: plugins.c:3112
int dimension_door(object *op, object *caster, object *spob, int dir)
void * cfapi_object_forget_spell(int *type,...)
Definition: plugins.c:3845
int command_twiddle(object *op, char *params)
Definition: c_chat.c:1619
int handle_newcs_player(object *op)
Definition: player.c:2826
void fire(object *op, int dir)
Definition: player.c:2204
int command_version(object *op, char *params)
Definition: c_misc.c:1180
void * cfapi_object_split(int *type,...)
Definition: plugins.c:3483
int cast_destruction(object *op, object *caster, object *spell_ob)
Definition: spell_attack.c:819
static const flag_definition flags[]
void * cfapi_object_query_money(int *type,...)
Definition: plugins.c:3778
void npc_call_help(object *op)
Definition: monster.c:1632
void inventory(object *op, object *inv)
Definition: c_object.c:1653
void move_firewall(object *op)
Definition: standalone.c:188
void check_doors(object *op, mapstruct *m, int x, int y)
Definition: monster.c:1802
int command_output_count(object *op, char *params)
Definition: c_misc.c:1230
void receive_player_name(object *op)
Definition: c_misc.c:2142
int learn_skill(object *pl, object *scroll)
Definition: skill_util.c:690
void remove_unpaid_objects(object *op, object *env, int free_items)
Definition: player.c:2943
void become_follower(object *op, const object *new_god)
Definition: gods.c:502
void dump_spells(void)
Definition: spell_util.c:157
void * cfapi_set_random_map_variable(int *type,...)
Definition: plugins.c:4485
int command_blush(object *op, char *params)
Definition: c_chat.c:1307
uint64 query_cost(const object *tmp, object *who, int flag)
Definition: shop.c:121
void check_spells(void)
Definition: spell_util.c:120
int set_object_face_main(object *op)
Definition: apply.c:160
void store_spell_expiry(object *spell)
Definition: spell_util.c:1829
int command_bow(object *op, char *params)
Definition: c_chat.c:1281
int tailor_god_spell(object *spellop, object *caster)
Definition: gods.c:1394
void * cfapi_object_give_skill(int *type,...)
Definition: plugins.c:3189
int pray(object *pl, object *skill)
Definition: skills.c:1341
int command_diff(object *op, char *params)
Definition: c_wiz.c:2664
int command_run(object *op, char *params)
Definition: c_new.c:168
void * cfapi_object_check_spell(int *type,...)
Definition: plugins.c:3868
int command_cough(object *op, char *params)
Definition: c_chat.c:1346
int cast_cause_disease(object *op, object *caster, object *spell, int dir)
void sell_item(object *op, object *pl)
Definition: shop.c:1059
int cast_heal(object *op, object *caster, object *spell, int dir)
void * cfapi_object_reset(int *type,...)
Definition: plugins.c:3606
void * cfapi_map_get_object_at(int *type,...)
Definition: plugins.c:1451
partylist * get_firstparty(void)
Definition: c_party.c:48
void pray_at_altar(object *pl, object *altar, object *skill)
Definition: gods.c:325
archetype * determine_holy_arch(const object *god, const char *type)
Definition: gods.c:782
object * find_random_spell_in_ob(object *ob, const char *skill)
Definition: spell_util.c:60
int cast_create_missile(object *op, object *caster, object *spell, int dir, const char *stringarg)
Definition: spell_effect.c:525
int SP_level_range_adjust(const object *caster, const object *spob)
Definition: spell_util.c:383
int summon_object(object *op, object *caster, object *spell_ob, int dir, const char *stringarg)
Definition: pets.c:929
int command_motd(object *op, char *params)
Definition: c_misc.c:203
int cftimer_create(int id, long delay, object *ob, int mode)
Definition: timers.c:106
int command_snicker(object *op, char *params)
Definition: c_chat.c:1541
int command_sniff(object *op, char *params)
Definition: c_chat.c:1554
int onoff_value(const char *line)
Definition: c_misc.c:2026
int mood_change(object *op, object *caster, object *spell)
partylist * form_party(object *op, const char *params)
Definition: c_party.c:65
int command_who(object *op, char *params)
Definition: c_misc.c:629
void * cfapi_object_describe(int *type,...)
Definition: plugins.c:3134
void recursive_roll(object *op, int dir, object *pusher)
Definition: move.c:340
int command_cackle(object *op, char *params)
Definition: c_chat.c:1099
void set_spell_skill(object *op, object *caster, object *spob, object *dest)
Definition: spell_util.c:105
int remove_curse(object *op, object *caster, object *spell)
int apply_container(object *op, object *sack)
Definition: apply.c:230
void clear_skill(object *who)
Definition: skill_util.c:340
int cftimer_find_free_id(void)
Definition: timers.c:153
int cast_earth_to_dust(object *op, object *caster, object *spell_ob)
Definition: spell_effect.c:882
void destroy_object(object *op)
Definition: login.c:201
int command_strut(object *op, char *params)
Definition: c_chat.c:1593
int singing(object *pl, int dir, object *skill)
Definition: skills.c:1123
int command_dm(object *op, char *params)
Definition: c_wiz.c:1983
int summon_golem(object *op, object *caster, int dir, object *spob)
Definition: pets.c:669
int should_arena_attack(object *pet, object *owner, object *target)
Definition: pets.c:1146
int command_shiver(object *op, char *params)
Definition: c_chat.c:1463
void current_region_info(object *op)
Definition: c_misc.c:398
int command_cointoss(object *op, char *params)
Definition: c_chat.c:84
void malloc_info(object *op)
Definition: c_misc.c:244
int get_payment(object *pl, object *op)
Definition: shop.c:992
void current_map_info(object *op)
Definition: c_misc.c:421
void check_physically_infect(object *victim, object *hitter)
Definition: disease.c:694
int transport_can_hold(const object *transport, const object *op, int nrof)
Definition: apply.c:64
int move_object(object *op, int dir)
Definition: move.c:53
int command_whistle(object *op, char *params)
Definition: c_chat.c:1645
int execute_event(object *op, int eventcode, object *activator, object *third, const char *message, int fix)
Definition: standalone.c:225
void scroll_failure(object *op, int failure, int power)
Definition: apply.c:1708
sint16 SP_level_spellpoint_cost(object *caster, object *spell, int flags)
Definition: spell_util.c:281
void init_commands(void)
Definition: commands.c:293
void put_object_in_sack(object *op, object *sack, object *tmp, uint32 nrof)
Definition: c_object.c:700
void * cfapi_system_check_path(int *type,...)
Definition: plugins.c:822
int command_dumpallmaps(object *op, char *params)
Definition: c_misc.c:1148
void cftimer_process_timers(void)
Definition: timers.c:53
int find_traps(object *pl, object *skill)
Definition: skills.c:1207
int hideability(object *ob)
Definition: player.c:3755
void list_players(object *op, region *reg, partylist *party)
Definition: c_misc.c:550
int check_weapon_power(const object *who, int improvs)
Definition: apply.c:1076
void get_who_escape_code_value(char *return_val, int size, const char letter, player *pl)
Definition: c_misc.c:709
void send_news(const object *op)
Definition: player.c:176
void apply_builder_remove(object *pl, int dir)
Definition: build_map.c:907
void receive_play_again(object *op, char key)
Definition: player.c:839
int command_statistics(object *pl, char *params)
Definition: c_misc.c:1300
int command_examine(object *op, char *params)
Definition: c_object.c:1306
void * cfapi_object_clone(int *type,...)
Definition: plugins.c:3274
void * cfapi_object_drain(int *type,...)
Definition: plugins.c:3154
void send_rules(const object *op)
Definition: player.c:142
int alchemy(object *op, object *caster, object *spell_ob)
void link_player_skills(object *op)
Definition: skill_util.c:112
void * cfapi_object_get_property(int *type,...)
Definition: plugins.c:1637
int command_accuse(object *op, char *params)
Definition: c_chat.c:1255
void send_party_message(object *op, char *msg)
Definition: c_party.c:285
int playername_ok(const char *cp)
Definition: player.c:230
int command_south(object *op, char *params)
Definition: c_move.c:129
int server_main(int argc, char **argv)
Definition: server.c:1399
void * cfapi_object_cast(int *type,...)
Definition: plugins.c:3800
int command_skills(object *op, char *params)
Definition: c_wiz.c:1156
int command_smirk(object *op, char *params)
Definition: c_chat.c:1502
int command_burp(object *op, char *params)
Definition: c_chat.c:1320
int can_see_enemy(object *op, object *enemy)
Definition: monster.c:2199
int command_body(object *op, char *params)
Definition: c_misc.c:157
char * crypt_string(char *str, char *salt)
Definition: server.c:130
int skill_throw(object *op, object *part, int dir, const char *params, object *skill)
Definition: skills.c:2181
int initPlugins(void)
Definition: plugins.c:4588
int command_archs(object *op, char *params)
Definition: c_misc.c:915
void counterspell(object *op, int dir)
int animate_weapon(object *op, object *caster, object *spell, int dir)
int use_oratory(object *pl, int dir, object *skill)
Definition: skills.c:976
void display_high_score(object *op, int max, const char *match)
Definition: hiscore.c:402
void dragon_ability_gain(object *who, int atnr, int level)
Definition: standalone.c:203
void * cfapi_object_move(int *type,...)
Definition: plugins.c:1546
int player_apply(object *pl, object *op, int aflag, int quiet)
Definition: apply.c:557
int command_east(object *op, char *params)
Definition: c_move.c:77
void make_visible(object *op)
Definition: player.c:3712
int command_clap(object *op, char *params)
Definition: c_chat.c:1294
unsigned int uint32
Definition: global.h:58
void roll_stats(object *op)
Definition: player.c:932
int command_dumpbelow(object *op, char *params)
Definition: c_misc.c:979
void * cfapi_object_find(int *type,...)
Definition: plugins.c:3301
int transfer_ob(object *op, int x, int y, int randomly, object *originator)
Definition: move.c:197
void kill_player(object *op)
Definition: player.c:3238
object * find_key(object *pl, object *container, object *door)
Definition: player.c:2278
int cast_change_map_lightlevel(object *op, object *caster, object *spell)
void * cfapi_get_weekday_name(int *type,...)
Definition: plugins.c:969
void apply_map_builder(object *pl, int dir)
Definition: build_map.c:978
int command_teleport(object *op, char *params)
Definition: c_wiz.c:712
void set_darkness_map(mapstruct *m)
Definition: standalone.c:206
object * find_nearest_living_creature(object *npc)
Definition: monster.c:162
void * cfapi_object_check_trigger(int *type,...)
Definition: plugins.c:3699
object * find_skill_by_number(object *who, int skillno)
Definition: standalone.c:209
int command_bounce(object *op, char *params)
Definition: c_chat.c:1073
void * cfapi_object_create(int *type,...)
Definition: plugins.c:3355
int pay_for_amount(uint64 to_pay, object *pl)
Definition: shop.c:613
Definition: map.h:346
int use_skill(object *op, const char *string)
Definition: skill_util.c:863
command_array_struct * find_plugin_command(char *cmd, object *op)
Definition: plugins.c:4568
void free_server(void)
Definition: init.c:955
void * cfapi_system_find_string(int *type,...)
Definition: plugins.c:800
int spell_find_dir(mapstruct *m, int x, int y, object *exclude)
Definition: spell_util.c:852
void move_player_attack(object *op, int dir)
Definition: player.c:2419
int write_on_item(object *pl, const char *params, object *skill)
Definition: skills.c:1695
void enter_player_savebed(object *op)
Definition: server.c:175
void * cfapi_object_clean_object(int *type,...)
Definition: plugins.c:3647
int command_whereami(object *op, char *params)
Definition: c_misc.c:848
void * cfapi_map_present_arch_by_name(int *type,...)
Definition: plugins.c:1483
int command_search_items(object *op, char *params)
Definition: c_object.c:1998
player * find_player_partial_name(const char *plname)
Definition: player.c:84
void meditate(object *pl, object *skill)
Definition: skills.c:1390
object * find_skill_by_name(object *who, const char *name)
Definition: skill_util.c:207
int command_goto(object *op, char *params)
Definition: c_wiz.c:532
int command_whereabouts(object *op, char *params)
Definition: c_misc.c:482
int command_strings(object *op, char *params)
Definition: c_misc.c:876
void init_ob_methods(void)
Definition: ob_methods.c:49
int command_mark(object *op, char *params)
Definition: c_object.c:1376
int cast_identify(object *op, object *caster, object *spell)
int hit_player(object *op, int dam, object *hitter, uint32 type, int full_hit)
Definition: attack.c:1868
int dispel_rune(object *op, object *caster, object *spell, object *skill, int dir)
Definition: rune.c:323
int command_invoke(object *op, char *params)
Definition: c_range.c:53
int command_flip(object *op, char *params)
Definition: c_chat.c:1359
int command_learn_special_prayer(object *op, char *params)
Definition: c_wiz.c:2196
int create_aura(object *op, object *caster, object *spell)
int command_quit(object *op, char *params)
Definition: c_misc.c:2065
int command_petmode(object *op, char *params)
Definition: c_misc.c:1556
void * cfapi_object_check_inventory(int *type,...)
Definition: plugins.c:3621
object * fix_stopped_arrow(object *op)
Definition: time.c:483
int command_sigh(object *op, char *params)
Definition: c_chat.c:1190
int cast_spell(object *op, object *caster, int dir, object *spell_ob, char *stringarg)
Definition: spell_util.c:1308
int command_listplugins(object *op, char *params)
Definition: c_wiz.c:2242
void * cfapi_player_can_pay(int *type,...)
Definition: plugins.c:4188
int command_dumpallarchetypes(object *op, char *params)
Definition: c_misc.c:1102
int cast_polymorph(object *op, object *caster, object *spell_ob, int dir)
Definition: spell_effect.c:453
int command_stack_pop(object *op, char *params)
Definition: c_wiz.c:2563
void init_skills(void)
Definition: skill_util.c:71
int command_brace(object *op, char *params)
Definition: c_misc.c:2382
void * cfapi_object_pay_amount(int *type,...)
Definition: plugins.c:3891
int magic_wall(object *op, object *caster, int dir, object *spell_ob)
void display_motd(const object *op)
Definition: player.c:112
int command_party(object *op, char *params)
Definition: c_party.c:350
void follow_owner(object *ob, object *owner)
Definition: pets.c:306
int command_afk(object *op, char *params)
Definition: c_misc.c:795
int confirm_party_password(object *op)
Definition: c_party.c:228
int command_cry(object *op, char *params)
Definition: c_chat.c:1229