Difference for common/map.c from version 1.11 to 1.12


version 1.11 version 1.12
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_map_c =   * static char *rcsid_map_c =
  *   "$Id: map.c,v 1.11 2001/02/23 06:06:35 mwedel Exp $";   *   "$Id: map.c,v 1.12 2001/04/06 00:44:33 michtoen Exp $";
  */   */
   
 /*  /*
Line 31
 
Line 31
 #include <funcpoint.h>  #include <funcpoint.h>
   
 #include <loader.h>  #include <loader.h>
   #ifndef WIN32 // ---win32 exclude header
 #include <unistd.h>  #include <unistd.h>
   #endif // win32
   
 extern int nrofallocobjects,nroffreeobjects;  extern int nrofallocobjects,nroffreeobjects;
   
Line 161
 
Line 162
   
 int check_path (char *name, int prepend_dir)  int check_path (char *name, int prepend_dir)
 {  {
   #ifdef WIN32 // ***win32: check this sucker in windows style.
    return(_access(name,0));
   #else
     char buf[MAX_BUF], *endbuf;      char buf[MAX_BUF], *endbuf;
     struct stat statbuf;      struct stat statbuf;
     int mode = 0, i;      int mode = 0, i;
Line 197
 
Line 201
  mode |= 2;   mode |= 2;
          
     return (mode);      return (mode);
   #endif
 }  }
   
 void dump_map_lights(mapstruct *m) {  void dump_map_lights(mapstruct *m) {


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 17:14