Complete.Org: Mailing Lists: Archives: freeciv-dev: December 1999:
[Freeciv-Dev] Mapgen, Patch and Questions
Home

[Freeciv-Dev] Mapgen, Patch and Questions

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Mapgen, Patch and Questions
From: iquin@xxxxxxxxxxxxxxxx
Date: Thu, 30 Dec 1999 20:17:53 -0500 (EST)

Hello List,

Below is a minor fix to mapgen.
Questions:
1. Does changing river option to percentage cause any
   problem? Sometimes mapgen1 fails with river=1000,
   specials=1000 and huts=500, xsize=40, ysize=25.
2. Should original mapgen2 be restored? (the mapgen
   with no small islands)


Regards,
I.Q.


--- -   Fri Dec 31 09:09:00 1999
+++ server/mapgen.c     Fri Dec 31 09:08:57 1999
@@ -1212,7 +1212,7 @@
     if(totalmass>3000)
       freelog(LOG_NORMAL,"high landmass - this may take a few seconds");
 
-    i = map.riverlength + map.mountains
+    i = (map.riverlength / 10) + map.mountains
                + map.deserts + map.forestsize + map.swampsize;
     i = i <= 90 ? 100 : i * 11 / 10;
     tilefactor = totalmass / i;


---------------------------------------------------------
Get free personalized email at http://geocities.iname.com

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Mapgen, Patch and Questions, iquin <=