Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: PATCH: tile markers
Home

[Freeciv-Dev] Re: PATCH: tile markers

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Petr Baudis <pasky@xxxxxxxxxxx>
Cc: Teemu Kurppa <tkurppa@xxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: PATCH: tile markers
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 16 Dec 2001 16:42:09 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Sun, Dec 16, 2001 at 03:23:09PM +0100, Petr Baudis wrote:
> Dear diary, on Sun, Dec 16, 2001 at 02:18:58PM CET, I got a letter, where
> Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx> told me, that...
> > On Sun, Dec 16, 2001 at 02:12:45PM +0200, Teemu Kurppa wrote:
> > > Raimar Falke wrote:
> > > > 
> > > > On Sat, Dec 15, 2001 at 11:53:25AM +0200, Teemu Kurppa wrote:
> > > 
> > > > > - Tile markers are not saved anywhere, so they are lost, if you get
> > > > > temporarily disconnected. This a bit inconvenient, but I'm not sure is
> > > > > it the worth of trouble to bring marker information to server.
> > > > 
> > > > Use attributes. (client/attribute)
> > > 
> > > I tried to understand them.  Strange, but it seems that they are not used
> > > anywhere ?  Could someone shortly describe, for what purpose they are and
> > > how should I use them, or where in the code to find example of their real
> > > usage. 
> > 
> > They are created by me for the (partly programmed but not included) agents.
> > Search for TEST_ATTRIBUTES for a short example. Ask if you have any
> > questions. Attributes can be used for markers. The remaining question is how
> > to implement shared markers. Since the server doesn't have to know about 
> > them
> > I would propose a function which allows a client to send a piece of data
> > (uninterpreted by the server) to another client.
> Server have to save them and resend them along with the map if the client gets
> disconnected.

Unfortunately: ack. This will rule out attributes.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "There are three ways to get something done. Do it yourself, hire someone
  to do it for you or forbid your kids to do it."


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