Difference for common/map.c from version 1.73 to 1.74


version 1.73 version 1.74
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_map_c =   * static char *rcsid_map_c =
  *   "$Id: map.c,v 1.73 2005/04/14 19:15:27 ryo_saeba Exp $";   *   "$Id: map.c,v 1.74 2005/07/15 13:51:49 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 885
 
Line 885
  delete_map(m);   delete_map(m);
         m = load_original_map(buf, 0);          m = load_original_map(buf, 0);
  if(m==NULL) return NULL;   if(m==NULL) return NULL;
  (*fix_auto_apply_func)(m); /* Chests which open as default */   fix_auto_apply(m); /* Chests which open as default */
  return m;   return m;
     }      }
   
Line 896
 
Line 896
  delete_map(m);   delete_map(m);
         m = load_original_map(buf, 0);          m = load_original_map(buf, 0);
  if(m==NULL) return NULL;   if(m==NULL) return NULL;
  (*fix_auto_apply_func)(m); /* Chests which open as default */   fix_auto_apply(m); /* Chests which open as default */
  return m;   return m;
     }      }
          
Line 1349
 
Line 1349
  if (!(m = load_original_map(name, (flags & MAP_PLAYER_UNIQUE))))   if (!(m = load_original_map(name, (flags & MAP_PLAYER_UNIQUE))))
      return (NULL);       return (NULL);
   
  (*fix_auto_apply_func)(m); /* Chests which open as default */   fix_auto_apply(m); /* Chests which open as default */
   
  /* If a player unique map, no extra unique object file to load.   /* If a player unique map, no extra unique object file to load.
  * if from the editor, likewise.   * if from the editor, likewise.
Line 1391
 
Line 1391
     /* In case other objects press some buttons down */      /* In case other objects press some buttons down */
     update_buttons(m);      update_buttons(m);
     if (m->outdoor)      if (m->outdoor)
  (*set_darkness_map_func)(m);       set_darkness_map(m);
     /* run the weather over this map */      /* run the weather over this map */
     (*weather_effect_func)(name);      weather_effect(name);
     return m;      return m;
 }  }
   
Line 1493
 
Line 1493
   
     /* inform all players on the map */      /* inform all players on the map */
     if (change>0)       if (change>0)
  (info_map_func)(NDI_BLACK, m,"It becomes darker.");       new_info_map(NDI_BLACK, m,"It becomes darker.");
     else      else
  (info_map_func)(NDI_BLACK, m,"It becomes brighter.");       new_info_map(NDI_BLACK, m,"It becomes brighter.");
   
     /* Do extra checking.  since m->darkness is a unsigned value,      /* Do extra checking.  since m->darkness is a unsigned value,
      * we need to be extra careful about negative values.       * we need to be extra careful about negative values.


Legend:
line(s) removed in v.1.73 
line(s) changed
 line(s) added in v.1.74

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