Difference for common/map.c from version 1.59 to 1.60


version 1.59 version 1.60
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_map_c =   * static char *rcsid_map_c =
  *   "$Id: map.c,v 1.59 2004/01/20 14:52:52 tchize Exp $";   *   "$Id: map.c,v 1.60 2004/02/11 08:09:22 mwedel Exp $";
  */   */
   
 /*  /*
Line 227
 
Line 227
  */   */
 int get_map_flags(mapstruct *oldmap, mapstruct **newmap, sint16 x, sint16 y, sint16 *nx, sint16 *ny)  int get_map_flags(mapstruct *oldmap, mapstruct **newmap, sint16 x, sint16 y, sint16 *nx, sint16 *ny)
 {  {
     int newx, newy, retval=0;      sint16 newx, newy;
       int retval=0;
     mapstruct *mp;      mapstruct *mp;
   
     if (out_of_map(oldmap, x, y)) return P_OUT_OF_MAP;      if (out_of_map(oldmap, x, y)) return P_OUT_OF_MAP;
Line 1748
 
Line 1749
  * Using this is more efficient of calling out_of_map   * Using this is more efficient of calling out_of_map
  * and then figuring out what the real map is   * and then figuring out what the real map is
  */   */
 mapstruct *get_map_from_coord(mapstruct *m, int *x, int *y)  mapstruct *get_map_from_coord(mapstruct *m, sint16 *x, sint16 *y)
 {  {
   
     /* Simple case - coordinates are within this local      /* Simple case - coordinates are within this local


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

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