Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] Re: (PR#8890) Patch: Removal of free city center
Home

[Freeciv-Dev] Re: (PR#8890) Patch: Removal of free city center

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: use_less@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8890) Patch: Removal of free city center
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 24 Jul 2004 00:51:41 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8890 >

IMO rather than check the option value all over the place, 
is_city_center should be replaced by more targeted function calls, 
including is_auto_worked_tile() and maybe is_auto_bonus_tile (for 
auto-irrigation, and "minimum" center values, if necessary).  This would 
make maintainence much easier.

However there is still the problem of auto-arranging workers.  Fixing 
this is fairly straightforward for someone who knows the code (trap a 
new mouse click in the GUI, add a client-common function to relay the 
request, with a new packet type and handling in the server) but may be 
beyond the original author's abilities ;-).

jason




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