jdorje: Restructure the autosettler code a little bi...

[email protected]
Newsgroups gmane.games.freeciv.cvs
Message-ID <[email protected]>
This is an automated notification of a change to freeciv cvs, 
on Wed May  4 01:10:07 PDT 2005 = Wed May  4 08:10:07 2005 (GMT)
by Jason Dorje Short <[email protected]>

---- Files affected:

freeciv/common map.c tile.h
freeciv/server settlers.c

---- Log message:
      Tag: HEAD

Restructure the autosettler code a little bit.  Instead of tracking a
single assigned bit for each tile, we now track the unit targeted on that
tile and it's ETA.  This information is used by the algorithm to displace
a worker if there is another one that can do the job from closer.  This
means tile assignments are no longer tracked between turns but are
recalculated from scratch on each turn.

Patch by Brian Dunstan <[email protected]> in PR#12840 with changes by
me.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.