… | |
… | |
260 | /* daemon.c */ |
260 | /* daemon.c */ |
261 | FILE *BecomeDaemon (const char *filename); |
261 | FILE *BecomeDaemon (const char *filename); |
262 | |
262 | |
263 | /* disease.c */ |
263 | /* disease.c */ |
264 | int move_disease (object *disease); |
264 | int move_disease (object *disease); |
265 | int remove_symptoms (object *disease); |
|
|
266 | object *find_symptom (object *disease); |
|
|
267 | int check_infection (object *disease); |
|
|
268 | int infect_object (object *victim, object *disease, int force); |
265 | int infect_object (object *victim, object *disease, int force); |
269 | int do_symptoms (object *disease); |
|
|
270 | int grant_immunity (object *disease); |
|
|
271 | int move_symptom (object *symptom); |
266 | int move_symptom (object *symptom); |
272 | int check_physically_infect (object *victim, object *hitter); |
267 | int check_physically_infect (object *victim, object *hitter); |
273 | object *find_disease (object *victim); |
|
|
274 | int cure_disease (object *sufferer, object *caster, object *spell); |
268 | int cure_disease (object *sufferer, object *caster, object *spell); |
275 | int reduce_symptoms (object *sufferer, int reduction); |
|
|
276 | |
269 | |
277 | /* egoitem.c */ |
270 | /* egoitem.c */ |
278 | int create_artifact (object *op, const char *artifactname); |
271 | int create_artifact (object *op, const char *artifactname); |
279 | int apply_power_crystal (object *op, object *crystal); |
272 | int apply_power_crystal (object *op, object *crystal); |
280 | |
273 | |
… | |
… | |
284 | void display_high_score (object *op, int max, const char *match); |
277 | void display_high_score (object *op, int max, const char *match); |
285 | |
278 | |
286 | /* gods.c */ |
279 | /* gods.c */ |
287 | int lookup_god_by_name (const char *name); |
280 | int lookup_god_by_name (const char *name); |
288 | object *find_god (const char *name); |
281 | object *find_god (const char *name); |
289 | const char *determine_god (object *op); |
282 | shstr_tmp determine_god (object *op); |
290 | void pray_at_altar (object *pl, object *altar, object *skill); |
283 | void pray_at_altar (object *pl, object *altar, object *skill); |
291 | void become_follower (object *op, object *new_god); |
284 | void become_follower (object *op, object *new_god); |
292 | int worship_forbids_use (object *op, object *exp_obj, uint32 flag, const char *string); |
285 | int worship_forbids_use (object *op, object *exp_obj, uint32 flag, const char *string); |
293 | void stop_using_item (object *op, int type, int number); |
286 | void stop_using_item (object *op, int type, int number); |
294 | void update_priest_flag (object *god, object *exp_ob, uint32 flag); |
287 | void update_priest_flag (object *god, object *exp_ob, uint32 flag); |
295 | archetype *determine_holy_arch (object *god, const char *type); |
288 | archetype *determine_holy_arch (object *god, const char *type); |
296 | void god_intervention (object *op, object *god, object *skill); |
289 | void god_intervention (object *op, object *god, object *skill); |
297 | int god_examines_priest (object *op, object *god); |
290 | int god_examines_priest (object *op, object *god); |
298 | int god_examines_item (object *god, object *item); |
291 | int god_examines_item (object *god, object *item); |
299 | int get_god (object *priest); |
292 | int get_god (object *priest); |
300 | const char *get_god_for_race (const char *race); |
293 | shstr_tmp get_god_for_race (const char *race); |
301 | int tailor_god_spell (object *spellop, object *caster); |
294 | int tailor_god_spell (object *spellop, object *caster); |
302 | |
295 | |
303 | /* init.c */ |
296 | /* init.c */ |
304 | void load_settings (void); |
297 | void load_settings (void); |
305 | void load_materials (void); |
298 | void load_materials (void); |
… | |
… | |
402 | void move_golem (object *op); |
395 | void move_golem (object *op); |
403 | void control_golem (object *op, int dir); |
396 | void control_golem (object *op, int dir); |
404 | int summon_golem (object *op, object *caster, int dir, object *spob); |
397 | int summon_golem (object *op, object *caster, int dir, object *spob); |
405 | object *choose_cult_monster (object *pl, object *god, int summon_level); |
398 | object *choose_cult_monster (object *pl, object *god, int summon_level); |
406 | int summon_object (object *op, object *caster, object *spell_ob, int dir, const char *stringarg); |
399 | int summon_object (object *op, object *caster, object *spell_ob, int dir, const char *stringarg); |
407 | object *get_real_owner (object *ob); |
|
|
408 | int should_arena_attack (object *pet, object *owner, object *target); |
400 | int should_arena_attack (object *pet, object *owner, object *target); |
409 | |
401 | |
410 | /* player.c */ |
402 | /* player.c */ |
411 | player *find_player (const char *plname); |
403 | player *find_player (const char *plname); |
412 | player *find_player_partial_name (const char *plname); |
404 | player *find_player_partial_name (const char *plname); |