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.118 by root, Sat Apr 3 02:46:19 2010 UTC vs.
Revision 1.123 by root, Tue Apr 6 03:53:29 2010 UTC

37void move_apply (object *trap, object *victim, object *originator); 37void move_apply (object *trap, object *victim, object *originator);
38void do_learn_spell (object *op, object *spell, int special_prayer); 38void do_learn_spell (object *op, object *spell, int special_prayer);
39void do_forget_spell (object *op, const char *spell); 39void do_forget_spell (object *op, const char *spell);
40void apply_scroll (object *op, object *tmp, int dir); 40void apply_scroll (object *op, object *tmp, int dir);
41void apply_poison (object *op, object *tmp); 41void apply_poison (object *op, object *tmp);
42bool player_apply (object *pl, object *op, int aflag);
43void player_apply_below (object *pl); 42void player_apply_below (object *pl);
44int can_apply_object (object *who, object *op); 43int can_apply_object (object *who, object *op);
45int apply_special (object *who, object *op, int aflags);
46int auto_apply (object *op); 44int auto_apply (object *op);
47void fix_auto_apply (maptile *m); 45void fix_auto_apply (maptile *m);
48void eat_special_food (object *who, object *food); 46void eat_special_food (object *who, object *food);
49void apply_changes_to_player (object *pl, object *change); 47void apply_changes_to_player (object *pl, object *change);
50void handle_apply_yield (object *op); 48void handle_apply_yield (object *op);
113int command_south (object *op, char *params); 111int command_south (object *op, char *params);
114int command_southeast (object *op, char *params); 112int command_southeast (object *op, char *params);
115int command_southwest (object *op, char *params); 113int command_southwest (object *op, char *params);
116int command_west (object *op, char *params); 114int command_west (object *op, char *params);
117int command_stay (object *op, char *params); 115int command_stay (object *op, char *params);
116int command_run (object *op, char *params);
117int command_run_stop (object *op, char *params);
118int command_fire (object *op, char *params);
119int command_fire_stop (object *op, char *params);
118 120
119/* c_new.c */ 121/* c_new.c */
120void execute_newserver_command (object *pl, char *command); 122void execute_newserver_command (object *pl, char *command);
121 123
122/* c_object.c */ 124/* c_object.c */
146void set_pickup_mode (object *op, int i); 148void set_pickup_mode (object *op, int i);
147int command_search_items (object *op, char *params); 149int command_search_items (object *op, char *params);
148int command_rename_item (object *op, char *params); 150int command_rename_item (object *op, char *params);
149int command_unlock (object *op, char *params); 151int command_unlock (object *op, char *params);
150int command_lock (object *op, char *params); 152int command_lock (object *op, char *params);
153int command_mark (object *op, char *params);
151 154
152/* c_party.c */ 155/* c_party.c */
153partylist *get_firstparty (); 156partylist *get_firstparty ();
154void obsolete_parties (); 157void obsolete_parties ();
155void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp); 158void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp);
312int key_roll_stat (object *op, char key); 315int key_roll_stat (object *op, char key);
313int key_change_class (object *op, char key); 316int key_change_class (object *op, char key);
314int key_confirm_quit (object *op, char key); 317int key_confirm_quit (object *op, char key);
315int check_pick (object *op); 318int check_pick (object *op);
316int fire_bow (object *op, object *part, object *arrow, int dir, int wc_mod, sint16 sx, sint16 sy); 319int fire_bow (object *op, object *part, object *arrow, int dir, int wc_mod, sint16 sx, sint16 sy);
317bool fire (object *op, int dir); 320bool fire (object *who, int dir);
318object *find_key (object *pl, object *container, object *door); 321object *find_key (object *pl, object *container, object *door);
319bool move_player_attack (object *op, int dir); 322bool move_player_attack (object *op, int dir);
320bool move_player (object *op, int dir); 323bool move_player (object *op, int dir);
321bool handle_newcs_player (object *op); 324bool handle_newcs_player (object *op);
322void do_some_living (object *op); 325void do_some_living (object *op);
346int trap_disarm (object *disarmer, object *trap, int risk, object *skill); 349int trap_disarm (object *disarmer, object *trap, int risk, object *skill);
347void trap_adjust (object *trap, int difficulty); 350void trap_adjust (object *trap, int difficulty);
348 351
349/* shop.c */ 352/* shop.c */
350int get_payment (object *pl); 353int 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); 354sint64 query_money (const object *op);
354int pay_for_amount (sint64 to_pay, object *pl); 355int pay_for_amount (sint64 to_pay, object *pl);
355int pay_for_item (object *op, object *pl); 356int pay_for_item (object *op, object *pl);
356int can_pay (object *pl); 357int can_pay (object *pl);
357bool sell_item (object *op, object *pl); 358bool sell_item (object *op, object *pl);
358double shopkeeper_approval (const maptile *map, const object *player); 359double shopkeeper_approval (const maptile *map, const object *player);
359int describe_shop (const object *op); 360int describe_shop (const object *op);
360void shop_listing (object *sign, object *op); 361void shop_listing (object *sign, object *op);
361bool is_in_shop (object *o);
362bool is_in_shop (maptile *map, int x, int y); 362bool is_in_shop (maptile *map, int x, int y);
363 363
364/* skills.c */ 364/* skills.c */
365int steal (object *op, int dir, object *skill); 365int steal (object *op, int dir, object *skill);
366int pick_lock (object *pl, int dir, object *skill); 366int pick_lock (object *pl, int dir, object *skill);
373int remove_trap (object *op, int dir, object *skill); 373int remove_trap (object *op, int dir, object *skill);
374int pray (object *pl, object *skill); 374int pray (object *pl, object *skill);
375void meditate (object *pl, object *skill); 375void meditate (object *pl, object *skill);
376int write_on_item (object *pl, const char *params, object *skill); 376int write_on_item (object *pl, const char *params, object *skill);
377int skill_throw (object *op, object *part, int dir, const char *params, object *skill); 377int skill_throw (object *op, object *part, int dir, const char *params, object *skill);
378bool skill_mining (object *who, object *tool, object *skill, int dir, const char *string);
379bool skill_fishing (object *who, object *tool, object *skill, int dir, const char *string);
378 380
379/* skill_util.c */ 381/* skill_util.c */
380void init_skills (); 382void init_skills ();
381void link_player_skills (object *op); 383void link_player_skills (object *op);
382int do_skill (object *op, object *part, object *skill, int dir, const char *string); 384int do_skill (object *op, object *part, object *skill, int dir, const char *string);
427int cast_wonder (object *op, object *caster, int dir, object *spell_ob); 429int cast_wonder (object *op, object *caster, int dir, object *spell_ob);
428int perceive_self (object *op); 430int perceive_self (object *op);
429int magic_wall (object *op, object *caster, int dir, object *spell_ob); 431int magic_wall (object *op, object *caster, int dir, object *spell_ob);
430int dimension_door (object *op, object *caster, object *spob, int dir, const char *spellparam); 432int dimension_door (object *op, object *caster, object *spob, int dir, const char *spellparam);
431int cast_heal (object *op, object *caster, object *spell, int dir); 433int cast_heal (object *op, object *caster, object *spell, int dir);
432int change_ability_duration (object *spell, object *caster);
433int cast_change_ability (object *op, object *caster, object *spell_ob, int dir, int silent); 434int cast_change_ability (object *op, object *caster, object *spell_ob, int dir, int silent);
434int cast_bless (object *op, object *caster, object *spell_ob, int dir); 435int cast_bless (object *op, object *caster, object *spell_ob, int dir);
435int alchemy (object *op, object *caster, object *spell_ob); 436int alchemy (object *op, object *caster, object *spell_ob);
436int remove_curse (object *op, object *caster, object *spell); 437int remove_curse (object *op, object *caster, object *spell);
437int cast_identify (object *op, object *caster, object *spell); 438int cast_identify (object *op, object *caster, object *spell);
448 449
449/* spell_util.c */ 450/* spell_util.c */
450object *find_random_spell_in_ob (object *ob, shstr_cmp skill = shstr_cmp ()); 451object *find_random_spell_in_ob (object *ob, shstr_cmp skill = shstr_cmp ());
451void set_spell_skill (object *op, object *caster, object *spob, object *dest); 452void set_spell_skill (object *op, object *caster, object *spob, object *dest);
452void spell_effect (object *spob, int x, int y, maptile *map, object *originator); 453void spell_effect (object *spob, int x, int y, maptile *map, object *originator);
453int min_casting_level (object *caster, object *spell);
454int casting_level (object *caster, object *spell);
455sint16 SP_level_spellpoint_cost (object *caster, object *spell, int flags);
456int SP_level_dam_adjust (object *caster, object *spob);
457int SP_level_duration_adjust (object *caster, object *spob);
458int SP_level_range_adjust (object *caster, object *spob);
459object *check_spell_known (object *op, shstr_cmp name); 454object *check_spell_known (object *op, shstr_cmp name);
460object *lookup_spell_by_name (object *op, const char *spname); 455object *lookup_spell_by_name (object *op, const char *spname);
461int reflwall (maptile *m, int x, int y, object *sp_op); 456int reflwall (maptile *m, int x, int y, object *sp_op);
462int cast_create_obj (object *op, object *caster, object *new_op, int dir); 457int cast_create_obj (object *op, object *caster, object *new_op, int dir);
463int ok_to_put_more (maptile *m, sint16 x, sint16 y, object *op, int immune_stop); 458int 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