… | |
… | |
174 | int sack_can_hold (object *pl, object *sack, object *op, uint32 nrof); |
174 | int sack_can_hold (object *pl, object *sack, object *op, uint32 nrof); |
175 | void pick_up (object *op, object *alt); |
175 | void pick_up (object *op, object *alt); |
176 | int command_take (object *op, char *params); |
176 | int command_take (object *op, char *params); |
177 | void put_object_in_sack (object *op, object *sack, object *tmp, uint32 nrof); |
177 | void put_object_in_sack (object *op, object *sack, object *tmp, uint32 nrof); |
178 | void drop_object (object *op, object *tmp, uint32 nrof); |
178 | void drop_object (object *op, object *tmp, uint32 nrof); |
|
|
179 | void drop_object (object *dropper, object *obj); |
179 | void drop (object *op, object *tmp); |
180 | void drop (object *op, object *tmp); |
180 | int command_dropall (object *op, char *params); |
181 | int command_dropall (object *op, char *params); |
181 | int command_drop (object *op, char *params); |
182 | int command_drop (object *op, char *params); |
182 | int command_examine (object *op, char *params); |
183 | int command_examine (object *op, char *params); |
183 | object *find_marked_object (object *op); |
184 | object *find_marked_object (object *op); |
… | |
… | |
259 | /* daemon.c */ |
260 | /* daemon.c */ |
260 | FILE *BecomeDaemon (const char *filename); |
261 | FILE *BecomeDaemon (const char *filename); |
261 | |
262 | |
262 | /* disease.c */ |
263 | /* disease.c */ |
263 | int move_disease (object *disease); |
264 | int move_disease (object *disease); |
264 | int remove_symptoms (object *disease); |
|
|
265 | object *find_symptom (object *disease); |
|
|
266 | int check_infection (object *disease); |
|
|
267 | int infect_object (object *victim, object *disease, int force); |
265 | int infect_object (object *victim, object *disease, int force); |
268 | int do_symptoms (object *disease); |
|
|
269 | int grant_immunity (object *disease); |
|
|
270 | int move_symptom (object *symptom); |
266 | int move_symptom (object *symptom); |
271 | int check_physically_infect (object *victim, object *hitter); |
267 | int check_physically_infect (object *victim, object *hitter); |
272 | object *find_disease (object *victim); |
|
|
273 | int cure_disease (object *sufferer, object *caster, object *spell); |
268 | int cure_disease (object *sufferer, object *caster, object *spell); |
274 | int reduce_symptoms (object *sufferer, int reduction); |
|
|
275 | |
269 | |
276 | /* egoitem.c */ |
270 | /* egoitem.c */ |
277 | int create_artifact (object *op, const char *artifactname); |
271 | int create_artifact (object *op, const char *artifactname); |
278 | int apply_power_crystal (object *op, object *crystal); |
272 | int apply_power_crystal (object *op, object *crystal); |
279 | |
273 | |
… | |
… | |
283 | void display_high_score (object *op, int max, const char *match); |
277 | void display_high_score (object *op, int max, const char *match); |
284 | |
278 | |
285 | /* gods.c */ |
279 | /* gods.c */ |
286 | int lookup_god_by_name (const char *name); |
280 | int lookup_god_by_name (const char *name); |
287 | object *find_god (const char *name); |
281 | object *find_god (const char *name); |
288 | const char *determine_god (object *op); |
282 | shstr_tmp determine_god (object *op); |
289 | void pray_at_altar (object *pl, object *altar, object *skill); |
283 | void pray_at_altar (object *pl, object *altar, object *skill); |
290 | void become_follower (object *op, object *new_god); |
284 | void become_follower (object *op, object *new_god); |
291 | 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); |
292 | void stop_using_item (object *op, int type, int number); |
286 | void stop_using_item (object *op, int type, int number); |
293 | void update_priest_flag (object *god, object *exp_ob, uint32 flag); |
287 | void update_priest_flag (object *god, object *exp_ob, uint32 flag); |
294 | archetype *determine_holy_arch (object *god, const char *type); |
288 | archetype *determine_holy_arch (object *god, const char *type); |
295 | void god_intervention (object *op, object *god, object *skill); |
289 | void god_intervention (object *op, object *god, object *skill); |
296 | int god_examines_priest (object *op, object *god); |
290 | int god_examines_priest (object *op, object *god); |
297 | int god_examines_item (object *god, object *item); |
291 | int god_examines_item (object *god, object *item); |
298 | int get_god (object *priest); |
292 | int get_god (object *priest); |
299 | const char *get_god_for_race (const char *race); |
293 | shstr_tmp get_god_for_race (const char *race); |
300 | int tailor_god_spell (object *spellop, object *caster); |
294 | int tailor_god_spell (object *spellop, object *caster); |
301 | |
295 | |
302 | /* init.c */ |
296 | /* init.c */ |
303 | void load_settings (void); |
297 | void load_settings (void); |
304 | void load_materials (void); |
298 | void load_materials (void); |
… | |
… | |
401 | void move_golem (object *op); |
395 | void move_golem (object *op); |
402 | void control_golem (object *op, int dir); |
396 | void control_golem (object *op, int dir); |
403 | int summon_golem (object *op, object *caster, int dir, object *spob); |
397 | int summon_golem (object *op, object *caster, int dir, object *spob); |
404 | object *choose_cult_monster (object *pl, object *god, int summon_level); |
398 | object *choose_cult_monster (object *pl, object *god, int summon_level); |
405 | 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); |
406 | object *get_real_owner (object *ob); |
|
|
407 | int should_arena_attack (object *pet, object *owner, object *target); |
400 | int should_arena_attack (object *pet, object *owner, object *target); |
408 | |
401 | |
409 | /* player.c */ |
402 | /* player.c */ |
410 | player *find_player (const char *plname); |
403 | player *find_player (const char *plname); |
411 | player *find_player_partial_name (const char *plname); |
404 | player *find_player_partial_name (const char *plname); |
… | |
… | |
587 | /* spell_util.c */ |
580 | /* spell_util.c */ |
588 | object *find_random_spell_in_ob (object *ob, const char *skill); |
581 | object *find_random_spell_in_ob (object *ob, const char *skill); |
589 | void set_spell_skill (object *op, object *caster, object *spob, object *dest); |
582 | void set_spell_skill (object *op, object *caster, object *spob, object *dest); |
590 | void spell_effect (object *spob, int x, int y, maptile *map, object *originator); |
583 | void spell_effect (object *spob, int x, int y, maptile *map, object *originator); |
591 | int min_casting_level (object *caster, object *spell); |
584 | int min_casting_level (object *caster, object *spell); |
592 | int caster_level (object *caster, object *spell); |
585 | int casting_level (object *caster, object *spell); |
593 | sint16 SP_level_spellpoint_cost (object *caster, object *spell, int flags); |
586 | sint16 SP_level_spellpoint_cost (object *caster, object *spell, int flags); |
594 | int SP_level_dam_adjust (object *caster, object *spob); |
587 | int SP_level_dam_adjust (object *caster, object *spob); |
595 | int SP_level_duration_adjust (object *caster, object *spob); |
588 | int SP_level_duration_adjust (object *caster, object *spob); |
596 | int SP_level_range_adjust (object *caster, object *spob); |
589 | int SP_level_range_adjust (object *caster, object *spob); |
597 | object *check_spell_known (object *op, const char *name); |
590 | object *check_spell_known (object *op, const char *name); |