Difference for include/attack.h from version 1.11 to 1.12


version 1.11 version 1.12
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_attack_h =   * static char *rcsid_attack_h =
  *   "$Id: attack.h,v 1.11 2003/07/07 18:49:22 tchize Exp $";   *   "$Id: attack.h,v 1.12 2003/09/13 05:01:32 mwedel Exp $";
  */   */
   
 /*  /*
Line 43
 
Line 43
  * the resist array in the object structure.   * the resist array in the object structure.
  */   */
   
 #define NROFATTACKS 25  #define NROFATTACKS 26
 #define NROFATTACKMESS 20  #define NROFATTACKMESS 20
 #define MAXATTACKMESS 20  #define MAXATTACKMESS 20
   
Line 99
 
Line 99
 #define ATNR_BLIND 22  #define ATNR_BLIND 22
 #define ATNR_INTERNAL 23  #define ATNR_INTERNAL 23
 #define ATNR_LIFE_STEALING 24  #define ATNR_LIFE_STEALING 24
   #define ATNR_DISEASE 25
   
 #define AT_PHYSICAL 0x00000001 /*       1 */  #define AT_PHYSICAL 0x00000001 /*       1 */
 #define AT_MAGIC 0x00000002 /*       2 */  #define AT_MAGIC 0x00000002 /*       2 */
Line 124
 
Line 125
 #define AT_HOLYWORD 0x00200000 /* 2097152 race selective attack thomas@astro.psu.edu */   #define AT_HOLYWORD 0x00200000 /* 2097152 race selective attack thomas@astro.psu.edu */
 #define AT_BLIND 0x00400000 /* 4194304 thomas@astro.psu.edu */   #define AT_BLIND 0x00400000 /* 4194304 thomas@astro.psu.edu */
 #define AT_INTERNAL 0x00800000 /* Only used for internal calculations */  #define AT_INTERNAL 0x00800000 /* Only used for internal calculations */
 #define AT_LIFE_STEALING 0x01000000 /* 16777216 dnh@hawthorn.csse.monash.edu.au */  #define AT_LIFE_STEALING \
    0x01000000 /* 16777216 for hp drain */
   #define AT_DISEASE 0x02000000 /* 33554432 disease attacktypes */
   
 /* attacktypes_load is suffixed to resist_ when saving objects.  /* attacktypes_load is suffixed to resist_ when saving objects.
  * (so the line may be 'resist_fire' 20 for example).  These are never   * (so the line may be 'resist_fire' 20 for example).  These are never
Line 163
 
Line 166
 "physical ", "magic ", "fire ", "electricity ", "cold ", "confusion ", "acid ",  "physical ", "magic ", "fire ", "electricity ", "cold ", "confusion ", "acid ",
 "drain ", "weaponmagic ", "ghosthit ", "poison ", "slow ", "paralyze ",  "drain ", "weaponmagic ", "ghosthit ", "poison ", "slow ", "paralyze ",
 "turn_undead ", "fear ", "cancellation ", "deplete ", "death ", "chaos ",  "turn_undead ", "fear ", "cancellation ", "deplete ", "death ", "chaos ",
 "counterspell ", "godpower ", "holyword ", "blind " , "internal ", "life_stealing "  "counterspell ", "godpower ", "holyword ", "blind " , "internal ", "life_stealing ",
   "disease "
 };  };
   
 /* Short description of names of the attacktypes */  /* Short description of names of the attacktypes */
Line 171
 
Line 175
 "physical", "magic", "fire", "electricity", "cold", "confusion", "acid",  "physical", "magic", "fire", "electricity", "cold", "confusion", "acid",
 "drain", "weapon magic", "ghost hit", "poison", "slow", "paralyze",  "drain", "weapon magic", "ghost hit", "poison", "slow", "paralyze",
 "turn undead", "fear", "cancellation", "deplete", "death", "chaos",  "turn undead", "fear", "cancellation", "deplete", "death", "chaos",
 "counterspell", "god power", "holy word", "blind" , "internal", "life stealing"  "counterspell", "god power", "holy word", "blind" , "internal", "life stealing",
   "disease"
 };  };
   
 /* This is the array that is what the player sees. */  /* This is the array that is what the player sees. */
Line 183
 
Line 188
 "resist paralyzation", "resist turn undead", "resist fear",   "resist paralyzation", "resist turn undead", "resist fear",
 "resist cancellation", "resist depletion", "resist death", "resist chaos",  "resist cancellation", "resist depletion", "resist death", "resist chaos",
 "resist counterspell", "resist god power", "resist holy word",  "resist counterspell", "resist god power", "resist holy word",
 "resist blindness" ,  "resist internal", "resist life stealing"  "resist blindness" ,  "resist internal", "resist life stealing",
   "resist diseases"
 };  };
   
 /* These are the descriptions of the resistances displayed when a  /* These are the descriptions of the resistances displayed when a
Line 194
 
Line 200
 "draining", "weapon magic", "ghosts", "poison", "slow", "paralyze",  "draining", "weapon magic", "ghosts", "poison", "slow", "paralyze",
 "turn undead", "fear", "cancellation", "depletion", "death attacks", "chaos",  "turn undead", "fear", "cancellation", "depletion", "death attacks", "chaos",
 "counterspell", "god power", "holy word", "blinding attacks", "internal",  "counterspell", "god power", "holy word", "blinding attacks", "internal",
 "life stealing"  "life stealing", "disease"
 };  };
   
   
Line 205
 
Line 211
 EXTERN int resist_table[] = {ATNR_PHYSICAL, ATNR_MAGIC, ATNR_FIRE,   EXTERN int resist_table[] = {ATNR_PHYSICAL, ATNR_MAGIC, ATNR_FIRE,
     ATNR_ELECTRICITY,ATNR_COLD, ATNR_CONFUSION, ATNR_ACID, ATNR_DRAIN,      ATNR_ELECTRICITY,ATNR_COLD, ATNR_CONFUSION, ATNR_ACID, ATNR_DRAIN,
     ATNR_GHOSTHIT, ATNR_POISON, ATNR_SLOW, ATNR_PARALYZE, ATNR_TURN_UNDEAD,      ATNR_GHOSTHIT, ATNR_POISON, ATNR_SLOW, ATNR_PARALYZE, ATNR_TURN_UNDEAD,
     ATNR_FEAR, ATNR_DEPLETE, ATNR_DEATH, ATNR_HOLYWORD, ATNR_BLIND, ATNR_LIFE_STEALING};      ATNR_FEAR, ATNR_DEPLETE, ATNR_DEATH, ATNR_HOLYWORD, ATNR_BLIND,
       ATNR_LIFE_STEALING, ATNR_DISEASE};
   
 #endif  #endif
   
 #define num_resist_table 19  #define num_resist_table 21
   
 #endif  #endif


Legend:
line(s) removed in v.1.11 
line(s) changed
 line(s) added in v.1.12

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