Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] Re: obsolete units, cma
Home

[Freeciv-Dev] Re: obsolete units, cma

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Christian Knoke <chrisk@xxxxxxxxx>
Cc: Freeciv Developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: obsolete units, cma
From: Mateusz Stefek <mstefek@xxxxxxxxx>
Date: Thu, 15 Jul 2004 13:25:01 +0200
Reply-to: mstefek@xxxxxxxxx

On 2004-07-15 12:42:17, Christian Knoke wrote(a):
On Thu, Jul 15, 2004 at 11:51:31AM +0200, Mateusz Stefek wrote:
> On 2004-07-15 11:14:12, Christian Knoke wrote:
> >
> >Hi,
> >
> >the attached savegame (created yesterday) contains now cruisers and
> >trucks
> >in city production, although they are not available. Did you change
> >the
> >rulesets? Shouldn't code check for it? Even at turn done it is not
> >checked.
> >
> It is the same problem as PR#9313
> Savegames created during few last weeks aren't supported.

Well, savegame has been created *yesterday*.

This is an automated notification of a change to freeciv cvs,
on Wed Jul 14 15:50:24 PDT 2004 = Wed Jul 14 22:50:24 2004 (GMT)
by Jason Dorje Short <jshort@xxxxxxxxxxxxxx>

---- Files affected:

freeciv/common improvement.c improvement.h
freeciv/server savegame.c

---- Log message:
     Tag: HEAD

     vvvvvvvvvvvvvvv
Store city production (including the changed_from field) and worklist data
      ^^^^^^^^^^^^^^
in savagames by name instead of by ID.  This avoids creating savegame
incompatability when the order of units is changed in the ruleset.
Backwards-compatability is handled by a fixed array of the ordering of the
old unit names in the various rulesets.

Patch by Mateusz Stefek <mstefek@xxxxxxxxx> in PR#9193 with style changes
by me.
--
mateusz



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