Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2002:
[Freeciv-Dev] Re: FreecivAC: generalised calendars (PR#1871)
Home

[Freeciv-Dev] Re: FreecivAC: generalised calendars (PR#1871)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: FreecivAC: generalised calendars (PR#1871)
From: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 1 Aug 2002 15:59:49 -0500

On Thu, Aug 01, 2002 at 01:45:48PM -0700, Per I. Mathisen wrote:
> On Thu, 1 Aug 2002, Anthony J. Stuckey wrote:
> > On Thu, Aug 01, 2002 at 10:31:07PM +0200, Raimar Falke wrote:
> > > IMHO we should try to achieve a state where turn is the primary time
> > > measurement.
> 
> I agree.
> 
> > > For this we need a way to convert turn to year. Both
> > > server and client must perform the same conversion.
> >
> >     Or the server must tell the client.
> 
> Yes, the server should do the calculation and then tell the client every
> turn. That is the only way we can be sure both ends are in sync no matter
> what patches, scripts, savegames, rulesets, etc we throw at 'em.

I agree, and the "year" that the server sends to the clients should be a
string. That way you could have riduculous calendars:

"March 23, 10 B.C. 12:10pm"   (turn 1)
"March 23, 10 B.C. 12:20pm"   (turn 2)
"March 23, 10 B.C. 12:30pm"   (turn 3)
...

-mike


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