Difference for server/weather.c from version 1.45 to 1.46


version 1.45 version 1.46
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_weather_c =   * static char *rcsid_weather_c =
  *   "$Id: weather.c,v 1.45 2005/11/27 14:19:13 ryo_saeba Exp $";   *   "$Id: weather.c,v 1.46 2006/06/05 06:28:57 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
   
       Copyright (C) 2006 Mark Wedel & Crossfire Development Team
     Copyright (C) 2002 Tim Rightnour      Copyright (C) 2002 Tim Rightnour
     Copyright (C) 2002 Mark Wedel & Crossfire Development Team  
     Copyright (C) 1992 Frank Tore Johansen      Copyright (C) 1992 Frank Tore Johansen
   
     This program is free software; you can redistribute it and/or modify      This program is free software; you can redistribute it and/or modify
Line 72
 
Line 72
 static void singing_in_the_rain(mapstruct *m, int wx, int wy);  static void singing_in_the_rain(mapstruct *m, int wx, int wy);
 static void plant_a_garden(mapstruct *m, int wx, int wy);  static void plant_a_garden(mapstruct *m, int wx, int wy);
 static void change_the_world(mapstruct *m, int wx, int wy);  static void change_the_world(mapstruct *m, int wx, int wy);
 static void feather_map(mapstruct *m, int wx, int wy);  
 static const char *weathermap_to_worldmap_corner(int wx, int wy, int *x, int *y, int dir);  static const char *weathermap_to_worldmap_corner(int wx, int wy, int *x, int *y, int dir);
 static int polar_distance(int x, int y, int equator);  static int polar_distance(int x, int y, int equator);
 static void update_humid(void);  static void update_humid(void);
Line 2178
 
Line 2177
 }  }
   
   
   #if 0
   /* feather_map is no longer used - should perhaps be removed.
    * MSW 2006-06-02
    */
   
 /*  /*
  * Reduce the blockiness of the maps. m is the map we are currently processing.   * Reduce the blockiness of the maps. m is the map we are currently processing.
  * wx and wy are   * wx and wy are
Line 2274
 
Line 2278
  }   }
     }      }
 }  }
   #endif
   
   
 /* provide wx and wy. Will fill in with weathermap coordinates.  Requires  /* provide wx and wy. Will fill in with weathermap coordinates.  Requires
Line 2291
 
Line 2296
     spwty = (settings.worldmaptilesy * settings.worldmaptilesizey) / WEATHERMAPTILESY;      spwty = (settings.worldmaptilesy * settings.worldmaptilesizey) / WEATHERMAPTILESY;
   
     while (*filename == '/')      while (*filename == '/')
  *filename++;   filename++;
   
     fx = MAP_WORLDPARTX(m);      fx = MAP_WORLDPARTX(m);
     fy = MAP_WORLDPARTY(m);      fy = MAP_WORLDPARTY(m);


Legend:
line(s) removed in v.1.45 
line(s) changed
 line(s) added in v.1.46

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