Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] Re: Question about attributes
Home

[Freeciv-Dev] Re: Question about attributes

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Teemu Kurppa <tkurppa@xxxxxxxxxx>
Cc: freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Question about attributes
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 9 Jan 2002 16:54:13 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Tue, Jan 08, 2002 at 07:38:39PM +0200, Teemu Kurppa wrote:
> On Tue, 8 Jan 2002, Raimar Falke wrote:
> 
> > On Tue, Jan 08, 2002 at 04:32:09PM +0200, Teemu Kurppa wrote:
> > > To continue on the subject: 
> > > 
> > > It seems that no code on the client side checks that a server has
> > > "attribute" capability. For convenient usage of attributes it might be
> > > best, if this is done "behind the scenes" in attribute.c . If a server
> > > doesn't support attributes, attribute data isn't send (so it's not
> > > persistent). Other parts of the client code can still use attribute
> > > facilities same way without explicitly checking for server capabilities.
> > 
> > IMHO it isn't worth it since there are signals that there will be a
> > new release in the next time (which means new mandatory
> > capabilities). So every version which has code which uses attributes
> > will only work with an attribute enabled server.
> 
> We could have backwards capability easily, why not to do it ? 
> Clients that use attributes could connect older servers. I bet many
> players will have 1.12.0 running even after 1.12.n is released. 
> 
> I do the checking manually in the tile marker code, but it would be more
> convenient, if this is done in attribute.c, 

So what bad happends if you remove this check in client/markers.c?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "I was dead ... but I'm better now."
    -- Capitain Sheridan in Babylon 5


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