Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2005:
[Freeciv-Dev] Re: (PR#14478) Set maximum endyear to 32000
Home

[Freeciv-Dev] Re: (PR#14478) Set maximum endyear to 32000

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: john@xxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#14478) Set maximum endyear to 32000
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Oct 2005 13:08:41 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14478 >

Mike Kaufman wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=14478 >
> 
> we should probably do this patch. nobody better complain about going
> longer than this, (though changing game.turns and game.year in a savegame
> would do the trick I think)

I have the feeling if the turns uses a SINT16 then an endyear of 32000 
could overrun the turns.  28000 would be safe (maybe 25000 is a more 
round number).  Remember that with sufficiently high tech at the start 
the turns could take 1 turn/year right from the beginning (-4000).

On a related note, I have no idea why the turns would require a signed 
value.

-jason





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