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.60 by root, Sat Apr 28 05:55:55 2007 UTC vs.
Revision 1.66 by root, Fri May 18 20:45:37 2007 UTC

1// server/c_party.C
2int same_party (partylist *a, partylist *b);
3
4/* alchemy.c */ 1/* alchemy.c */
5int need_identify (const object *obj); 2int need_identify (const object *obj);
6int apply_shop_mat (object *shop_mat, object *op); 3int apply_shop_mat (object *shop_mat, object *op);
7const char *cost_string_from_value (sint64 cost, int approx); 4const char *cost_string_from_value (sint64 cost, int approx);
8void pay_player (object *pl, sint64 amount); 5void pay_player (object *pl, sint64 amount);
39void apply_poison (object *op, object *tmp); 36void apply_poison (object *op, object *tmp);
40int is_legal_2ways_exit (object *op, object *exit); 37int is_legal_2ways_exit (object *op, object *exit);
41int manual_apply (object *op, object *tmp, int aflag); 38int manual_apply (object *op, object *tmp, int aflag);
42int player_apply (object *pl, object *op, int aflag, int quiet); 39int player_apply (object *pl, object *op, int aflag, int quiet);
43void player_apply_below (object *pl); 40void player_apply_below (object *pl);
44object *get_item_from_body_location (object *start, int loc);
45int unapply_for_ob (object *who, object *op, int aflags); 41int unapply_for_ob (object *who, object *op, int aflags);
46int can_apply_object (object *who, object *op); 42int can_apply_object (object *who, object *op);
47int apply_special (object *who, object *op, int aflags); 43int apply_special (object *who, object *op, int aflags);
48int monster_apply_special (object *who, object *op, int aflags); 44int monster_apply_special (object *who, object *op, int aflags);
49int auto_apply (object *op); 45int auto_apply (object *op);
179void set_pickup_mode (object *op, int i); 175void set_pickup_mode (object *op, int i);
180int command_search_items (object *op, char *params); 176int command_search_items (object *op, char *params);
181int command_rename_item (object *op, char *params); 177int command_rename_item (object *op, char *params);
182 178
183/* c_party.c */ 179/* c_party.c */
184int same_party (partylist *a, partylist *b);
185partylist *get_firstparty (void); 180partylist *get_firstparty (void);
186void remove_party (partylist *target_party); 181void remove_party (partylist *target_party);
187void obsolete_parties (void); 182void obsolete_parties (void);
188void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp); 183void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp);
189int confirm_party_password (object *op); 184int confirm_party_password (object *op);
463object *find_better_arrow (object *op, object *target, const char *type, int *better); 458object *find_better_arrow (object *op, object *target, const char *type, int *better);
464object *pick_arrow_target (object *op, const char *type, int dir); 459object *pick_arrow_target (object *op, const char *type, int dir);
465int fire_bow (object *op, object *part, object *arrow, int dir, int wc_mod, sint16 sx, sint16 sy); 460int fire_bow (object *op, object *part, object *arrow, int dir, int wc_mod, sint16 sx, sint16 sy);
466int player_fire_bow (object *op, int dir); 461int player_fire_bow (object *op, int dir);
467void fire_misc_object (object *op, int dir); 462void fire_misc_object (object *op, int dir);
468void fire (object *op, int dir); 463bool fire (object *op, int dir);
469object *find_key (object *pl, object *container, object *door); 464object *find_key (object *pl, object *container, object *door);
470void move_player_attack (object *op, int dir); 465bool move_player_attack (object *op, int dir);
471int move_player (object *op, int dir); 466bool move_player (object *op, int dir);
472int handle_newcs_player (object *op); 467bool handle_newcs_player (object *op);
473int save_life (object *op); 468int save_life (object *op);
474void remove_unpaid_objects (object *op, object *env); 469void remove_unpaid_objects (object *op, object *env);
475char *gravestone_text (object *op); 470char *gravestone_text (object *op);
476void do_some_living (object *op); 471void do_some_living (object *op);
477void kill_player (object *op); 472void kill_player (object *op);
623int skill_throw (object *op, object *part, int dir, const char *params, object *skill); 618int skill_throw (object *op, object *part, int dir, const char *params, object *skill);
624 619
625/* skill_util.c */ 620/* skill_util.c */
626void init_skills (void); 621void init_skills (void);
627void link_player_skills (object *op); 622void link_player_skills (object *op);
628object *find_skill_by_name (object *who, const char *name);
629object *find_skill_by_number (object *who, int skillno);
630int change_skill (object *who, object *new_skill, int flag);
631void clear_skill (object *who);
632int do_skill (object *op, object *part, object *skill, int dir, const char *string); 623int do_skill (object *op, object *part, object *skill, int dir, const char *string);
633int calc_skill_exp (object *who, object *op, object *skill); 624int calc_skill_exp (object *who, object *op, object *skill);
634int learn_skill (object *pl, object *scroll); 625int learn_skill (object *pl, object *scroll);
635void show_skills (object *op, const char *search); 626void show_skills (object *op, const char *search);
636int use_skill (object *op, const char *string); 627int use_skill (object *op, const char *string);
770void move_firewall (object *op); 761void move_firewall (object *op);
771void move_player_mover (object *op); 762void move_player_mover (object *op);
772void move_duplicator (object *op); 763void move_duplicator (object *op);
773void move_creator (object *creator); 764void move_creator (object *creator);
774void move_marker (object *op); 765void move_marker (object *op);
775int process_object (object *op); 766void process_object (object *op);
776 767
777/* timers.c */ 768/* timers.c */
778void cftimer_process_timers (void); 769void cftimer_process_timers (void);
779void cftimer_process_event (object *ob); 770void cftimer_process_event (object *ob);
780int cftimer_create (int id, long delay, object *ob, int mode); 771int cftimer_create (int id, long delay, object *ob, int mode);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines