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

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

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#8890) Re: Removal of free city center
From: "James Canete" <use_less@xxxxxxxxxxx>
Date: Tue, 1 Jun 2004 18:10:02 -0700
Reply-to: rt@xxxxxxxxxxx

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

If I'm reading it correctly (which is always suspect :), the cm is trying
every combination of citizens it can find, including only one entertainer and
no workers.

I tried my hand at making your patch work and made the following changes:

in sanitycheck.c, I changed real_sanity_check_city(0 to disregard the center
tile as a worker if the free city center was disabled.

in citytools.c, I changed create_city() so it didn't change the center tile
to a worker if the free city center was disabled.

in cm.c, I changed build_cache3() so it didn't add the extra income from the
center tile if the free city center was disabled.  I'm sort of iffy about this
part though, and added a comment saying so.

Here's this version of the patch.  It seems to work, though the client (win32
in this case) still shows the center tile as producing income when the 
production totals don't.

-James Canete
-- 
_______________________________________________
http://www.ign.com
Upgrade to Premium IGN Email
- 15MB of space
- No ads!
- Pop3 Downloads

Powered by Outblaze

Attachment: my_no_free_city_center.diff
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#8890) Re: Removal of free city center, James Canete <=