Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2003:
[Freeciv-Dev] (PR#2951) Re: [FreeCiv-Cvs] esr: Fix savegame and loadgame
Home

[Freeciv-Dev] (PR#2951) Re: [FreeCiv-Cvs] esr: Fix savegame and loadgame

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#2951) Re: [FreeCiv-Cvs] esr: Fix savegame and loadgame code so that the depe...
From: "mateusz stefek via RT" <rt@xxxxxxxxxxxxxx>
Date: Thu, 30 Jan 2003 22:31:35 -0800
Reply-to: rt@xxxxxxxxxxxxxx

> This is an automated notification of a change to freeciv cvs,
> on Tue Jan 28 17:37:29 PST 2003 = Wed Jan 29 01:37:29 2003 (GMT)
> by Eric S Raymond <esr@xxxxxxxxxxx>
> 
> ---- Files affected:
> 
> freeciv/server savegame.c
> 
> ---- Log message:
>       Tag: HEAD
> 
> Fix savegame and loadgame code so that the dependency on the order of
> nations in data/default/nations.ruleset is eliminated.  Player nations
> are now stored by name, as a "nation" attribute, rather than only by
> numeric nation index saved as a "race" attribute.
> 
> Code to interpret the "race" attribute is still present, runs if no
> "nation" attribute is found, and indirects through a namelist derived
> from the order of nations in the 1.14.0 nations ruleset. Thus this
> change does not break reading old savefiles.
> 
> Savefiles written by the new savegame() may even be readable by older
> versions, because the numeric index is still saved as "race".  The
> nation assignments in the resulting save may be scrambled when reread,
> 
> though.
But, nations are saved translated, and this is a bug.
--
mateusz



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