Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2000:
[Freeciv-Dev] Re: mapgen.c
Home

[Freeciv-Dev] Re: mapgen.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: mapgen.c
From: 蔡恆華 <iquin@xxxxxxxxxx>
Date: Thu, 7 Sep 2000 23:58:18 -0400 (EDT)

Sorry for this late reply.
As for generator 2+, the river algorithm is:
1. Pick a random spot which is not ocean.
2. If it is surrounded by 1 or 2 river tiles,
   it has 100% chance of becoming a river tile.
3. If it is surrounded by 1 to 3 ocean tiles,
   it has 1% chance of becoming a river tile.
4. Repeat until there are enough river tiles.
Simple?
Caution: many of the codes in mapgen do not do
         what they are originally meant to do.

Regards,
I.Q.
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup




[Prev in Thread] Current Thread [Next in Thread]