[Freeciv-Dev] Re: (PR#13340) Owner change and happyborders
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13340 >
Mateusz Stefek wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=13340 >
>
>>[per - Sun Jun 26 11:58:12 2005]:
>>
>>On Sun, 26 Jun 2005, Mateusz Stefek wrote:
>>
>>>When a tile changes it's we have to update happiness in all homecities
>>>of units standing on the tile.
>>>
>>>This is an inefficient patch.
>>>How can I (easily) prevent refreshing same city many times ?
>>
>>Set pcity->server.needs_arrange for each city and refresh the appropriate
>>cities afterwards.
>
> city.server.needs_arrange looks like something internal for
> autoarrange_workers() - don't understand this much.
Yeah, you don't want to use that value.
> I could use city.synced, however this is intended to mean only that the
> city should be sent by send_city_info().
I don't think that's safe either. To do what you want will take a new
value, pcity->needs_refresh.
-jason
- [Freeciv-Dev] Re: (PR#13340) Owner change and happyborders, Per I. Mathisen, 2005/06/26
- [Freeciv-Dev] (PR#13340) Owner change and happyborders, Mateusz Stefek, 2005/06/26
- [Freeciv-Dev] Re: (PR#13340) Owner change and happyborders,
Jason Short <=
- [Freeciv-Dev] Re: (PR#13340) Owner change and happyborders, Benoit Hudson, 2005/06/26
- [Freeciv-Dev] (PR#13340) Owner change and happyborders, Mateusz Stefek, 2005/06/27
- [Freeciv-Dev] (PR#13340) Owner change and happyborders, Mateusz Stefek, 2005/06/27
- [Freeciv-Dev] Re: (PR#13340) Owner change and happyborders, Per I. Mathisen, 2005/06/27
- [Freeciv-Dev] Re: (PR#13340) Owner change and happyborders, Benoit Hudson, 2005/06/27
- [Freeciv-Dev] Re: (PR#13340) Owner change and happyborders, Jason Short, 2005/06/27
- [Freeciv-Dev] Re: (PR#13340) Owner change and happyborders, Benoit Hudson, 2005/06/27
- [Freeciv-Dev] (PR#13340) Owner change and happyborders, Mateusz Stefek, 2005/06/28
- [Freeciv-Dev] Re: (PR#13340) Owner change and happyborders, Benoit Hudson, 2005/06/28
|
|