Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157)
Home

[Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Ross W. Wetmore" <rwetmore@xxxxxxxxxxxx>, Mike Kaufman <mkaufman@xxxxxxxxxxxxxx>
Cc: Petr Baudis <pasky@xxxxxxxxxxx>, "Ross W. Wetmore" <rwetmore@xxxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157)
From: Raahul Kumar <raahul_da_man@xxxxxxxxx>
Date: Mon, 31 Dec 2001 21:14:16 -0800 (PST)

--- "Ross W. Wetmore" <rwetmore@xxxxxxxxxxxx> wrote:
> At 04:37 PM 01/12/31 -0600, Mike Kaufman wrote:
> >On Mon, Dec 31, 2001 at 08:57:49PM +0100, Petr Baudis wrote:
> 
> >As a side note, can I get a thumbs up, thumbs down, on Petr's latest
> >revision. I've not looked at it yet, but if savegames are different, the
> >reason needs to be found. This is supposed to be _only_ a cleanup after
> >all.
> 
> I am happy (or at least have no reasonable objections) to anything in it.
> 
> I don't think the savegame issue is critical and personally don't see it
> as a showstopper, but I wouldn't mind seeing it explained and/or removed.
> BTW: I am sure I can force savegame differences by changing parameters in 
> the rulesets that were hardcoded constants in choice calculations and are
> now changed to working references. It is the chance that some variable
> rename screwed up that is more troubling.
> 
> I give it a thumbs up and will let others make the savegame call.
> 

The explanation for the change in save games is probably due to 
Petr getting rid of

Unit_Type_id utid, iunit;

and replacing it with  Unit_Type_id unit_type;

This change I approve of. There seems to be no need for two unit ids,
and by the process of elimation I can arrive at no other reason for the
change in savegames. The other changes Petr has made involve moving 
the initialisation of variables to the top, and creating more local
variables. 

Thumbs up.

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com


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