Difference for server/skill_util.c from version 1.64 to 1.65


version 1.64 version 1.65
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skill_util_c =   * static char *rcsid_skill_util_c =
  *   "$Id: skill_util.c,v 1.64 2006/03/07 18:46:26 cavesomething Exp $";   *   "$Id: skill_util.c,v 1.65 2006/05/05 09:26:35 ryo_saeba Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 52
 
Line 52
 #include <living.h>     /* for defs of STR,CON,DEX,etc. -b.t.*/  #include <living.h>     /* for defs of STR,CON,DEX,etc. -b.t.*/
 #include <spells.h>  #include <spells.h>
   
   static int attack_hth(object *pl, int dir, const char *string, object *skill);
   static int attack_melee_weapon(object *op, int dir, const char *string, object *skill);
   
 const char *skill_names[NUM_SKILLS];  const char *skill_names[NUM_SKILLS];
   
 /* init_skills basically just sets up the skill_names table  /* init_skills basically just sets up the skill_names table
Line 992
 
Line 995
  * function skill_attack() we actually attack.   * function skill_attack() we actually attack.
  */   */
   
 int attack_hth(object *pl, int dir, const char *string, object *skill) {  static int attack_hth(object *pl, int dir, const char *string, object *skill) {
     object *enemy=NULL,*weapon;      object *enemy=NULL,*weapon;
   
     if(QUERY_FLAG(pl, FLAG_READY_WEAPON))      if(QUERY_FLAG(pl, FLAG_READY_WEAPON))
Line 1022
 
Line 1025
  * weapon type.   * weapon type.
  */   */
   
 int attack_melee_weapon(object *op, int dir, const char *string, object *skill) {  static int attack_melee_weapon(object *op, int dir, const char *string, object *skill) {
   
     if(!QUERY_FLAG(op, FLAG_READY_WEAPON)) {      if(!QUERY_FLAG(op, FLAG_READY_WEAPON)) {
  if(op->type==PLAYER)   if(op->type==PLAYER)


Legend:
line(s) removed in v.1.64 
line(s) changed
 line(s) added in v.1.65

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:45