Difference for include/define.h from version 1.37 to 1.38


version 1.37 version 1.38
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_define_h =   * static char *rcsid_define_h =
  *   "$Id: define.h,v 1.37 2001/09/26 21:40:38 garbled Exp $";   *   "$Id: define.h,v 1.38 2001/10/07 07:12:39 garbled Exp $";
  */   */
   
 /*  /*
Line 372
 
Line 372
 #define QUERY_FLAG(xyz, p) \  #define QUERY_FLAG(xyz, p) \
  ((xyz)->flags[p/32] & (1U << (p % 32)))   ((xyz)->flags[p/32] & (1U << (p % 32)))
   
   /* convenience macros to determine what kind of things we are dealing with */
   
   #define IS_LIVE(op) \
    (op->type == PLAYER || QUERY_FLAG(op, FLAG_MONSTER) || \
    (QUERY_FLAG(op, FLAG_ALIVE) && !QUERY_FLAG(op, FLAG_GENERATOR) && \
    !op->type == DOOR))
   
   #define IS_ARROW(op) \
    (op->type==ARROW || op->type==MMISSILE || op->type==BULLET)
   
   /* the flags */
   
 #define FLAG_ALIVE 0 /* Object can fight (or be fought) */  #define FLAG_ALIVE 0 /* Object can fight (or be fought) */
 #define FLAG_WIZ 1 /* Object has special privilegies */  #define FLAG_WIZ 1 /* Object has special privilegies */


Legend:
line(s) removed in v.1.37 
line(s) changed
 line(s) added in v.1.38

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