Difference for include/map.h from version 1.29 to 1.30


version 1.29 version 1.30
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_define_h =   * static char *rcsid_define_h =
  *   "$Id: map.h,v 1.29 2005/08/12 13:46:34 ryo_saeba Exp $";   *   "$Id: map.h,v 1.30 2005/08/31 20:07:22 tchize Exp $";
  */   */
   
 /*  /*
Line 109
 
Line 109
 #define SET_MAP_LIGHT(M,X,Y,L) ( (M)->spaces[(X) + (M)->width * (Y)].light = L )  #define SET_MAP_LIGHT(M,X,Y,L) ( (M)->spaces[(X) + (M)->width * (Y)].light = L )
   
 #define GET_MAP_OB(M,X,Y) ( (M)->spaces[(X) + (M)->width * (Y)].bottom )  #define GET_MAP_OB(M,X,Y) ( (M)->spaces[(X) + (M)->width * (Y)].bottom )
   #define GET_MAP_TOP(M,X,Y) ( (M)->spaces[(X) + (M)->width * (Y)].top )
 /* legacy */  /* legacy */
 #define get_map_ob GET_MAP_OB  #define get_map_ob GET_MAP_OB
   
 #define SET_MAP_OB(M,X,Y,tmp) ( (M)->spaces[(X) + (M)->width * (Y)].bottom = (tmp) )  #define SET_MAP_OB(M,X,Y,tmp) ( (M)->spaces[(X) + (M)->width * (Y)].bottom = (tmp) )
   #define SET_MAP_TOP(M,X,Y,tmp) ( (M)->spaces[(X) + (M)->width * (Y)].top = (tmp) )
 #define set_map_ob SET_MAP_OB  #define set_map_ob SET_MAP_OB
   
 #define SET_MAP_FACE(M,X,Y,C,L) ( (M)->spaces[(X) + (M)->width * (Y)].faces[L] = C )  #define SET_MAP_FACE(M,X,Y,C,L) ( (M)->spaces[(X) + (M)->width * (Y)].faces[L] = C )
Line 162
 
Line 164
   
 typedef struct MapSpace {  typedef struct MapSpace {
     object *bottom; /* lowest object on this space */      object *bottom; /* lowest object on this space */
       object *top; /* Highest object on this space */
     New_Face *faces[MAP_LAYERS]; /* faces for the 3 layers */      New_Face *faces[MAP_LAYERS]; /* faces for the 3 layers */
     object *faces_obj[MAP_LAYERS]; /* face objects for the 3 layers */      object *faces_obj[MAP_LAYERS]; /* face objects for the 3 layers */
     uint8 flags; /* flags about this space (see the P_ values above) */      uint8 flags; /* flags about this space (see the P_ values above) */


Legend:
line(s) removed in v.1.29 
line(s) changed
 line(s) added in v.1.30

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