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: rf13@xxxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Question about attributes
From: Teemu Kurppa <tkurppa@xxxxxxxxxx>
Date: Tue, 8 Jan 2002 19:26:05 +0200 (EET)

On Tue, 8 Jan 2002, Raimar Falke wrote:

> On Tue, Jan 08, 2002 at 02:51:30PM +0200, Teemu Kurppa wrote:
> > This makes coding a little bit cumbersome compared to solution, in
> > which persistent data is restored to client side data structures,
> > when client reconnects.
> 
> Can you save the client side data structures directly in the
> attributes?

With a current data structure, list, no. And I think that a list is a
natural choice for markers. I'd like to keep them in list instead of
an array. 

> > Another concern: I think that a client should flush attributes to a
> > server, when a player decides to disconnect. Currently it flushes them
> > only at the end of turn.
> 
> Same as above: attributes aren't yet used. I agree. Note that you can
> also manually flush them.

Yeah I know, and attached "patch" will flush attributes, when player
disconnects ;)  

Teemu Kurppa

Attachment: attribute_flush_on_disconnect.diff
Description: Text document


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