[Freeciv-Dev] Re: Patch: Chinese nation update (PR#232)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
mike_jing@xxxxxxxxx wrote:
> BTW, can city name suggestions be supplied from the client side as well?
> I've met players who would like to use customized city name lists and I
> don't know how to do it. Did I miss it?
Not currently, but it would be easy to add. Or rather, it would
be easy to integrate with the current code once you do the hard
part of the interface/mechanics of having the client produce a
city name. That is, once you have a string which is the client-
side city name suggestion.
Specifically, In control.c#request_unit_build_city(), instead
of the first block which sends PACKET_CITY_NAME_SUGGEST_REQ,
have a call to popup_newcity_dialog().
-- David
|
|