[Freeciv-Dev] Re: (PR#13947) tile output in tile popup
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13947 >
Benoit Hudson wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=13947 >
>
>>This surely fixes it but with all the other users of get_output_tile
>>(OK, I don't actually know which ones) a change to common is probably
>>too severe. Rather we should change the client caller to use
>>city_get_output_tile directly.
>
>
> Just checked. All the users of get_output_tile are in client/,
> except for server/generator/startpos.c
>
> As far as I can tell, the client/ callers should be getting the value
> for the city; the generator code is activated before any cities are
> created, so the change is neutral anyway.
>
> I find the name odd: shouldn't it be get_tile_output ? But
> regardless, with this few callers, none of which need to be fixed, I
> think changing the API is the best solution.
I think there used to be a separate function get_tile_output.
I'm still in favor of changing the callers. If this means
get_output_tile can be removed so much the better.
-jason
|
|