Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] Re: Unique city names
Home

[Freeciv-Dev] Re: Unique city names

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv dev <freeciv-dev@xxxxxxxxxxx>
Cc: freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Unique city names
From: "martin.mcmahon" <martin.mcmahon@xxxxxxxxxxxxxx>
Date: Thu, 03 Jan 2002 21:22:53 +0000

Hello tkurppa 
will run the patch tonight. 

On 03-Jan-02, tkurppa wrote:
> This is (hopefully) the final version of unique city names -patch. 
> It implements server side features, which prevent naming all cities of the
> player with same name. See    
> http://arch.freeciv.org/freeciv-dev-200111/msg00381.html
> http://arch.freeciv.org/freeciv-dev-200111/msg00761.html
> for previous discussion. 
> 
> The code has get some extra bloat compared to initial solution, as
> I implemented different possible naming restrictions that came up during
> discussion. Server variable 'citynames' is used to select one that
> suits to one's taste. There are now 4 different modes:
> 0 - no restrictions (as it is now) 
> 1 - a city name has to be unique to player (default) 
> 2 - a city name has to be globally unique 
> 3 - a city name has to be globally unique, and players can't use names
> that are among other players' default city names. 
> 
> I've tested it quite extensively, manually and with autogames. In my
> tests I've usually used Catalan and Spanish nations, as they have some
> overlap on their city names. So pathological cases of mode 3 should also
> work correctly. 
> 
> Teemu Kurppa  
> 
Regards Martin
-- 
Chat on #Rabble  uk3.arcnet.vapor.com port6667
see http://rabbled.cjb.net

Get Freeciv at http://www.freeciv.org

Member of G.A.U.G (Glasgow Amiga User Group)
gaug-subscribe@xxxxxxxxxxx



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