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: Teemu Kurppa <tkurppa@xxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: PATCH: tile markers
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 16 Dec 2001 14:18:58 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

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.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Many of my assistants were fans of Tolkien, who wrote 'Lord of the Rings'
  and a number of other children's stories for adults.  The first character
  alphabet that was programmed for my plotter was Elvish rather than Latin."
    -- from SAIs "life as a computer for a quarter of a century"


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