Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] (PR#2575) one more define in city.h
Home

[Freeciv-Dev] (PR#2575) one more define in city.h

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#2575) one more define in city.h
From: "Guest via RT" <rt@xxxxxxxxxxxxxx>
Date: Sat, 14 Dec 2002 16:16:42 -0800
Reply-to: rt@xxxxxxxxxxxxxx

When Gregory fixed up my starting position allocation patch, he added
,local to that function only, a #define for the number of tiles a city
can see.  I wondered if that was something that would be useful to have
in city.h for everyone to use.  Looking through the code I found 3 other
places where that value is used (in city.h and city.c) so it seems like
it is probably worthwhile.  There is also always the off chance that the
shape of what the city can see might change in the future and hence so
would the way that the number of tiles a city can see depends on
CITY_MAP_SIZE.

Attached is a diff on today's CVS to do so.


Karen

Attachment: citytiles.diff
Description: citytiles.diff


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