Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2004:
[Freeciv-Dev] Re: (PR#8557) auto-launched games should have topology to
Home

[Freeciv-Dev] Re: (PR#8557) auto-launched games should have topology to

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8557) auto-launched games should have topology to match view
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Apr 2004 13:09:57 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8557 >

On Tue, Apr 20, 2004 at 12:00:49PM -0700, Jason Short wrote:
> 
> This patch does this in a mildly hackish way.  Every time a server is 
> launched we call /set topology <topology>.  Note that when you load a 
> game the topology will be set but then reset by the load.

this is probably the cleanest way to do so actually. The only problem would
be if the server were to default to an access level lower than needed to
set the topology option since at this point you don't have hack.

As for the patch, you need not declare the extra buffer, buf[512] is
certainly sufficient, also, you should add an extensive comment as to why
you're putting this there.

-mike




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