ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/sproto.h
(Generate patch)

Comparing deliantra/server/include/sproto.h (file contents):
Revision 1.119 by root, Sat Apr 3 22:30:21 2010 UTC vs.
Revision 1.120 by root, Sun Apr 4 02:51:56 2010 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines