Difference for include/sproto.h from version 1.58 to 1.59


version 1.58 version 1.59
Line 11
 
Line 11
 void remove_contents(object *first_ob, object *save_item);  void remove_contents(object *first_ob, object *save_item);
 int calc_alch_danger(object *caster, object *cauldron);  int calc_alch_danger(object *caster, object *cauldron);
 /* apply.c */  /* apply.c */
 void draw_find(object *op, object *find);  
 int apply_potion(object *op, object *tmp);  int apply_potion(object *op, object *tmp);
 int check_item(object *op, char *item);  int check_item(object *op, char *item);
 void eat_item(object *op, char *item);  void eat_item(object *op, char *item);
Line 24
 
Line 23
 int convert_item(object *item, object *converter);  int convert_item(object *item, object *converter);
 int apply_container(object *op, object *sack);  int apply_container(object *op, object *sack);
 int esrv_apply_container(object *op, object *sack);  int esrv_apply_container(object *op, object *sack);
 char *gravestone_text(object *op);  
 void move_apply(object *trap, object *victim, object *originator);  void move_apply(object *trap, object *victim, object *originator);
 void do_learn_spell(object *op, int spell, int special_prayer);  void do_learn_spell(object *op, int spell, int special_prayer);
 void do_forget_spell(object *op, int spell);  void do_forget_spell(object *op, int spell);
   void apply_scroll(object *op, object *tmp, int dir);
 int dragon_eat_flesh(object *op, object *meal);  int dragon_eat_flesh(object *op, object *meal);
 void apply_poison(object *op, object *tmp);  void apply_poison(object *op, object *tmp);
 int is_legal_2ways_exit(object *op, object *exit);  int is_legal_2ways_exit(object *op, object *exit);
 int manual_apply(object *op, object *tmp, int aflag);  int manual_apply(object *op, object *tmp, int aflag);
 int player_apply(object *pl, object *op, int aflag, int quiet);  int player_apply(object *pl, object *op, int aflag, int quiet);
 void player_apply_below(object *pl);  void player_apply_below(object *pl);
   object *get_item_from_body_location(object *start, int loc);
   int unapply_for_ob(object *who, object *op, int aflags);
   int can_apply_object(object *who, object *op);
 int apply_special(object *who, object *op, int aflags);  int apply_special(object *who, object *op, int aflags);
 int monster_apply_special(object *who, object *op, int aflags);  int monster_apply_special(object *who, object *op, int aflags);
 int auto_apply(object *op);  int auto_apply(object *op);
Line 124
 
Line 126
 int command_think(object *op, char *params);  int command_think(object *op, char *params);
 /* c_misc.c */  /* c_misc.c */
 void map_info(object *op);  void map_info(object *op);
   int command_body(object *op, char *params);
 int command_spell_reset(object *op, char *params);  int command_spell_reset(object *op, char *params);
 int command_motd(object *op, char *params);  int command_motd(object *op, char *params);
 int command_bug(object *op, char *params);  int command_bug(object *op, char *params);
Line 157
 
Line 160
 int command_fix_me(object *op, char *params);  int command_fix_me(object *op, char *params);
 int command_players(object *op, char *paramss);  int command_players(object *op, char *paramss);
 int command_logs(object *op, char *params);  int command_logs(object *op, char *params);
   int command_applymode(object *op, char *params);
 int command_usekeys(object *op, char *params);  int command_usekeys(object *op, char *params);
 int command_resistances(object *op, char *params);  int command_resistances(object *op, char *params);
 int command_help(object *op, char *params);  int command_help(object *op, char *params);
Line 208
 
Line 212
 object *find_marked_object(object *op);  object *find_marked_object(object *op);
 int command_mark(object *op, char *params);  int command_mark(object *op, char *params);
 void examine_monster(object *op, object *tmp);  void examine_monster(object *op, object *tmp);
 char *long_desc(object *tmp);  char *long_desc(object *tmp, object *pl);
 void examine(object *op, object *tmp);  void examine(object *op, object *tmp);
 void inventory(object *op, object *inv);  void inventory(object *op, object *inv);
 int command_pickup(object *op, char *params);  int command_pickup(object *op, char *params);
Line 359
 
Line 363
 /* login.c */  /* login.c */
 void emergency_save(int flag);  void emergency_save(int flag);
 void delete_character(char *name, int new);  void delete_character(char *name, int new);
 void unlock_player(char *name);  
 int verify_player(char *name, char *password);  int verify_player(char *name, char *password);
 int check_name(player *me, char *name);  int check_name(player *me, char *name);
 int create_savedir_if_needed(char *savedir);  int create_savedir_if_needed(char *savedir);
Line 398
 
Line 401
 int move_randomly(object *op);  int move_randomly(object *op);
 int move_monster(object *op);  int move_monster(object *op);
 int can_hit(object *ob1, object *ob2, rv_vector *rv);  int can_hit(object *ob1, object *ob2, rv_vector *rv);
 int can_apply(object *who, object *item);  
 object *monster_choose_random_spell(object *monster);  object *monster_choose_random_spell(object *monster);
 int monster_cast_spell(object *head, object *part, object *pl, int dir, rv_vector *rv);  int monster_cast_spell(object *head, object *part, object *pl, int dir, rv_vector *rv);
   int monster_use_scroll(object *head, object *part, object *pl, int dir, rv_vector *rv);
 int monster_use_skill(object *head, object *part, object *pl, int dir);  int monster_use_skill(object *head, object *part, object *pl, int dir);
 int monster_use_wand(object *head, object *part, object *pl, int dir);  int monster_use_range(object *head, object *part, object *pl, int dir);
 int monster_use_rod(object *head, object *part, object *pl, int dir);  
 int monster_use_horn(object *head, object *part, object *pl, int dir);  
 int monster_use_bow(object *head, object *part, object *pl, int dir);  int monster_use_bow(object *head, object *part, object *pl, int dir);
 int check_good_weapon(object *who, object *item);  int check_good_weapon(object *who, object *item);
 int check_good_armour(object *who, object *item);  int check_good_armour(object *who, object *item);
Line 475
 
Line 476
 void flee_player(object *op);  void flee_player(object *op);
 int check_pick(object *op);  int check_pick(object *op);
 object *find_arrow(object *op, char *type);  object *find_arrow(object *op, char *type);
   int fire_bow(object *op, object *part, int dir);
   void fire_misc_object(object *op, int dir);
 void fire(object *op, int dir);  void fire(object *op, int dir);
 object *find_key(object *pl, object *container, object *door);  object *find_key(object *pl, object *container, object *door);
 void move_player_attack(object *op, int dir);  void move_player_attack(object *op, int dir);
Line 482
 
Line 485
 int handle_newcs_player(object *op);  int handle_newcs_player(object *op);
 int save_life(object *op);  int save_life(object *op);
 void remove_unpaid_objects(object *op, object *env);  void remove_unpaid_objects(object *op, object *env);
   char *gravestone_text(object *op);
 void do_some_living(object *op);  void do_some_living(object *op);
 void kill_player(object *op);  void kill_player(object *op);
 void loot_object(object *op);  void loot_object(object *op);


Legend:
line(s) removed in v.1.58 
line(s) changed
 line(s) added in v.1.59

File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:31