[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]
<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
|
|