[Freeciv-Dev] Re: Compound City Names
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Erik Sigra <freeciv@xxxxxxx> writes:
> Could you please describe the principles of this algorithm in natural
> language? Write in German if it is easier for you. It would still be
> easier for me to understand than uncommented C-code.
Hm, I thought the code was pretty straight-forward. I've added a few
comments, and added a "const" to the return value. Also fixed some
bugs and a memory hole. (Did I mention string handling in C sucks?)
Please tell me if it is more understandable now.
> Or do you think that the Transport Tycoon approach I described
> yesterday will be more successfull?
Depends on what you want. Your method leads to "more realistic"
results, but requires more work and doesn't work for all languages (I
guess). For Swedish, I get:
Solleå Helsterhamn Kalmgård Holm Luleholmstad Trolmgård Gävlentuna
Malmsterhamn Kalmö Söderås Sundsvala Kalmö Lulefterås Morg Göteå Tro
Karlsingborg Piteborg Mallhättad Holmstanstad Kallhättad Vibora Hala
Morg Halund ...
Try it yourself...
Falk
citynames-09.25.patch
Description: Text Data
- [Freeciv-Dev] Re: Compound City Names,
Falk Hueffner <=
|
|