Crossfire Server, Trunk
sproto.h
Go to the documentation of this file.
1 /* account.c */
2 void accounts_clear(void);
3 void accounts_load(void);
4 void accounts_save(void);
5 const char *account_exists(const char *account_name);
6 int account_login(const char *account_name, const char *account_password);
7 int account_check_string(const char *str);
8 int account_new(const char *account_name, const char *account_password);
9 int account_link(const char *account_name, const char *player_name);
10 int account_remove_player(const char *account_name, const char *player_name);
11 char **account_get_players_for_account(const char *account_name);
12 linked_char *account_get_additional_chars(const char *account_name, const Account_Char *chars, int *count);
13 const char *account_get_account_for_char(const char *charname);
16 int account_is_logged_in(const char *name);
17 int account_change_password(const char *account_name, const char *current_password, const char *new_password);
18 /* account_char.c */
19 Account_Char *account_char_load(const char *account_name);
20 void account_char_save(const char *account, Account_Char *chars);
22 Account_Char *account_char_remove(Account_Char *chars, const char *pl_name);
23 void account_char_free(Account_Char *chars);
24 /* alchemy.c */
25 int use_alchemy(object *op);
26 /* apply.c */
27 int transport_can_hold(const object *transport, const object *op, int nrof);
28 int should_director_abort(const object *op, const object *victim);
29 void apply_handle_yield(object *tmp);
30 int set_object_face_main(object *op);
31 int apply_container(object *op, object *sack, int aflags);
32 void do_learn_spell(object *op, object *spell, int special_prayer);
33 void do_forget_spell(object *op, const char *spell);
34 int apply_manual(object *op, object *tmp, int aflag);
35 int apply_by_living(object *pl, object *op, int aflag, int quiet);
36 void apply_by_living_below(object *pl);
37 int apply_can_apply_object(const object *who, const object *op);
38 int apply_check_weapon_power(const object *who, int improves);
39 int apply_special(object *who, object *op, int aflags);
40 int apply_auto(object *op);
42 void scroll_failure(object *op, int failure, int power);
43 void apply_changes_to_player(object *pl, object *change, int limit_stats);
44 /* attack.c */
45 void save_throw_object(object *op, uint32_t type, object *originator);
46 int slow_living_by(object *op, const int speed_penalty);
47 int hit_map(object *op, int dir, uint32_t type, int full_hit);
48 int attack_ob(object *op, object *hitter);
49 object *hit_with_arrow(object *op, object *victim);
50 int friendly_fire(object *op, object *hitter);
51 int hit_player(object *op, int dam, object *hitter, uint32_t type, int full_hit);
52 void confuse_living(object *op, object *hitter, int dam);
53 void blind_living(object *op, object *hitter, int dam);
54 void paralyze_living(object *op, int dam);
55 /* ban.c */
56 int checkbanned(const char *login, const char *host);
57 /* build_map.c */
58 void apply_builder_remove(object *pl, int dir);
59 void apply_map_builder(object *pl, int dir);
60 /* c_chat.c */
61 void command_say(object *op, const char *params);
62 void command_me(object *op, const char *params);
63 void command_cointoss(object *op, const char *params);
64 void command_orcknuckle(object *op, const char *params);
65 void command_shout(object *op, const char *params);
66 void command_chat(object *op, const char *params);
67 void command_tell(object *op, const char *params);
68 void command_dmtell(object *op, const char *params);
69 void command_reply(object *op, const char *params);
70 void command_nod(object *op, const char *params);
71 void command_dance(object *op, const char *params);
72 void command_kiss(object *op, const char *params);
73 void command_bounce(object *op, const char *params);
74 void command_smile(object *op, const char *params);
75 void command_cackle(object *op, const char *params);
76 void command_laugh(object *op, const char *params);
77 void command_giggle(object *op, const char *params);
78 void command_shake(object *op, const char *params);
79 void command_puke(object *op, const char *params);
80 void command_growl(object *op, const char *params);
81 void command_scream(object *op, const char *params);
82 void command_sigh(object *op, const char *params);
83 void command_sulk(object *op, const char *params);
84 void command_hug(object *op, const char *params);
85 void command_cry(object *op, const char *params);
86 void command_poke(object *op, const char *params);
87 void command_accuse(object *op, const char *params);
88 void command_grin(object *op, const char *params);
89 void command_bow(object *op, const char *params);
90 void command_clap(object *op, const char *params);
91 void command_blush(object *op, const char *params);
92 void command_burp(object *op, const char *params);
93 void command_chuckle(object *op, const char *params);
94 void command_cough(object *op, const char *params);
95 void command_flip(object *op, const char *params);
96 void command_frown(object *op, const char *params);
97 void command_gasp(object *op, const char *params);
98 void command_glare(object *op, const char *params);
99 void command_groan(object *op, const char *params);
100 void command_hiccup(object *op, const char *params);
101 void command_lick(object *op, const char *params);
102 void command_pout(object *op, const char *params);
103 void command_shiver(object *op, const char *params);
104 void command_shrug(object *op, const char *params);
105 void command_slap(object *op, const char *params);
106 void command_smirk(object *op, const char *params);
107 void command_snap(object *op, const char *params);
108 void command_sneeze(object *op, const char *params);
109 void command_snicker(object *op, const char *params);
110 void command_sniff(object *op, const char *params);
111 void command_snore(object *op, const char *params);
112 void command_spit(object *op, const char *params);
113 void command_strut(object *op, const char *params);
114 void command_thank(object *op, const char *params);
115 void command_twiddle(object *op, const char *params);
116 void command_wave(object *op, const char *params);
117 void command_whistle(object *op, const char *params);
118 void command_wink(object *op, const char *params);
119 void command_yawn(object *op, const char *params);
120 void command_beg(object *op, const char *params);
121 void command_bleed(object *op, const char *params);
122 void command_cringe(object *op, const char *params);
123 void command_think(object *op, const char *params);
124 /* c_misc.c */
125 void command_language(object *op, const char *params);
126 void command_body(object *op, const char *params);
127 void command_motd(object *op, const char *params);
128 void command_rules(object *op, const char *params);
129 void command_news(object *op, const char *params);
130 void command_whereabouts(object *op, const char *params);
131 void list_players(object *op, region *reg, partylist *party);
132 void command_who(object *op, const char *params);
133 void command_afk(object *op, const char *params);
134 void command_malloc(object *op, const char *params);
135 void command_mapinfo(object *op, const char *params);
136 void command_whereami(object *op, const char *params);
137 void command_maps(object *op, const char *params);
138 void command_strings(object *op, const char *params);
139 void command_time(object *op, const char *params);
140 void command_archs(object *op, const char *params);
141 void command_hiscore(object *op, const char *params);
142 void command_debug(object *op, const char *params);
143 void command_wizpass(object *op, const char *params);
144 void command_wizcast(object *op, const char *params);
145 void command_dumpallobjects(object *op, const char *params);
146 void command_dumpfriendlyobjects(object *op, const char *params);
147 void command_dumpallarchetypes(object *op, const char *params);
148 void command_ssdumptable(object *op, const char *params);
149 void command_dumpmap(object *op, const char *params);
150 void command_dumpallmaps(object *op, const char *params);
151 void command_printlos(object *op, const char *params);
152 void command_version(object *op, const char *params);
153 void command_listen(object *op, const char *params);
154 void command_statistics(object *pl, const char *params);
155 void command_fix_me(object *op, const char *params);
156 void command_players(object *op, const char *params);
157 void command_applymode(object *op, const char *params);
158 void command_bowmode(object *op, const char *params);
159 void command_unarmed_skill(object *op, const char *params);
160 void command_petmode(object *op, const char *params);
161 void command_showpets(object *op, const char *params);
162 void command_usekeys(object *op, const char *params);
163 void command_resistances(object *op, const char *params);
164 void command_help(object *op, const char *params);
165 void command_delete(object *op, const char *params);
166 void command_quit(object *op, const char *params);
167 void command_sound(object *op, const char *params);
168 void receive_player_name(object *op, const char *name);
169 void receive_player_password(object *op, const char *password);
170 void command_title(object *op, const char *params);
171 void command_save(object *op, const char *params);
172 void command_peaceful(object *op, const char *params);
173 void command_wimpy(object *op, const char *params);
174 void command_brace(object *op, const char *params);
175 void command_kill_pets(object *op, const char *params);
176 void command_passwd(object *pl, const char *params);
177 void do_harvest(object *pl, int dir, object *skill);
178 /* c_move.c */
179 void command_east(object *op, const char *params);
180 void command_north(object *op, const char *params);
181 void command_northeast(object *op, const char *params);
182 void command_northwest(object *op, const char *params);
183 void command_south(object *op, const char *params);
184 void command_southeast(object *op, const char *params);
185 void command_southwest(object *op, const char *params);
186 void command_west(object *op, const char *params);
187 void command_stay(object *op, const char *params);
188 void do_goto(object *op, const char *name, int x, int y);
189 /* c_new.c */
190 void command_run(object *op, const char *params);
191 void command_run_stop(object *op, const char *params);
192 void command_fire(object *op, const char *params);
193 void command_fire_stop(object *op, const char *params);
194 void command_face(object *op, const char *params);
195 /* c_object.c */
196 void command_uskill(object *pl, const char *params);
197 void command_rskill(object *pl, const char *params);
198 void command_search(object *op, const char *params);
199 void command_disarm(object *op, const char *params);
200 void command_throw(object *op, const char *params);
201 void command_apply(object *op, const char *params);
202 int sack_can_hold(const object *pl, const object *sack, const object *op, uint32_t nrof);
203 void pick_up(object *op, object *alt);
204 void command_take(object *op, const char *params);
205 void put_object_in_sack(object *op, object *sack, object *tmp, uint32_t nrof);
206 object *drop_object(object *op, object *tmp, uint32_t nrof);
207 void drop(object *op, object *tmp);
208 void command_dropall(object *op, const char *params);
209 void command_drop(object *op, const char *params);
210 void command_empty(object *op, const char *params);
211 void command_examine(object *op, const char *params);
212 object *find_marked_object(object *op);
213 void command_mark(object *op, const char *params);
214 void examine_monster(object *op, object *tmp, int level);
215 void examine(object *op, object *tmp);
216 void inventory(object *op, object *inv);
217 void command_pickup(object *op, const char *params);
218 void command_search_items(object *op, const char *params);
219 void command_rename_item(object *op, const char *params);
220 void command_lock_item(object *op, const char *params);
221 void command_use(object *op, const char *params);
222 /* c_party.c */
223 void receive_party_password(object *op, const char *password);
224 void command_gsay(object *op, const char *params);
225 void command_party(object *op, const char *params);
226 void command_party_rejoin(object *op, const char *params);
227 /* c_range.c */
228 void command_invoke(object *op, const char *params);
229 void command_cast(object *op, const char *params);
230 void command_prepare(object *op, const char *params);
231 void command_cast_spell(object *op, const char *params, char command);
232 int legal_range(object *op, int r);
233 void command_rotateshoottype(object *op, const char *params);
234 /* c_wiz.c */
235 void command_loadtest(object *op, const char *params);
236 void command_hide(object *op, const char *params);
237 void command_setgod(object *op, const char *params);
238 void command_banish(object *op, const char *params);
239 void command_kick(object *op, const char *params);
240 void command_overlay_save(object *op, const char *params);
241 void command_overlay_reset(object *op, const char *params);
242 void command_toggle_shout(object *op, const char *params);
243 void command_shutdown(object *op, const char *params);
244 void command_goto(object *op, const char *params);
245 void command_freeze(object *op, const char *params);
246 int player_arrest(object *who);
247 void command_arrest(object *op, const char *params);
248 void command_summon(object *op, const char *params);
249 void command_teleport(object *op, const char *params);
250 void command_create(object *op, const char *params);
251 void command_inventory(object *op, const char *params);
252 void command_skills(object *op, const char *params);
253 void command_dump(object *op, const char *params);
254 void command_mon_aggr(object *op, const char *params);
255 void command_possess(object *op, const char *params);
256 void command_patch(object *op, const char *params);
257 void command_remove(object *op, const char *params);
258 void command_free(object *op, const char *params);
259 void command_accountpasswd(object *op, const char *params);
260 void command_addexp(object *op, const char *params);
261 void command_speed(object *op, const char *params);
262 void command_stats(object *op, const char *params);
263 void command_abil(object *op, const char *params);
264 void command_reset(object *op, const char *params);
265 void command_nowiz(object *op, const char *params);
266 void command_dm(object *op, const char *params);
267 void command_invisible(object *op, const char *params);
268 void command_learn_spell(object *op, const char *params);
269 void command_learn_special_prayer(object *op, const char *params);
270 void command_forget_spell(object *op, const char *params);
271 void command_listplugins(object *op, const char *params);
272 void command_loadplugin(object *op, const char *params);
273 void command_unloadplugin(object *op, const char *params);
274 void command_dmhide(object *op, const char *params);
275 void command_stack_pop(object *op, const char *params);
276 void command_stack_push(object *op, const char *params);
277 void command_stack_list(object *op, const char *params);
278 void command_stack_clear(object *op, const char *params);
279 void command_diff(object *op, const char *params);
280 void command_insert_into(object *op, const char *params);
281 void command_style_map_info(object *op, const char *params);
282 void command_follow(object *op, const char *params);
283 void command_purge_quest(object *op, const char *param);
284 void command_purge_quest_definitions(object *op, const char *param);
285 void command_dumpabove(object *op, const char *params);
286 void command_dumpbelow(object *op, const char *params);
287 void command_settings(object *op, const char *ignored);
288 /* commands.c */
289 void commands_init(void);
290 void command_list(object *pl, bool is_dm);
291 void command_execute(object *pl, char *command);
292 command_registration command_register(const char *name, uint8_t type, command_function func, float time);
293 command_registration command_register_extra(const char *name, const char *extra, uint8_t type, command_function_extra func, float time);
295 void commands_clear();
296 /* disease.c */
297 int move_disease(object *disease);
298 int infect_object(object *victim, object *disease, int force);
299 void move_symptom(object *symptom);
300 void check_physically_infect(object *victim, object *hitter);
301 int cure_disease(object *sufferer, object *caster, sstring skill);
302 /* hiscore.c */
303 void hiscore_init(void);
304 void hiscore_check(object *op, int quiet);
305 void hiscore_display(object *op, int max, const char *match);
306 /* gods.c */
307 const object *find_god(const char *name);
308 const char *determine_god(object *op);
309 void pray_at_altar(object *pl, object *altar, object *skill);
310 int become_follower(object *op, const object *new_god);
311 archetype *determine_holy_arch(const object *god, const char *type);
312 int tailor_god_spell(object *spellop, object *caster);
313 /* init.c */
314 void init(int argc, char **argv);
315 void free_server(void);
317 void close_modules();
318 void init_signals();
319 /* knowledge.c */
320 void knowledge_give(player *pl, const char *marker, const object *book);
321 void knowledge_read(player *pl, object *book);
322 void command_knowledge(object *pl, const char *params);
323 void free_knowledge(void);
324 int knowledge_player_knows(const player *pl, const char *knowledge);
325 void knowledge_item_can_be_used_alchemy(object *op, const object *item);
330 void knowledge_show_monster_detail(object *op, const char *name);
331 /* login.c */
332 void emergency_save(int flag);
333 void delete_character(const char *name);
334 int verify_player(const char *name, char *password);
335 int check_name(player *me, const char *name);
336 void destroy_object(object *op);
337 int save_player(object *op, int flag);
338 void check_login(object *op, const char *password);
339 /* monster.c */
340 object *monster_check_enemy(object *npc, rv_vector *rv);
341 object *monster_find_nearest_living_creature(object *npc, object *exclude);
342 int monster_compute_path(object *source, object *target, int default_dir);
343 void monster_do_living(object *op);
344 int monster_move(object *op);
345 void monster_check_apply_all(object *monster);
346 void monster_npc_call_help(object *op);
347 void monster_check_earthwalls(object *op, mapstruct *m, int x, int y);
348 void monster_check_doors(object *op, mapstruct *m, int x, int y);
349 void monster_do_say(const mapstruct *map, const char *message);
350 void monster_communicate(object *op, const char *txt);
351 void monster_npc_say(object *npc, const char *cp);
352 object *monster_find_throw_ob(object *op);
353 int monster_can_detect_enemy(object *op, object *enemy, rv_vector *rv);
354 int monster_stand_in_light(object *op);
355 int monster_can_see_enemy(object *op, object *enemy);
356 const char *get_reply_text_own(reply_type rt);
357 /* move.c */
358 int move_object(object *op, int dir);
359 int move_ob(object *op, int dir, object *originator);
360 int transfer_ob(object *op, int x, int y, int randomly, object *originator);
361 int teleport(object *teleporter, uint8_t tele_type, object *user);
362 void recursive_roll(object *op, int dir, object *pusher);
363 int push_ob(object *who, int dir, object *pusher);
364 int move_to(object *op, int x, int y);
365 int object_teleport(object *op, mapstruct *map, int x, int y);
366 /* ob_methods.c */
367 void init_ob_methods(void);
368 /* ob_types.c */
369 void register_all_ob_types(void);
370 /* party.c */
371 partylist *party_form(object *op, const char *partyname);
372 void party_join(object *op, partylist *party);
373 void party_leave(object *op);
374 partylist *party_find(const char *partyname);
375 void party_remove(partylist *party);
377 partylist *party_get_next(const partylist *party);
378 void party_obsolete_parties(void);
379 const char *party_get_password(const partylist *party);
380 void party_set_password(partylist *party, const char *password);
381 int party_confirm_password(const partylist *party, const char *password);
382 void party_send_message(object *op, const char *message);
383 const char *party_get_leader(const partylist *party);
384 /* pets.c */
385 object *pets_get_enemy(object *pet, rv_vector *rv);
386 void pets_terminate_all(object *owner);
387 void pets_attempt_follow(object *for_owner, int force);
388 void pets_follow_owner(object *ob, object *owner);
389 void pets_move(object *ob);
390 void pets_move_golem(object *op);
391 void pets_control_golem(object *op, int dir);
392 int pets_summon_golem(object *op, object *caster, int dir, object *spob);
393 int pets_summon_object(object *op, object *caster, object *spell_ob, int dir, const char *stringarg);
394 int pets_should_arena_attack(object *pet, object *owner, object *target);
395 /* player.c */
396 player *find_player(const char *plname);
397 player *find_player_options(const char *plname, int options, const mapstruct *map);
398 player *find_player_partial_name(const char *plname);
400 void display_motd(const object *op);
401 void send_rules(const object *op);
402 void send_news(const object *op);
403 int playername_ok(const char *cp);
405 void set_first_map(object *op);
407 object *get_nearest_player(object *mon);
408 int path_to_player(object *mon, object *pl, unsigned mindiff);
409 void give_initial_items(object *pl, treasurelist *items);
410 void get_name(object *op);
411 void get_password(object *op);
412 void play_again(object *op);
413 void receive_play_again(object *op, char key);
414 void confirm_password(object *op);
415 int get_party_password(object *op, partylist *party);
416 int roll_stat(void);
417 void roll_stats(object *op);
418 void roll_again(object *op);
419 void key_roll_stat(object *op, char key);
420 void key_change_class(object *op, char key);
421 int check_race_and_class(living *stats, archetype *race, archetype *opclass);
422 int apply_race_and_class(object *op, archetype *race, archetype *opclass, living *stats);
423 void key_confirm_quit(object *op, char key);
424 int check_pick(object *op);
425 int fire_bow(object *op, object *arrow, int dir, int wc_mod, int16_t sx, int16_t sy);
426 void fire(object *op, int dir);
427 object *find_key(object *pl, object *container, object *door);
428 void move_player_attack(object *op, int dir);
429 int move_player(object *op, int dir);
430 int face_player(object *op, int dir);
431 int handle_newcs_player(object *op);
432 void remove_unpaid_objects(object *op, object *env, int free_items);
433 void do_some_living(object *op);
434 void kill_player(object *op, const object *killer);
435 void fix_weight(void);
436 void fix_luck(void);
437 void cast_dust(object *op, object *throw_ob, int dir);
438 void make_visible(object *op);
439 int is_true_undead(object *op);
440 int hideability(object *ob);
441 void do_hidden_move(object *op);
442 int stand_near_hostile(object *who);
443 int player_can_view(object *pl, object *op);
444 int op_on_battleground(object *op, int *x, int *y, archetype **trophy);
445 void dragon_ability_gain(object *who, int atnr, int level);
446 void player_unready_range_ob(player *pl, object *ob);
447 void player_set_state(player *pl, uint8_t state);
449 /* plugins.c */
450 int plugins_init_plugin(const char *libfile);
451 int plugins_remove_plugin(const char *id);
452 void plugins_display_list(object *op);
453 void initPlugins(void);
454 void cleanupPlugins(void);
455 /* quest.c */
456 int quest_get_player_state(player *pl, sstring quest_code);
457 void quest_load_definitions(void);
458 void quest_start(player *pl, sstring quest_code, int state);
459 void quest_set_player_state(player *pl, sstring quest_code, int state);
460 int quest_was_completed(player *pl, sstring quest_code);
461 void command_quest(object *op, const char *params);
462 void dump_quests(void);
463 void free_quest(void);
464 void free_quest_definitions(void);
467 /* resurrection.c */
468 int cast_raise_dead_spell(object *op, object *caster, object *spell, int dir, const char *arg);
469 void dead_player(object *op);
470 /* rune.c */
471 int write_rune(object *op, object *caster, object *spell, int dir, const char *runename);
472 void spring_trap(object *trap, object *victim);
473 int dispel_rune(object *op, object *skill, int dir);
474 int trap_see(object *op, object *trap);
475 int trap_show(object *trap, object *where);
476 int trap_disarm(object *disarmer, object *trap, int risk, object *skill);
477 /* skills.c */
478 int steal(object *op, int dir, object *skill);
479 int pick_lock(object *pl, int dir, object *skill);
480 int hide(object *op, object *skill);
481 int jump(object *pl, int dir, object *skill);
482 int detect_curse_on_item(object *pl, object *tmp, object *skill);
483 int detect_magic_on_item(object *pl, object *tmp, object *skill);
484 int identify_object_with_skill(object *tmp, object *pl, object *skill, int print_on_success);
485 int skill_ident(object *pl, object *skill);
486 int use_oratory(object *pl, int dir, object *skill);
487 int singing(object *pl, int dir, object *skill);
488 int find_traps(object *pl, object *skill);
489 int remove_trap(object *op, object *skill);
490 int pray(object *pl, object *skill);
491 void meditate(object *pl, object *skill);
492 int write_on_item(object *pl, const char *params, object *skill);
493 int skill_throw(object *op, object *part, int dir, object *skill);
494 /* skill_util.c */
495 void init_skills(void);
496 object *find_skill_by_name(object *who, const char *name);
497 object *find_applied_skill_by_name(const object* op, const char* name);
498 object *find_skill_by_number(object *who, int skillno);
499 int change_skill(object *who, object *new_skill, int flag);
500 void clear_skill(object *who);
501 int do_skill(object *op, object *part, object *skill, int dir, const char *string);
502 int64_t calc_skill_exp(const object *who, const object *op, const object *skill);
503 int learn_skill(object *pl, object *scroll);
504 void show_skills(object *op, const char *search);
505 int use_skill(object *op, const char *string);
506 void skill_attack(object *tmp, object *pl, int dir, const char *string, object *skill);
507 /* spell_attack.c */
508 int fire_bolt(object *op, object *caster, int dir, object *spob);
509 void explode_bullet(object *op);
510 void check_bullet(object *op);
511 void cone_drop(object *op);
512 int cast_cone(object *op, object *caster, int dir, object *spell);
513 int create_bomb(object *op, object *caster, int dir, object *spell);
514 int cast_smite_spell(object *op, object *caster, int dir, object *spell);
515 int cast_destruction(object *op, object *caster, object *spell_ob);
516 int cast_curse(object *op, object *caster, object *spell_ob, int dir);
517 int mood_change(object *op, object *caster, object *spell);
518 int fire_swarm(object *op, object *caster, object *spell, int dir);
519 int cast_light(object *op, object *caster, object *spell, int dir);
520 int cast_cause_disease(object *op, object *caster, object *spell, int dir);
521 /* spell_effect.c */
522 void cast_magic_storm(object *op, object *tmp, int lvl);
523 int recharge(object *op, object *caster, object *spell_ob);
524 void polymorph(object *op, object *who, int level);
525 int cast_polymorph(object *op, object *caster, object *spell_ob, int dir);
526 int cast_create_missile(object *op, object *caster, object *spell, int dir, const char *stringarg);
527 int cast_create_food(object *op, object *caster, object *spell_ob, int dir, const char *stringarg);
528 int probe(object *op, object *caster, object *spell_ob, int dir, int level);
529 int makes_invisible_to(object *pl, object *mon);
530 int cast_invisible(object *op, object *caster, object *spell_ob);
531 int cast_earth_to_dust(object *op, object *caster, object *spell_ob);
532 int cast_word_of_recall(object *op, object *caster, object *spell_ob);
533 int cast_wonder(object *op, object *caster, int dir, object *spell_ob);
534 int perceive_self(object *op);
535 int cast_create_town_portal(object *op, object *caster, object *spell);
536 int magic_wall(object *op, object *caster, int dir, object *spell_ob);
537 int dimension_door(object *op, object *caster, object *spob, int dir);
538 int cast_heal(object *op, object *caster, object *spell, int dir);
539 int cast_change_ability(object *op, object *caster, object *spell_ob, int dir, int silent);
540 int cast_bless(object *op, object *caster, object *spell_ob, int dir);
541 int alchemy(object *op, object *caster, object *spell_ob);
542 int remove_curse(object *op, object *caster, object *spell);
543 int cast_item_curse_or_curse(object *op, object *spell_ob);
544 int cast_identify(object *op, object *caster, object *spell);
545 int cast_detection(object *op, object *caster, object *spell);
546 int cast_transfer(object *op, object *caster, object *spell, int dir);
547 void counterspell(object *op, int dir);
548 int cast_consecrate(object *op, object *caster, object *spell);
549 int animate_weapon(object *op, object *caster, object *spell, int dir);
550 int cast_change_map_lightlevel(object *op, object *spell);
551 int create_aura(object *op, object *caster, object *spell);
552 int write_mark(object *op, object *spell, const char *msg);
553 /* spell_util.c */
554 object *find_random_spell_in_ob(object *ob, const char *skill);
555 void set_spell_skill(object *op, object *caster, object *spob, object *dest);
556 void dump_spells(void);
557 void spell_effect(object *spob, int x, int y, mapstruct *map, object *originator);
558 int min_casting_level(const object *caster, const object *spell);
559 int caster_level(const object *caster, const object *spell);
560 int16_t SP_level_spellpoint_cost(object *caster, object *spell, int flags);
561 int SP_level_dam_adjust(const object *caster, const object *spob);
562 int SP_level_duration_adjust(const object *caster, const object *spob);
563 int SP_level_range_adjust(const object *caster, const object *spob);
564 int SP_level_wc_adjust(const object *caster, const object *spob);
565 object *check_spell_known(object *op, const char *name);
566 object *lookup_spell_by_name(object *op, const char *spname);
567 int reflwall(mapstruct *m, int x, int y, object *sp_op);
568 int cast_create_obj(object *op, object *new_op, int dir);
569 int ok_to_put_more(mapstruct *m, int16_t x, int16_t y, object *op, uint32_t immune_stop);
570 int fire_arch_from_position(object *op, object *caster, int16_t x, int16_t y, int dir, object *spell);
571 void regenerate_rod(object *rod);
572 void drain_rod_charge(object *rod);
573 void drain_wand_charge(object *wand);
574 object *find_target_for_friendly_spell(object *op, int dir);
575 int spell_find_dir(mapstruct *m, int x, int y, object *exclude);
576 int summon_hostile_monsters(object *op, int n, const char *monstername);
577 void shuffle_attack(object *op);
578 void spell_failure(object *op, int failure, int power, object *skill);
579 int cast_spell(object *op, object *caster, int dir, object *spell_ob, char *stringarg);
580 void store_spell_expiry(object *spell);
581 void check_spell_expiry(object *spell);
582 void rod_adjust(object *rod);
583 /* swap.c */
584 void read_map_log(void);
585 int swap_map(mapstruct *map);
586 void check_active_maps(void);
587 int players_on_map(mapstruct *m, int show_all);
588 void flush_old_maps(void);
589 /* time.c */
590 void remove_door(object *op);
591 void remove_locked_door(object *op);
592 object *stop_item(object *op);
593 void fix_stopped_item(object *op, mapstruct *map, object *originator);
594 object *fix_stopped_arrow(object *op);
595 int free_no_drop(object *op);
596 void change_object(object *op);
597 void move_firewall(object *op);
598 void move_player_mover(object *op);
599 int process_object(object *op);
600 void legacy_remove_force(object *op);
601 void legacy_animate_trigger(object *op);
602 void legacy_move_hole(object *op);
603 unsigned int tick_length(float seconds);
604 long timespec_diff(struct timespec *end, struct timespec *start);
605 /* timers.c */
606 void cftimer_process_timers(void);
607 int cftimer_create(int id, long delay, object *ob, int mode);
608 int cftimer_destroy(int id);
609 int cftimer_find_free_id(void);
610 void cftimer_init(void);
611 /* weather.c */
613 void tick_the_clock(void);
614 /* server.c */
615 char const* newhash(char const *password);
616 bool check_password(const char *typed, const char *crypted);
617 void enter_player_savebed(object *op);
618 void set_map_timeout(mapstruct *oldmap);
619 void enter_exit(object *op, object *exit_ob);
620 void process_events(void);
621 void clean_tmp_files(void);
622 void cleanup(void);
623 void leave(player *pl, int draw_exit);
624 int forbid_play(void);
625 void server_main(int argc, char *argv[]);
626 /* race.cpp */
627 #ifdef __cplusplus
628 extern "C" {
629 #endif
630 void load_races(BufferReader *reader, const char *filename);
631 void finish_races();
632 void dump_races(void);
633 void free_races(void);
634 object *races_get_random_monster(const char *race, int level);
635 #ifdef __cplusplus
636 }
637 #endif
638 
639 
645 void enter_player_maplevel(object *op);
SP_level_range_adjust
int SP_level_range_adjust(const object *caster, const object *spob)
Definition: spell_util.c:337
find_player_socket
player * find_player_socket(const socket_struct *ns)
Definition: player.c:120
command_stack_pop
void command_stack_pop(object *op, const char *params)
Definition: c_wiz.c:2483
fix_weight
void fix_weight(void)
Definition: player.c:3843
paralyze_living
void paralyze_living(object *op, int dam)
Definition: attack.c:2346
command_style_map_info
void command_style_map_info(object *op, const char *params)
Definition: c_wiz.c:2712
do_skill
int do_skill(object *op, object *part, object *skill, int dir, const char *string)
Definition: skill_util.c:422
apply_changes_to_player
void apply_changes_to_player(object *pl, object *change, int limit_stats)
Definition: apply.c:1648
handle_newcs_player
int handle_newcs_player(object *op)
Definition: player.c:3050
account_char_remove
Account_Char * account_char_remove(Account_Char *chars, const char *pl_name)
Definition: account_char.c:298
command_dance
void command_dance(object *op, const char *params)
Definition: c_chat.c:733
set_spell_skill
void set_spell_skill(object *op, object *caster, object *spob, object *dest)
Definition: spell_util.c:92
path_to_player
int path_to_player(object *mon, object *pl, unsigned mindiff)
Definition: player.c:632
cftimer_find_free_id
int cftimer_find_free_id(void)
Definition: timers.c:144
command_shutdown
void command_shutdown(object *op, const char *params)
Definition: c_wiz.c:678
party_get_leader
const char * party_get_leader(const partylist *party)
Definition: party.c:292
command_cackle
void command_cackle(object *op, const char *params)
Definition: c_chat.c:777
command_stack_push
void command_stack_push(object *op, const char *params)
Definition: c_wiz.c:2496
fire_bolt
int fire_bolt(object *op, object *caster, int dir, object *spob)
Definition: spell_attack.c:61
tick_the_clock
void tick_the_clock(void)
Definition: weather.c:96
pets_terminate_all
void pets_terminate_all(object *owner)
Definition: pets.c:225
account_char_add
Account_Char * account_char_add(Account_Char *chars, player *pl)
Definition: account_char.c:194
command_northeast
void command_northeast(object *op, const char *params)
Definition: c_move.c:79
command_sound
void command_sound(object *op, const char *params)
Definition: c_misc.c:1904
command_bleed
void command_bleed(object *op, const char *params)
Definition: c_chat.c:1283
command_glare
void command_glare(object *op, const char *params)
Definition: c_chat.c:1030
command_delete
void command_delete(object *op, const char *params)
Definition: c_misc.c:1883
emergency_save
void emergency_save(int flag)
Definition: main.c:348
command_list
void command_list(object *pl, bool is_dm)
Definition: commands.cpp:377
command_dumpallmaps
void command_dumpallmaps(object *op, const char *params)
Definition: c_misc.c:1044
command_players
void command_players(object *op, const char *params)
Definition: c_misc.c:1224
command_nowiz
void command_nowiz(object *op, const char *params)
Definition: c_wiz.c:2028
command_snore
void command_snore(object *op, const char *params)
Definition: c_chat.c:1173
guildjoin.charname
def charname
Definition: guildjoin.py:45
command_remove
void command_remove(object *op, const char *params)
Definition: c_wiz.c:1535
command_dumpfriendlyobjects
void command_dumpfriendlyobjects(object *op, const char *params)
Definition: c_misc.c:988
legacy_move_hole
void legacy_move_hole(object *op)
Definition: time.c:858
find_skill_by_number
object * find_skill_by_number(object *who, int skillno)
Definition: main.c:376
hiscore_display
void hiscore_display(object *op, int max, const char *match)
Definition: hiscore.c:449
command_search_items
void command_search_items(object *op, const char *params)
Definition: c_object.c:2328
command_wizcast
void command_wizcast(object *op, const char *params)
Definition: c_misc.c:944
command_growl
void command_growl(object *op, const char *params)
Definition: c_chat.c:832
command_say
void command_say(object *op, const char *params)
Definition: c_chat.c:34
cast_consecrate
int cast_consecrate(object *op, object *caster, object *spell)
Definition: spell_effect.c:2998
legacy_animate_trigger
void legacy_animate_trigger(object *op)
Definition: time.c:854
cast_create_food
int cast_create_food(object *op, object *caster, object *spell_ob, int dir, const char *stringarg)
Definition: spell_effect.c:639
command_sulk
void command_sulk(object *op, const char *params)
Definition: c_chat.c:865
monster_npc_say
void monster_npc_say(object *npc, const char *cp)
Definition: monster.c:2438
use_alchemy
int use_alchemy(object *op)
Definition: alchemy.c:1047
command_whistle
void command_whistle(object *op, const char *params)
Definition: c_chat.c:1239
send_news
void send_news(const object *op)
Definition: player.c:203
command_cringe
void command_cringe(object *op, const char *params)
Definition: c_chat.c:1294
monster_can_detect_enemy
int monster_can_detect_enemy(object *op, object *enemy, rv_vector *rv)
Definition: monster.c:2522
command_unarmed_skill
void command_unarmed_skill(object *op, const char *params)
Definition: c_misc.c:1378
command_clap
void command_clap(object *op, const char *params)
Definition: c_chat.c:942
roll_stat
int roll_stat(void)
Definition: player.c:1019
monster_stand_in_light
int monster_stand_in_light(object *op)
Definition: monster.c:2662
recursive_roll
void recursive_roll(object *op, int dir, object *pusher)
Definition: move.c:280
command_cough
void command_cough(object *op, const char *params)
Definition: c_chat.c:986
diamondslots.x
x
Definition: diamondslots.py:15
find_random_spell_in_ob
object * find_random_spell_in_ob(object *ob, const char *skill)
Definition: spell_util.c:46
command_spit
void command_spit(object *op, const char *params)
Definition: c_chat.c:1184
command_poke
void command_poke(object *op, const char *params)
Definition: c_chat.c:898
newhash
char const * newhash(char const *password)
command_shrug
void command_shrug(object *op, const char *params)
Definition: c_chat.c:1096
plugins_remove_plugin
int plugins_remove_plugin(const char *id)
Definition: plugins.c:457
plugins_init_plugin
int plugins_init_plugin(const char *libfile)
Definition: plugins.c:366
command_time
void command_time(object *op, const char *params)
Definition: c_misc.c:865
cast_identify
int cast_identify(object *op, object *caster, object *spell)
Definition: spell_effect.c:2516
command_groan
void command_groan(object *op, const char *params)
Definition: c_chat.c:1041
remove_locked_door
void remove_locked_door(object *op)
Definition: time.c:64
command_wave
void command_wave(object *op, const char *params)
Definition: c_chat.c:1228
party_remove
void party_remove(partylist *party)
Definition: party.c:164
dimension_door
int dimension_door(object *op, object *caster, object *spob, int dir)
Definition: spell_effect.c:1626
cast_change_map_lightlevel
int cast_change_map_lightlevel(object *op, object *spell)
Definition: spell_effect.c:3306
command_beg
void command_beg(object *op, const char *params)
Definition: c_chat.c:1272
command_hiccup
void command_hiccup(object *op, const char *params)
Definition: c_chat.c:1052
perceive_self
int perceive_self(object *op)
Definition: spell_effect.c:1019
command_me
void command_me(object *op, const char *params)
Definition: c_chat.c:47
command_south
void command_south(object *op, const char *params)
Definition: c_move.c:101
pets_should_arena_attack
int pets_should_arena_attack(object *pet, object *owner, object *target)
Definition: pets.c:1084
get_party_password
int get_party_password(object *op, partylist *party)
Definition: player.c:1002
do_learn_spell
void do_learn_spell(object *op, object *spell, int special_prayer)
Definition: apply.c:484
socket_struct
Definition: newserver.h:89
confuse_living
void confuse_living(object *op, object *hitter, int dam)
Definition: attack.c:2259
clear_skill
void clear_skill(object *who)
Definition: skill_util.c:389
make_visible
void make_visible(object *op)
Definition: player.c:3909
flush_old_maps
void flush_old_maps(void)
Definition: swap.c:247
cast_destruction
int cast_destruction(object *op, object *caster, object *spell_ob)
Definition: spell_attack.c:707
op_on_battleground
int op_on_battleground(object *op, int *x, int *y, archetype **trophy)
Definition: player.c:4202
command_kiss
void command_kiss(object *op, const char *params)
Definition: c_chat.c:744
command_shout
void command_shout(object *op, const char *params)
Definition: c_chat.c:210
command_thank
void command_thank(object *op, const char *params)
Definition: c_chat.c:1206
command_disarm
void command_disarm(object *op, const char *params)
Definition: c_object.c:224
cast_spell
int cast_spell(object *op, object *caster, int dir, object *spell_ob, char *stringarg)
Definition: spell_util.c:1420
party_find
partylist * party_find(const char *partyname)
Definition: party.c:148
command_snap
void command_snap(object *op, const char *params)
Definition: c_chat.c:1129
command_party
void command_party(object *op, const char *params)
Definition: c_party.c:97
manor.params
params
Definition: manor.py:295
command_execute
void command_execute(object *pl, char *command)
Definition: commands.cpp:412
command_wink
void command_wink(object *op, const char *params)
Definition: c_chat.c:1250
monster_check_doors
void monster_check_doors(object *op, mapstruct *m, int x, int y)
Definition: monster.c:2223
account_get_logged_in_player
player * account_get_logged_in_player(const char *name)
Definition: account.c:614
tailor_god_spell
int tailor_god_spell(object *spellop, object *caster)
Definition: gods.c:1312
account_get_players_for_account
char ** account_get_players_for_account(const char *account_name)
Definition: account.c:525
pl
Definition: player.h:92
accounts_save
void accounts_save(void)
Definition: account.c:260
detect_curse_on_item
int detect_curse_on_item(object *pl, object *tmp, object *skill)
Definition: skills.c:701
cleanup
void cleanup(void)
Definition: server.c:1230
command_run_stop
void command_run_stop(object *op, const char *params)
Definition: c_new.c:64
magic_wall
int magic_wall(object *op, object *caster, int dir, object *spell_ob)
Definition: spell_effect.c:1473
spring_trap
void spring_trap(object *trap, object *victim)
Definition: rune.c:205
check_bullet
void check_bullet(object *op)
Definition: spell_attack.c:217
apply_map_builder
void apply_map_builder(object *pl, int dir)
Definition: build_map.c:959
command_printlos
void command_printlos(object *op, const char *params)
Definition: c_misc.c:1058
set_map_timeout
void set_map_timeout(mapstruct *oldmap)
Definition: main.c:305
infect_object
int infect_object(object *victim, object *disease, int force)
Definition: disease.c:317
cast_cause_disease
int cast_cause_disease(object *op, object *caster, object *spell, int dir)
Definition: spell_attack.c:1207
quest_set_player_state
void quest_set_player_state(player *pl, sstring quest_code, int state)
Definition: quest.c:728
command_usekeys
void command_usekeys(object *op, const char *params)
Definition: c_misc.c:1550
command_party_rejoin
void command_party_rejoin(object *op, const char *params)
Definition: c_party.c:307
monster_check_earthwalls
void monster_check_earthwalls(object *op, mapstruct *m, int x, int y)
Definition: monster.c:2207
guildjoin.ob
ob
Definition: guildjoin.py:42
get_password
void get_password(object *op)
Definition: player.c:873
write_on_item
int write_on_item(object *pl, const char *params, object *skill)
Definition: skills.c:1760
explode_bullet
void explode_bullet(object *op)
Definition: spell_attack.c:121
command_lock_item
void command_lock_item(object *op, const char *params)
Definition: c_object.c:2558
commongive.inv
inv
Definition: commongive.py:28
command_hiscore
void command_hiscore(object *op, const char *params)
Definition: c_misc.c:878
giveknowledge.knowledge
knowledge
DIALOGCHECK MINARGS 1 MAXARGS 1
Definition: giveknowledge.py:15
use_oratory
int use_oratory(object *pl, int dir, object *skill)
Definition: skills.c:994
init_ob_methods
void init_ob_methods(void)
Definition: ob_methods.c:35
command_invoke
void command_invoke(object *op, const char *params)
Definition: c_range.c:38
move_player
int move_player(object *op, int dir)
Definition: player.c:2912
races_get_random_monster
object * races_get_random_monster(const char *race, int level)
Definition: races.cpp:25
command_twiddle
void command_twiddle(object *op, const char *params)
Definition: c_chat.c:1217
SP_level_duration_adjust
int SP_level_duration_adjust(const object *caster, const object *spob)
Definition: spell_util.c:311
command_statistics
void command_statistics(object *pl, const char *params)
Definition: c_misc.c:1118
cast_curse
int cast_curse(object *op, object *caster, object *spell_ob, int dir)
Definition: spell_attack.c:800
get_player
player * get_player(player *p)
Definition: player.c:282
command_northwest
void command_northwest(object *op, const char *params)
Definition: c_move.c:90
singing
int singing(object *pl, int dir, object *skill)
Definition: skills.c:1147
command_diff
void command_diff(object *op, const char *params)
Definition: c_wiz.c:2571
monster_do_living
void monster_do_living(object *op)
Definition: monster.c:688
change_skill
int change_skill(object *who, object *new_skill, int flag)
Definition: skill_util.c:350
quest_load_definitions
void quest_load_definitions(void)
read_map_log
void read_map_log(void)
Definition: swap.c:70
command_who
void command_who(object *op, const char *params)
Definition: c_misc.c:623
command_overlay_reset
void command_overlay_reset(object *op, const char *params)
Definition: c_wiz.c:609
command_throw
void command_throw(object *op, const char *params)
Definition: c_object.c:239
skill_ident
int skill_ident(object *pl, object *skill)
Definition: skills.c:925
destroy_object
void destroy_object(object *op)
Definition: login.c:209
cast_raise_dead_spell
int cast_raise_dead_spell(object *op, object *caster, object *spell, int dir, const char *arg)
Definition: resurrection.c:181
Ice.tmp
int tmp
Definition: Ice.py:207
set_first_map
void set_first_map(object *op)
Definition: player.c:400
command_puke
void command_puke(object *op, const char *params)
Definition: c_chat.c:821
free_knowledge
void free_knowledge(void)
Definition: knowledge.c:1274
write_mark
int write_mark(object *op, object *spell, const char *msg)
Definition: spell_effect.c:3424
shuffle_attack
void shuffle_attack(object *op)
Definition: spell_util.c:1032
cast_polymorph
int cast_polymorph(object *op, object *caster, object *spell_ob, int dir)
Definition: spell_effect.c:434
hit_map
int hit_map(object *op, int dir, uint32_t type, int full_hit)
Definition: attack.c:327
rod_adjust
void rod_adjust(object *rod)
Definition: main.c:391
command_debug
void command_debug(object *op, const char *params)
Definition: c_misc.c:890
account_link
int account_link(const char *account_name, const char *player_name)
Definition: account.c:447
find_traps
int find_traps(object *pl, object *skill)
Definition: skills.c:1238
scroll_failure
void scroll_failure(object *op, int failure, int power)
Definition: apply.c:1577
plugins_display_list
void plugins_display_list(object *op)
Definition: plugins.c:506
flags
static const flag_definition flags[]
Definition: gridarta-types-convert.c:101
cleanupPlugins
void cleanupPlugins(void)
Definition: plugins.c:4569
command_whereami
void command_whereami(object *op, const char *params)
Definition: c_misc.c:819
receive_play_again
void receive_play_again(object *op, char key)
Definition: player.c:937
fire_arch_from_position
int fire_arch_from_position(object *op, object *caster, int16_t x, int16_t y, int dir, object *spell)
Definition: spell_util.c:628
npc_dialog.filename
filename
Definition: npc_dialog.py:99
command_overlay_save
void command_overlay_save(object *op, const char *params)
Definition: c_wiz.c:588
apply_manual
int apply_manual(object *op, object *tmp, int aflag)
Definition: apply.c:597
move_player_attack
void move_player_attack(object *op, int dir)
Definition: player.c:2587
apply_by_living_below
void apply_by_living_below(object *pl)
Definition: apply.c:695
account_get_additional_chars
linked_char * account_get_additional_chars(const char *account_name, const Account_Char *chars, int *count)
Definition: account.c:559
ok_to_put_more
int ok_to_put_more(mapstruct *m, int16_t x, int16_t y, object *op, uint32_t immune_stop)
Definition: spell_util.c:529
command_arrest
void command_arrest(object *op, const char *params)
Definition: c_wiz.c:841
add_server_collect_hooks
void add_server_collect_hooks()
Definition: init.c:1092
party_obsolete_parties
void party_obsolete_parties(void)
Definition: party.c:215
command_hug
void command_hug(object *op, const char *params)
Definition: c_chat.c:876
account_char_struct
Definition: account_char.h:12
load_races
void load_races(BufferReader *reader, const char *filename)
Definition: races.cpp:50
command_face
void command_face(object *op, const char *params)
Definition: c_new.c:111
command_rename_item
void command_rename_item(object *op, const char *params)
Definition: c_object.c:2373
initPlugins
void initPlugins(void)
Definition: plugins.c:4519
hiscore_check
void hiscore_check(object *op, int quiet)
Definition: hiscore.c:348
key_confirm_quit
void key_confirm_quit(object *op, char key)
Definition: player.c:1568
command_petmode
void command_petmode(object *op, const char *params)
Definition: c_misc.c:1434
add_player
player * add_player(socket_struct *ns, int flags)
Definition: player.c:455
command_rules
void command_rules(object *op, const char *params)
Definition: c_misc.c:229
command_grin
void command_grin(object *op, const char *params)
Definition: c_chat.c:920
hit_with_arrow
object * hit_with_arrow(object *op, object *victim)
Definition: attack.c:954
get_nearest_player
object * get_nearest_player(object *mon)
Definition: player.c:523
command_stack_clear
void command_stack_clear(object *op, const char *params)
Definition: c_wiz.c:2545
cast_dust
void cast_dust(object *op, object *throw_ob, int dir)
Definition: player.c:3880
command_nod
void command_nod(object *op, const char *params)
Definition: c_chat.c:722
pets_move_golem
void pets_move_golem(object *op)
Definition: pets.c:517
forbid_play
int forbid_play(void)
Definition: server.c:1336
cast_detection
int cast_detection(object *op, object *caster, object *spell)
Definition: spell_effect.c:2591
cast_magic_storm
void cast_magic_storm(object *op, object *tmp, int lvl)
Definition: spell_effect.c:46
linked_char
Definition: global.h:86
command_west
void command_west(object *op, const char *params)
Definition: c_move.c:134
pets_summon_object
int pets_summon_object(object *op, object *caster, object *spell_ob, int dir, const char *stringarg)
Definition: pets.c:870
cast_light
int cast_light(object *op, object *caster, object *spell, int dir)
Definition: spell_attack.c:1136
command_quit
void command_quit(object *op, const char *params)
Definition: c_misc.c:1867
archt
Definition: object.h:468
dragon_ability_gain
void dragon_ability_gain(object *who, int atnr, int level)
Definition: main.c:366
dump_races
void dump_races(void)
Definition: races.cpp:84
party_join
void party_join(object *op, partylist *party)
Definition: party.c:85
command_rskill
void command_rskill(object *pl, const char *params)
Definition: c_object.c:161
account_password
void account_password(char *buf, int len, socket_struct *ns)
Definition: request.c:2994
knowledge_read
void knowledge_read(player *pl, object *book)
Definition: knowledge.c:1050
store_spell_expiry
void store_spell_expiry(object *spell)
Definition: spell_util.c:1977
learn_skill
int learn_skill(object *pl, object *scroll)
Definition: skill_util.c:750
spell_effect
void spell_effect(object *spob, int x, int y, mapstruct *map, object *originator)
Definition: spell_util.c:143
remove_door
void remove_door(object *op)
Definition: time.c:38
m
static event_registration m
Definition: citylife.cpp:425
set_darkness_map
void set_darkness_map(mapstruct *m)
Definition: main.c:372
knowledge_send_info
void knowledge_send_info(socket_struct *ns)
Definition: knowledge.c:1368
autojail.who
who
Definition: autojail.py:3
command_malloc
void command_malloc(object *op, const char *params)
Definition: c_misc.c:793
party_get_first
partylist * party_get_first(void)
Definition: party.c:196
apply_auto_fix
void apply_auto_fix(mapstruct *m)
Definition: main.c:259
command_banish
void command_banish(object *op, const char *params)
Definition: c_wiz.c:522
give_initial_items
void give_initial_items(object *pl, treasurelist *items)
Definition: player.c:765
command_inventory
void command_inventory(object *op, const char *params)
Definition: c_wiz.c:1337
command_kill_pets
void command_kill_pets(object *op, const char *params)
Definition: c_misc.c:2191
teleport
int teleport(object *teleporter, uint8_t tele_type, object *user)
Definition: move.c:191
cast_heal
int cast_heal(object *op, object *caster, object *spell, int dir)
Definition: spell_effect.c:1762
use_skill
int use_skill(object *op, const char *string)
Definition: skill_util.c:955
command_accountpasswd
void command_accountpasswd(object *op, const char *params)
Definition: c_wiz.c:1608
slow_living_by
int slow_living_by(object *op, const int speed_penalty)
Definition: attack.c:2175
command_forget_spell
void command_forget_spell(object *op, const char *params)
Definition: c_wiz.c:2364
disinfect.map
map
Definition: disinfect.py:4
spell_find_dir
int spell_find_dir(mapstruct *m, int x, int y, object *exclude)
Definition: spell_util.c:886
command_mark
void command_mark(object *op, const char *params)
Definition: c_object.c:1567
pick_lock
int pick_lock(object *pl, int dir, object *skill)
Definition: skills.c:389
pets_get_enemy
object * pets_get_enemy(object *pet, rv_vector *rv)
Definition: pets.c:54
command_teleport
void command_teleport(object *op, const char *params)
Definition: c_wiz.c:933
command_unregister
void command_unregister(command_registration command)
Definition: commands.cpp:491
command_uskill
void command_uskill(object *pl, const char *params)
Definition: c_object.c:144
send_rules
void send_rules(const object *op)
Definition: player.c:167
free_no_drop
int free_no_drop(object *op)
Definition: time.c:557
party_confirm_password
int party_confirm_password(const partylist *party, const char *password)
Definition: party.c:259
enter_player_savebed
void enter_player_savebed(object *op)
Definition: server.c:138
determine_god
const char * determine_god(object *op)
Definition: gods.c:106
drop
void drop(object *op, object *tmp)
Definition: c_object.c:1168
play_again
void play_again(object *op)
Definition: player.c:884
command_dump
void command_dump(object *op, const char *params)
Definition: c_wiz.c:1379
playername_ok
int playername_ok(const char *cp)
Definition: player.c:254
remove_curse
int remove_curse(object *op, object *caster, object *spell)
Definition: spell_effect.c:2417
command_take
void command_take(object *op, const char *params)
Definition: c_object.c:845
fire
void fire(object *op, int dir)
Definition: player.c:2362
monster_find_throw_ob
object * monster_find_throw_ob(object *op)
Definition: monster.c:2483
friendly_fire
int friendly_fire(object *op, object *hitter)
Definition: attack.c:1804
mood_change
int mood_change(object *op, object *caster, object *spell)
Definition: spell_attack.c:904
blind_living
void blind_living(object *op, object *hitter, int dam)
Definition: attack.c:2302
cftimer_destroy
int cftimer_destroy(int id)
Definition: timers.c:128
move_ob
int move_ob(object *op, int dir, object *originator)
Definition: move.c:58
command_north
void command_north(object *op, const char *params)
Definition: c_move.c:68
command_save
void command_save(object *op, const char *params)
Definition: c_misc.c:2092
command_mon_aggr
void command_mon_aggr(object *op, const char *params)
Definition: c_wiz.c:1407
check_race_and_class
int check_race_and_class(living *stats, archetype *race, archetype *opclass)
Definition: player.c:1405
monster_do_say
void monster_do_say(const mapstruct *map, const char *message)
Definition: monster.c:2237
cftimer_init
void cftimer_init(void)
Definition: timers.c:157
check_login
void check_login(object *op, const char *password)
Definition: login.c:519
mon
object * mon
Definition: comet_perf.c:75
command_dropall
void command_dropall(object *op, const char *params)
Definition: c_object.c:1230
free_races
void free_races(void)
Definition: races.cpp:96
face_player
int face_player(object *op, int dir)
Definition: player.c:2991
account_get_account_for_char
const char * account_get_account_for_char(const char *charname)
Definition: account.c:589
remove_trap
int remove_trap(object *op, object *skill)
Definition: skills.c:1309
check_physically_infect
void check_physically_infect(object *victim, object *hitter)
Definition: disease.c:663
calc_skill_exp
int64_t calc_skill_exp(const object *who, const object *op, const object *skill)
Definition: skill_util.c:658
remove_unpaid_objects
void remove_unpaid_objects(object *op, object *env, int free_items)
Definition: player.c:3171
command_ssdumptable
void command_ssdumptable(object *op, const char *params)
Definition: c_misc.c:1016
roll_stats
void roll_stats(object *op)
Definition: player.c:1043
set_object_face_main
int set_object_face_main(object *op)
Definition: apply.c:146
examine_monster
void examine_monster(object *op, object *tmp, int level)
Definition: c_object.c:1614
party_leave
void party_leave(object *op)
Definition: party.c:123
command_listen
void command_listen(object *op, const char *params)
Definition: c_misc.c:1087
cone_drop
void cone_drop(object *op)
Definition: spell_attack.c:265
account_remove_player
int account_remove_player(const char *account_name, const char *player_name)
Definition: account.c:479
legal_range
int legal_range(object *op, int r)
Definition: c_range.c:264
command_loadplugin
void command_loadplugin(object *op, const char *params)
Definition: c_wiz.c:2407
command_scream
void command_scream(object *op, const char *params)
Definition: c_chat.c:843
display_motd
void display_motd(const object *op)
Definition: player.c:136
apply_container
int apply_container(object *op, object *sack, int aflags)
Definition: apply.c:222
transport_can_hold
int transport_can_hold(const object *transport, const object *op, int nrof)
Definition: apply.c:54
move_symptom
void move_symptom(object *symptom)
Definition: disease.c:592
free_quest
void free_quest(void)
Definition: quest.c:910
monster_find_nearest_living_creature
object * monster_find_nearest_living_creature(object *npc, object *exclude)
Definition: monster.c:155
timespec_diff
long timespec_diff(struct timespec *end, struct timespec *start)
Definition: time.c:162
command_follow
void command_follow(object *op, const char *params)
Definition: c_wiz.c:2758
process_events
void process_events(void)
Definition: server.c:1056
create_bomb
int create_bomb(object *op, object *caster, int dir, object *spell)
Definition: spell_attack.c:447
enter_player_maplevel
void enter_player_maplevel(object *op)
Definition: server.c:676
make_face_from_files.str
str
Definition: make_face_from_files.py:24
server_main
void server_main(int argc, char *argv[])
Definition: server.c:1541
command_strut
void command_strut(object *op, const char *params)
Definition: c_chat.c:1195
delete_character
void delete_character(const char *name)
Definition: login.c:88
command_chuckle
void command_chuckle(object *op, const char *params)
Definition: c_chat.c:975
should_director_abort
int should_director_abort(const object *op, const object *victim)
Definition: apply.c:68
navar-midane_pickup.msg
list msg
Definition: navar-midane_pickup.py:13
command_unloadplugin
void command_unloadplugin(object *op, const char *params)
Definition: c_wiz.c:2439
lookup_spell_by_name
object * lookup_spell_by_name(object *op, const char *spname)
Definition: spell_util.c:409
command_think
void command_think(object *op, const char *params)
Definition: c_chat.c:1305
polymorph
void polymorph(object *op, object *who, int level)
Definition: spell_effect.c:380
do_goto
void do_goto(object *op, const char *name, int x, int y)
Definition: c_move.c:151
cast_create_town_portal
int cast_create_town_portal(object *op, object *caster, object *spell)
Definition: spell_effect.c:1258
command_help
void command_help(object *op, const char *params)
Definition: c_misc.c:1766
show_skills
void show_skills(object *op, const char *search)
Definition: skill_util.c:851
quest_was_completed
int quest_was_completed(player *pl, sstring quest_code)
Definition: quest.c:738
counterspell
void counterspell(object *op, int dir)
Definition: spell_effect.c:2922
party_set_password
void party_set_password(partylist *party, const char *password)
Definition: party.c:244
command_examine
void command_examine(object *op, const char *params)
Definition: c_object.c:1489
trap_disarm
int trap_disarm(object *disarmer, object *trap, int risk, object *skill)
Definition: rune.c:433
command_prepare
void command_prepare(object *op, const char *params)
Definition: c_range.c:63
legacy_remove_force
void legacy_remove_force(object *op)
Definition: time.c:850
leave
void leave(player *pl, int draw_exit)
Definition: server.c:1275
move_firewall
void move_firewall(object *op)
Definition: main.c:344
command_free
void command_free(object *op, const char *params)
Definition: c_wiz.c:1582
account_new
int account_new(const char *account_name, const char *account_password)
Definition: account.c:401
create_aura
int create_aura(object *op, object *caster, object *spell)
Definition: spell_effect.c:3338
command_cry
void command_cry(object *op, const char *params)
Definition: c_chat.c:887
identify_object_with_skill
int identify_object_with_skill(object *tmp, object *pl, object *skill, int print_on_success)
Definition: skills.c:808
fix_stopped_item
void fix_stopped_item(object *op, mapstruct *map, object *originator)
Definition: time.c:487
apply_can_apply_object
int apply_can_apply_object(const object *who, const object *op)
Definition: apply.c:1016
sstring
const typedef char * sstring
Definition: global.h:40
caster_level
int caster_level(const object *caster, const object *spell)
Definition: spell_util.c:193
fix_stopped_arrow
object * fix_stopped_arrow(object *op)
Definition: time.c:504
command_kick
void command_kick(object *op, const char *params)
Definition: c_wiz.c:576
disinfect.count
int count
Definition: disinfect.py:7
say.max
dictionary max
Definition: say.py:148
push.match
bool match
Definition: push.py:61
monster_communicate
void monster_communicate(object *op, const char *txt)
Definition: monster.c:2319
command_pout
void command_pout(object *op, const char *params)
Definition: c_chat.c:1074
command_orcknuckle
void command_orcknuckle(object *op, const char *params)
Definition: c_chat.c:108
knowledge_item_can_be_used_alchemy
void knowledge_item_can_be_used_alchemy(object *op, const object *item)
Definition: knowledge.c:1328
command_search
void command_search(object *op, const char *params)
Definition: c_object.c:212
command_abil
void command_abil(object *op, const char *params)
Definition: c_wiz.c:1789
command_flip
void command_flip(object *op, const char *params)
Definition: c_chat.c:997
pray
int pray(object *pl, object *skill)
Definition: skills.c:1382
dump_spells
void dump_spells(void)
Definition: spell_util.c:106
move_to
int move_to(object *op, int x, int y)
Definition: move.c:549
command_possess
void command_possess(object *op, const char *params)
Definition: c_wiz.c:1434
find_key
object * find_key(object *pl, object *container, object *door)
Definition: player.c:2434
command_cast_spell
void command_cast_spell(object *op, const char *params, char command)
Definition: c_range.c:159
command_language
void command_language(object *op, const char *params)
Definition: c_misc.c:131
command_dumpallobjects
void command_dumpallobjects(object *op, const char *params)
Definition: c_misc.c:974
skill_throw
int skill_throw(object *op, object *part, int dir, object *skill)
Definition: skills.c:2275
devourers.command
command
Definition: devourers.py:16
mapdef
Definition: map.h:324
SP_level_spellpoint_cost
int16_t SP_level_spellpoint_cost(object *caster, object *spell, int flags)
Definition: spell_util.c:235
cftimer_process_timers
void cftimer_process_timers(void)
Definition: timers.c:44
become_follower
int become_follower(object *op, const object *new_god)
Definition: gods.c:477
list_players
void list_players(object *op, region *reg, partylist *party)
Definition: c_misc.c:550
account_is_logged_in
int account_is_logged_in(const char *name)
Definition: account.c:657
init_signals
void init_signals()
Definition: init.c:1330
detect_magic_on_item
int detect_magic_on_item(object *pl, object *tmp, object *skill)
Definition: skills.c:750
command_giggle
void command_giggle(object *op, const char *params)
Definition: c_chat.c:799
cast_item_curse_or_curse
int cast_item_curse_or_curse(object *op, object *spell_ob)
Definition: spell_effect.c:2465
party_form
partylist * party_form(object *op, const char *partyname)
Definition: party.c:40
liv
Definition: living.h:35
regenerate_rod
void regenerate_rod(object *rod)
Definition: spell_util.c:760
command_hide
void command_hide(object *op, const char *params)
Definition: c_wiz.c:388
command_accuse
void command_accuse(object *op, const char *params)
Definition: c_chat.c:909
accounts_clear
void accounts_clear(void)
Definition: account.c:148
command_stay
void command_stay(object *op, const char *params)
Definition: c_move.c:145
party_struct
Definition: party.h:10
push_ob
int push_ob(object *who, int dir, object *pusher)
Definition: move.c:421
find_skill_by_name
object * find_skill_by_name(object *who, const char *name)
Definition: skill_util.c:202
command_dumpmap
void command_dumpmap(object *op, const char *params)
Definition: c_misc.c:1030
account_char_save
void account_char_save(const char *account, Account_Char *chars)
Definition: account_char.c:146
env
static std::shared_ptr< inja::Environment > env
Definition: mapper.cpp:2215
accounts_load
void accounts_load(void)
Definition: account.c:157
drop_object
object * drop_object(object *op, object *tmp, uint32_t nrof)
Definition: c_object.c:1073
command_settings
void command_settings(object *op, const char *ignored)
Definition: c_wiz.c:2863
command_purge_quest_definitions
void command_purge_quest_definitions(object *op, const char *param)
Definition: c_wiz.c:2808
checkbanned
int checkbanned(const char *login, const char *host)
Definition: ban.c:32
SP_level_wc_adjust
int SP_level_wc_adjust(const object *caster, const object *spob)
Definition: spell_util.c:361
receive_player_name
void receive_player_name(object *op, const char *name)
Definition: c_misc.c:1929
cast_bless
int cast_bless(object *op, object *caster, object *spell_ob, int dir)
Definition: spell_effect.c:2065
tick_length
unsigned int tick_length(float seconds)
Definition: time.c:378
command_east
void command_east(object *op, const char *params)
Definition: c_move.c:57
command_dumpbelow
void command_dumpbelow(object *op, const char *params)
Definition: c_wiz.c:2836
command_peaceful
void command_peaceful(object *op, const char *params)
Definition: c_misc.c:2118
transfer_ob
int transfer_ob(object *op, int x, int y, int randomly, object *originator)
Definition: move.c:150
monster_check_apply_all
void monster_check_apply_all(object *monster)
Definition: monster.c:1959
command_wimpy
void command_wimpy(object *op, const char *params)
Definition: c_misc.c:2136
pets_move
void pets_move(object *ob)
Definition: pets.c:315
quest_first_player_save
void quest_first_player_save(player *pl)
Definition: quest.c:986
party_get_next
partylist * party_get_next(const partylist *party)
Definition: party.c:208
move_object
int move_object(object *op, int dir)
Definition: move.c:39
account_char_free
void account_char_free(Account_Char *chars)
Definition: account_char.c:334
trap_show
int trap_show(object *trap, object *where)
Definition: rune.c:403
free_quest_definitions
void free_quest_definitions(void)
dead_player
void dead_player(object *op)
Definition: resurrection.c:297
probe
int probe(object *op, object *caster, object *spell_ob, int dir, int level)
Definition: spell_effect.c:707
key_roll_stat
void key_roll_stat(object *op, char key)
Definition: player.c:1189
command_bow
void command_bow(object *op, const char *params)
Definition: c_chat.c:931
init_skills
void init_skills(void)
Definition: skill_util.c:91
command_drop
void command_drop(object *op, const char *params)
Definition: c_object.c:1354
command_shake
void command_shake(object *op, const char *params)
Definition: c_chat.c:810
command_use
void command_use(object *op, const char *params)
Definition: c_object.c:2601
command_fire_stop
void command_fire_stop(object *op, const char *params)
Definition: c_new.c:98
pets_attempt_follow
void pets_attempt_follow(object *for_owner, int force)
Definition: pets.c:248
command_motd
void command_motd(object *op, const char *params)
Definition: c_misc.c:216
command_loadtest
void command_loadtest(object *op, const char *params)
Definition: c_wiz.c:305
apply_race_and_class
int apply_race_and_class(object *op, archetype *race, archetype *opclass, living *stats)
Definition: player.c:1455
diamondslots.message
string message
Definition: diamondslots.py:57
command_smile
void command_smile(object *op, const char *params)
Definition: c_chat.c:766
account_get_logged_in_init_socket
socket_struct * account_get_logged_in_init_socket(const char *name)
Definition: account.c:635
reply_type
reply_type
Definition: dialog.h:9
monster_can_see_enemy
int monster_can_see_enemy(object *op, object *enemy)
Definition: monster.c:2705
command_learn_special_prayer
void command_learn_special_prayer(object *op, const char *params)
Definition: c_wiz.c:2351
apply_auto
int apply_auto(object *op)
Definition: main.c:212
command_applymode
void command_applymode(object *op, const char *params)
Definition: c_misc.c:1274
swap_map
int swap_map(mapstruct *map)
Definition: swap.c:135
altar_valkyrie.altar
altar
Definition: altar_valkyrie.py:27
command_news
void command_news(object *op, const char *params)
Definition: c_misc.c:242
command_quest
void command_quest(object *op, const char *params)
Definition: quest.c:750
hideability
int hideability(object *ob)
Definition: player.c:3953
command_whereabouts
void command_whereabouts(object *op, const char *params)
Definition: c_misc.c:483
hiscore_init
void hiscore_init(void)
Definition: hiscore.c:296
apply_handle_yield
void apply_handle_yield(object *tmp)
Definition: apply.c:122
command_afk
void command_afk(object *op, const char *params)
Definition: c_misc.c:772
command_summon
void command_summon(object *op, const char *params)
Definition: c_wiz.c:886
command_knowledge
void command_knowledge(object *pl, const char *params)
Definition: knowledge.c:1207
clean_tmp_files
void clean_tmp_files(void)
Definition: main.c:352
command_reset
void command_reset(object *op, const char *params)
Definition: c_wiz.c:1855
get_reply_text_own
const char * get_reply_text_own(reply_type rt)
Definition: monster.c:2263
command_learn_spell
void command_learn_spell(object *op, const char *params)
Definition: c_wiz.c:2339
alchemy
int alchemy(object *op, object *caster, object *spell_ob)
Definition: spell_effect.c:2317
animate_weapon
int animate_weapon(object *op, object *caster, object *spell, int dir)
Definition: spell_effect.c:3076
command_version
void command_version(object *op, const char *params)
Definition: c_misc.c:1073
SP_level_dam_adjust
int SP_level_dam_adjust(const object *caster, const object *spob)
Definition: spell_util.c:286
command_frown
void command_frown(object *op, const char *params)
Definition: c_chat.c:1008
command_toggle_shout
void command_toggle_shout(object *op, const char *params)
Definition: c_wiz.c:635
party_get_password
const char * party_get_password(const partylist *party)
Definition: party.c:232
commands_init
void commands_init(void)
Definition: commands.cpp:99
command_snicker
void command_snicker(object *op, const char *params)
Definition: c_chat.c:1151
dump_quests
void dump_quests(void)
Definition: quest.c:899
item
Definition: item.py:1
command_reply
void command_reply(object *op, const char *params)
Definition: c_chat.c:336
reputation.victim
victim
Definition: reputation.py:14
move_disease
int move_disease(object *disease)
Definition: disease.c:180
command_strings
void command_strings(object *op, const char *params)
Definition: c_misc.c:844
apply_check_weapon_power
int apply_check_weapon_power(const object *who, int improves)
Definition: apply.c:1131
command_yawn
void command_yawn(object *op, const char *params)
Definition: c_chat.c:1261
enter_exit
void enter_exit(object *op, object *exit_ob)
Definition: server.c:721
move_player_mover
void move_player_mover(object *op)
Definition: time.c:699
check_spell_known
object * check_spell_known(object *op, const char *name)
Definition: spell_util.c:393
command_setgod
void command_setgod(object *op, const char *params)
Definition: c_wiz.c:417
command_pickup
void command_pickup(object *op, const char *params)
Definition: c_object.c:2210
roll_again
void roll_again(object *op)
Definition: player.c:1117
give.op
op
Definition: give.py:33
monster_npc_call_help
void monster_npc_call_help(object *op)
Definition: monster.c:1972
command_skills
void command_skills(object *op, const char *params)
Definition: c_wiz.c:1367
party_send_message
void party_send_message(object *op, const char *message)
Definition: party.c:274
summon_hostile_monsters
int summon_hostile_monsters(object *op, int n, const char *monstername)
Definition: spell_util.c:1004
receive_player_password
void receive_player_password(object *op, const char *password)
Definition: c_misc.c:1949
cast_create_obj
int cast_create_obj(object *op, object *new_op, int dir)
Definition: spell_util.c:493
command_patch
void command_patch(object *op, const char *params)
Definition: c_wiz.c:1495
command_dmtell
void command_dmtell(object *op, const char *params)
Definition: c_chat.c:320
convert.dest
dest
Definition: convert.py:25
check_pick
int check_pick(object *op)
Definition: player.c:1693
command_rotateshoottype
void command_rotateshoottype(object *op, const char *params)
Definition: c_range.c:368
pets_summon_golem
int pets_summon_golem(object *op, object *caster, int dir, object *spob)
Definition: pets.c:649
command_shiver
void command_shiver(object *op, const char *params)
Definition: c_chat.c:1085
apply_by_living
int apply_by_living(object *pl, object *op, int aflag, int quiet)
Definition: apply.c:637
register_all_ob_types
void register_all_ob_types(void)
Definition: ob_types.c:31
spell_failure
void spell_failure(object *op, int failure, int power, object *skill)
Definition: spell_util.c:1102
command_stats
void command_stats(object *op, const char *params)
Definition: c_wiz.c:1732
pets_follow_owner
void pets_follow_owner(object *ob, object *owner)
Definition: pets.c:282
rv_vector
Definition: map.h:379
init
void init(int argc, char **argv)
Definition: init.c:1108
command_lick
void command_lick(object *op, const char *params)
Definition: c_chat.c:1063
dispel_rune
int dispel_rune(object *op, object *skill, int dir)
Definition: rune.c:295
options
static struct Command_Line_Options options[]
Definition: init.c:379
monster_check_enemy
object * monster_check_enemy(object *npc, rv_vector *rv)
Definition: monster.c:72
hit_player
int hit_player(object *op, int dam, object *hitter, uint32_t type, int full_hit)
Definition: attack.c:1853
command_chat
void command_chat(object *op, const char *params)
Definition: c_chat.c:221
do_hidden_move
void do_hidden_move(object *op)
Definition: player.c:3994
diamondslots.y
y
Definition: diamondslots.py:16
python_pickup.where
where
Definition: python_pickup.py:7
command_southwest
void command_southwest(object *op, const char *params)
Definition: c_move.c:123
knowledge_show_monster_detail
void knowledge_show_monster_detail(object *op, const char *name)
Definition: knowledge.c:1522
do_harvest
void do_harvest(object *pl, int dir, object *skill)
Definition: c_misc.c:2255
free_server
void free_server(void)
Definition: init.c:1148
apply_special
int apply_special(object *who, object *op, int aflags)
Definition: apply.c:1156
account_char_load
Account_Char * account_char_load(const char *account_name)
Definition: account_char.c:80
command_bounce
void command_bounce(object *op, const char *params)
Definition: c_chat.c:755
command_smirk
void command_smirk(object *op, const char *params)
Definition: c_chat.c:1118
command_resistances
void command_resistances(object *op, const char *params)
Definition: c_misc.c:1591
cast_wonder
int cast_wonder(object *op, object *caster, int dir, object *spell_ob)
Definition: spell_effect.c:985
player_arrest
int player_arrest(object *who)
Definition: c_wiz.c:809
find_player_partial_name
player * find_player_partial_name(const char *plname)
Definition: player.c:111
account_change_password
int account_change_password(const char *account_name, const char *current_password, const char *new_password)
Definition: account.c:685
command_slap
void command_slap(object *op, const char *params)
Definition: c_chat.c:1107
check_spell_expiry
void check_spell_expiry(object *spell)
Definition: spell_util.c:2002
command_stack_list
void command_stack_list(object *op, const char *params)
Definition: c_wiz.c:2514
command_fire
void command_fire(object *op, const char *params)
Definition: c_new.c:77
fire_bow
int fire_bow(object *op, object *arrow, int dir, int wc_mod, int16_t sx, int16_t sy)
Definition: player.c:2069
change_object
void change_object(object *op)
Definition: time.c:584
command_invisible
void command_invisible(object *op, const char *params)
Definition: c_wiz.c:2174
meditate
void meditate(object *pl, object *skill)
Definition: skills.c:1430
steal
int steal(object *op, int dir, object *skill)
Definition: skills.c:277
command_purge_quest
void command_purge_quest(object *op, const char *param)
Definition: c_wiz.c:2802
knowledge_player_knows
int knowledge_player_knows(const player *pl, const char *knowledge)
Definition: knowledge.c:1292
command_run
void command_run(object *op, const char *params)
Definition: c_new.c:41
castle_read.key
key
Definition: castle_read.py:64
npc_dialog.npc
npc
Definition: npc_dialog.py:95
command_freeze
void command_freeze(object *op, const char *params)
Definition: c_wiz.c:765
quest_start
void quest_start(player *pl, sstring quest_code, int state)
Definition: quest.c:692
find_player_options
player * find_player_options(const char *plname, int options, const mapstruct *map)
Definition: player.c:67
knowledge_give
void knowledge_give(player *pl, const char *marker, const object *book)
Definition: knowledge.c:990
save_player
int save_player(object *op, int flag)
Definition: login.c:230
monster_move
int monster_move(object *op)
Definition: monster.c:823
command_maps
void command_maps(object *op, const char *params)
Definition: c_misc.c:832
stop_item
object * stop_item(object *op)
Definition: time.c:447
command_dumpabove
void command_dumpabove(object *op, const char *params)
Definition: c_wiz.c:2851
command_function_extra
void(* command_function_extra)(object *op, const char *params, const char *extra)
Definition: commands.h:29
command_dumpallarchetypes
void command_dumpallarchetypes(object *op, const char *params)
Definition: c_misc.c:1002
fire_swarm
int fire_swarm(object *op, object *caster, object *spell, int dir)
Definition: spell_attack.c:1088
command_register
command_registration command_register(const char *name, uint8_t type, command_function func, float time)
Definition: commands.cpp:92
command_speed
void command_speed(object *op, const char *params)
Definition: c_wiz.c:1702
player_set_state
void player_set_state(player *pl, uint8_t state)
Definition: player.c:4428
cure_disease
int cure_disease(object *sufferer, object *caster, sstring skill)
Definition: disease.c:685
trap_see
int trap_see(object *op, object *trap)
Definition: rune.c:376
reflwall
int reflwall(mapstruct *m, int x, int y, object *sp_op)
Definition: spell_util.c:469
command_fix_me
void command_fix_me(object *op, const char *params)
Definition: c_misc.c:1210
inventory
void inventory(object *op, object *inv)
Definition: c_object.c:2016
player_get_delayed_buffer
SockList * player_get_delayed_buffer(player *pl)
Definition: player.c:4441
player_can_view
int player_can_view(object *pl, object *op)
Definition: player.c:4103
do_forget_spell
void do_forget_spell(object *op, const char *spell)
Definition: apply.c:525
quest.state
state
Definition: quest.py:13
cast_change_ability
int cast_change_ability(object *op, object *caster, object *spell_ob, int dir, int silent)
Definition: spell_effect.c:1917
command_registration
uint64_t command_registration
Definition: commands.h:32
check_password
bool check_password(const char *typed, const char *crypted)
Definition: server.c:114
do_some_living
void do_some_living(object *op)
Definition: player.c:3236
command_dm
void command_dm(object *op, const char *params)
Definition: c_wiz.c:2162
seconds
long seconds(void)
Definition: time.c:344
command_addexp
void command_addexp(object *op, const char *params)
Definition: c_wiz.c:1646
command_goto
void command_goto(object *op, const char *params)
Definition: c_wiz.c:744
object_teleport
int object_teleport(object *op, mapstruct *map, int x, int y)
Definition: move.c:583
command_empty
void command_empty(object *op, const char *params)
Definition: c_object.c:1450
command_cointoss
void command_cointoss(object *op, const char *params)
Definition: c_chat.c:64
cast_word_of_recall
int cast_word_of_recall(object *op, object *caster, object *spell_ob)
Definition: spell_effect.c:923
command_tell
void command_tell(object *op, const char *params)
Definition: c_chat.c:308
command_register_extra
command_registration command_register_extra(const char *name, const char *extra, uint8_t type, command_function_extra func, float time)
Definition: commands.cpp:482
command_showpets
void command_showpets(object *op, const char *params)
Definition: c_misc.c:1478
key_change_class
void key_change_class(object *op, char key)
Definition: player.c:1265
finish_races
void finish_races()
Definition: races.cpp:101
receive_party_password
void receive_party_password(object *op, const char *password)
Definition: c_party.c:53
account_check_string
int account_check_string(const char *str)
Definition: account.c:362
write_rune
int write_rune(object *op, object *caster, object *spell, int dir, const char *runename)
Definition: rune.c:50
knowledge_send_known
void knowledge_send_known(player *pl)
Definition: knowledge.c:1397
fix_luck
void fix_luck(void)
Definition: player.c:3859
death_message.hitter
hitter
Definition: death_message.py:33
check_active_maps
void check_active_maps(void)
Definition: swap.c:196
commands_clear
void commands_clear()
Definition: commands.cpp:333
drain_rod_charge
void drain_rod_charge(object *rod)
Definition: spell_util.c:775
attack_ob
int attack_ob(object *op, object *hitter)
Definition: attack.c:912
cast_create_missile
int cast_create_missile(object *op, object *caster, object *spell, int dir, const char *stringarg)
Definition: spell_effect.c:502
stand_near_hostile
int stand_near_hostile(object *who)
Definition: player.c:4035
command_gsay
void command_gsay(object *op, const char *params)
Definition: c_party.c:75
find_target_for_friendly_spell
object * find_target_for_friendly_spell(object *op, int dir)
Definition: spell_util.c:812
close_modules
void close_modules()
Definition: init.c:80
command_mapinfo
void command_mapinfo(object *op, const char *params)
Definition: c_misc.c:806
command_gasp
void command_gasp(object *op, const char *params)
Definition: c_chat.c:1019
command_brace
void command_brace(object *op, const char *params)
Definition: c_misc.c:2167
cast_transfer
int cast_transfer(object *op, object *caster, object *spell, int dir)
Definition: spell_effect.c:2849
confirm_password
void confirm_password(object *op)
Definition: player.c:987
command_body
void command_body(object *op, const char *params)
Definition: c_misc.c:174
account_login
int account_login(const char *account_name, const char *account_password)
Definition: account.c:326
command_passwd
void command_passwd(object *pl, const char *params)
Definition: c_misc.c:2231
reputation.killer
def killer
Definition: reputation.py:13
hide
int hide(object *op, object *skill)
Definition: skills.c:494
command_function
void(* command_function)(object *op, const char *params)
Definition: commands.h:17
verify_player
int verify_player(const char *name, char *password)
Definition: login.c:111
pets_control_golem
void pets_control_golem(object *op, int dir)
Definition: pets.c:628
check_name
int check_name(player *me, const char *name)
Definition: login.c:181
command_archs
void command_archs(object *op, const char *params)
find_god
const object * find_god(const char *name)
Definition: gods.c:80
command_sniff
void command_sniff(object *op, const char *params)
Definition: c_chat.c:1162
save_throw_object
void save_throw_object(object *op, uint32_t type, object *originator)
Definition: attack.c:182
command_insert_into
void command_insert_into(object *op, const char *params)
Definition: c_wiz.c:2635
cast_smite_spell
int cast_smite_spell(object *op, object *caster, int dir, object *spell)
Definition: spell_attack.c:546
player_unready_range_ob
void player_unready_range_ob(player *pl, object *ob)
Definition: player.c:4410
cast_earth_to_dust
int cast_earth_to_dust(object *op, object *caster, object *spell_ob)
Definition: spell_effect.c:872
recharge
int recharge(object *op, object *caster, object *spell_ob)
Definition: spell_effect.c:81
pick_up
void pick_up(object *op, object *alt)
Definition: c_object.c:519
makes_invisible_to
int makes_invisible_to(object *pl, object *mon)
Definition: spell_effect.c:764
examine
void examine(object *op, object *tmp)
Definition: c_object.c:1702
sack_can_hold
int sack_can_hold(const object *pl, const object *sack, const object *op, uint32_t nrof)
Definition: c_object.c:317
BufferReader
Definition: bufferreader.c:21
kill_player
void kill_player(object *op, const object *killer)
Definition: player.c:3452
min_casting_level
int min_casting_level(const object *caster, const object *spell)
Definition: spell_util.c:163
command_apply
void command_apply(object *op, const char *params)
Definition: c_object.c:251
SockList
Definition: newclient.h:681
command_cast
void command_cast(object *op, const char *params)
Definition: c_range.c:50
find_applied_skill_by_name
object * find_applied_skill_by_name(const object *op, const char *name)
Definition: living.c:1921
command_listplugins
void command_listplugins(object *op, const char *params)
Definition: c_wiz.c:2392
command_bowmode
void command_bowmode(object *op, const char *params)
Definition: c_misc.c:1315
find_marked_object
object * find_marked_object(object *op)
Definition: c_object.c:1520
command_title
void command_title(object *op, const char *params)
Definition: c_misc.c:2041
drain_wand_charge
void drain_wand_charge(object *wand)
Definition: spell_util.c:785
command_wizpass
void command_wizpass(object *op, const char *params)
Definition: c_misc.c:914
process_object
int process_object(object *op)
Definition: time.c:791
ring_occidental_mages.r
r
Definition: ring_occidental_mages.py:6
knowledge_process_incremental
void knowledge_process_incremental(void)
Definition: knowledge.c:1433
command_create
void command_create(object *op, const char *params)
Definition: c_wiz.c:999
apply_builder_remove
void apply_builder_remove(object *pl, int dir)
Definition: build_map.c:889
cast_invisible
int cast_invisible(object *op, object *caster, object *spell_ob)
Definition: spell_effect.c:811
monster_compute_path
int monster_compute_path(object *source, object *target, int default_dir)
Definition: monster.c:438
command_dmhide
void command_dmhide(object *op, const char *params)
Definition: c_wiz.c:2468
curse_on_apply.me
me
Definition: curse_on_apply.py:3
cast_cone
int cast_cone(object *op, object *caster, int dir, object *spell)
Definition: spell_attack.c:297
treasureliststruct
Definition: treasure.h:82
command_blush
void command_blush(object *op, const char *params)
Definition: c_chat.c:953
is_valid_types_gen.type
list type
Definition: is_valid_types_gen.py:25
is_true_undead
int is_true_undead(object *op)
Definition: player.c:3929
determine_holy_arch
archetype * determine_holy_arch(const object *god, const char *type)
Definition: gods.c:739
account_exists
const char * account_exists(const char *account_name)
Definition: account.c:302
command_sneeze
void command_sneeze(object *op, const char *params)
Definition: c_chat.c:1140
command_burp
void command_burp(object *op, const char *params)
Definition: c_chat.c:964
give.name
name
Definition: give.py:27
quest_send_initial_states
void quest_send_initial_states(player *pl)
Definition: quest.c:928
put_object_in_sack
void put_object_in_sack(object *op, object *sack, object *tmp, uint32_t nrof)
Definition: c_object.c:937
quest_get_player_state
int quest_get_player_state(player *pl, sstring quest_code)
Definition: quest.c:672
skill_attack
void skill_attack(object *tmp, object *pl, int dir, const char *string, object *skill)
Definition: skill_util.c:1272
cftimer_create
int cftimer_create(int id, long delay, object *ob, int mode)
Definition: timers.c:97
jump
int jump(object *pl, int dir, object *skill)
Definition: skills.c:664
pray_at_altar
void pray_at_altar(object *pl, object *altar, object *skill)
Definition: gods.c:322
command_southeast
void command_southeast(object *op, const char *params)
Definition: c_move.c:112
get_name
void get_name(object *op)
Definition: player.c:862
dragon_attune.force
force
Definition: dragon_attune.py:45
command_laugh
void command_laugh(object *op, const char *params)
Definition: c_chat.c:788
knowledge_first_player_save
void knowledge_first_player_save(player *pl)
Definition: knowledge.c:1417
players_on_map
int players_on_map(mapstruct *m, int show_all)
Definition: swap.c:229
find_player
player * find_player(const char *plname)
Definition: player.c:56
command_sigh
void command_sigh(object *op, const char *params)
Definition: c_chat.c:854
level
Definition: level.py:1
regiondef
Definition: map.h:275