… | |
… | |
346 | int trap_disarm (object *disarmer, object *trap, int risk, object *skill); |
346 | int trap_disarm (object *disarmer, object *trap, int risk, object *skill); |
347 | void trap_adjust (object *trap, int difficulty); |
347 | void trap_adjust (object *trap, int difficulty); |
348 | |
348 | |
349 | /* shop.c */ |
349 | /* shop.c */ |
350 | int get_payment (object *pl); |
350 | int get_payment (object *pl); |
351 | sint64 query_cost (const object *tmp, object *who, int flag); |
|
|
352 | const char *query_cost_string (const object *tmp, object *who, int flag); |
|
|
353 | sint64 query_money (const object *op); |
351 | sint64 query_money (const object *op); |
354 | int pay_for_amount (sint64 to_pay, object *pl); |
352 | int pay_for_amount (sint64 to_pay, object *pl); |
355 | int pay_for_item (object *op, object *pl); |
353 | int pay_for_item (object *op, object *pl); |
356 | int can_pay (object *pl); |
354 | int can_pay (object *pl); |
357 | bool sell_item (object *op, object *pl); |
355 | bool sell_item (object *op, object *pl); |
358 | double shopkeeper_approval (const maptile *map, const object *player); |
356 | double shopkeeper_approval (const maptile *map, const object *player); |
359 | int describe_shop (const object *op); |
357 | int describe_shop (const object *op); |
360 | void shop_listing (object *sign, object *op); |
358 | void shop_listing (object *sign, object *op); |
361 | bool is_in_shop (object *o); |
|
|
362 | bool is_in_shop (maptile *map, int x, int y); |
359 | bool is_in_shop (maptile *map, int x, int y); |
363 | |
360 | |
364 | /* skills.c */ |
361 | /* skills.c */ |
365 | int steal (object *op, int dir, object *skill); |
362 | int steal (object *op, int dir, object *skill); |
366 | int pick_lock (object *pl, int dir, object *skill); |
363 | int pick_lock (object *pl, int dir, object *skill); |
… | |
… | |
429 | int cast_wonder (object *op, object *caster, int dir, object *spell_ob); |
426 | int cast_wonder (object *op, object *caster, int dir, object *spell_ob); |
430 | int perceive_self (object *op); |
427 | int perceive_self (object *op); |
431 | int magic_wall (object *op, object *caster, int dir, object *spell_ob); |
428 | int magic_wall (object *op, object *caster, int dir, object *spell_ob); |
432 | int dimension_door (object *op, object *caster, object *spob, int dir, const char *spellparam); |
429 | int dimension_door (object *op, object *caster, object *spob, int dir, const char *spellparam); |
433 | int cast_heal (object *op, object *caster, object *spell, int dir); |
430 | int cast_heal (object *op, object *caster, object *spell, int dir); |
434 | int change_ability_duration (object *spell, object *caster); |
|
|
435 | int cast_change_ability (object *op, object *caster, object *spell_ob, int dir, int silent); |
431 | int cast_change_ability (object *op, object *caster, object *spell_ob, int dir, int silent); |
436 | int cast_bless (object *op, object *caster, object *spell_ob, int dir); |
432 | int cast_bless (object *op, object *caster, object *spell_ob, int dir); |
437 | int alchemy (object *op, object *caster, object *spell_ob); |
433 | int alchemy (object *op, object *caster, object *spell_ob); |
438 | int remove_curse (object *op, object *caster, object *spell); |
434 | int remove_curse (object *op, object *caster, object *spell); |
439 | int cast_identify (object *op, object *caster, object *spell); |
435 | int cast_identify (object *op, object *caster, object *spell); |
… | |
… | |
450 | |
446 | |
451 | /* spell_util.c */ |
447 | /* spell_util.c */ |
452 | object *find_random_spell_in_ob (object *ob, shstr_cmp skill = shstr_cmp ()); |
448 | object *find_random_spell_in_ob (object *ob, shstr_cmp skill = shstr_cmp ()); |
453 | void set_spell_skill (object *op, object *caster, object *spob, object *dest); |
449 | void set_spell_skill (object *op, object *caster, object *spob, object *dest); |
454 | void spell_effect (object *spob, int x, int y, maptile *map, object *originator); |
450 | void spell_effect (object *spob, int x, int y, maptile *map, object *originator); |
455 | int min_casting_level (object *caster, object *spell); |
|
|
456 | int casting_level (object *caster, object *spell); |
|
|
457 | sint16 SP_level_spellpoint_cost (object *caster, object *spell, int flags); |
|
|
458 | int SP_level_dam_adjust (object *caster, object *spob); |
|
|
459 | int SP_level_duration_adjust (object *caster, object *spob); |
|
|
460 | int SP_level_range_adjust (object *caster, object *spob); |
|
|
461 | object *check_spell_known (object *op, shstr_cmp name); |
451 | object *check_spell_known (object *op, shstr_cmp name); |
462 | object *lookup_spell_by_name (object *op, const char *spname); |
452 | object *lookup_spell_by_name (object *op, const char *spname); |
463 | int reflwall (maptile *m, int x, int y, object *sp_op); |
453 | int reflwall (maptile *m, int x, int y, object *sp_op); |
464 | int cast_create_obj (object *op, object *caster, object *new_op, int dir); |
454 | int cast_create_obj (object *op, object *caster, object *new_op, int dir); |
465 | int ok_to_put_more (maptile *m, sint16 x, sint16 y, object *op, int immune_stop); |
455 | int ok_to_put_more (maptile *m, sint16 x, sint16 y, object *op, int immune_stop); |