Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2002:
[Freeciv-Dev] Re: [PATCH] Fixing Warriors (PR#1351)
Home

[Freeciv-Dev] Re: [PATCH] Fixing Warriors (PR#1351)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] Fixing Warriors (PR#1351)
From: Raahul Kumar <raahul_da_man@xxxxxxxxx>
Date: Wed, 3 Apr 2002 17:39:49 -0800 (PST)

--- Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, Mar 28, 2002 at 01:31:26PM +0100, Reinier Post wrote:
> > On Thu, Mar 28, 2002 at 01:28:00AM -0800, Raahul Kumar wrote:
> > 
> > > The transitive function does make sense, and Reinier and I have already
> > > discussed it. The only question, and this is a very important question,
> is
> > > who's going to implement it? I'm too busy with the AI to bother with
> ruleset
> > > stuff. No one else is even interested. If you want a transitive tech tree
> > > parser, Christian, it's up to you.
> > 
> > Or to me.  You're absolutely right.
> 
> > However, the parser won't change.  After parsing, a function would be
> > invoked that applies its transitive closure.  A function to compute
> > it was added just one month ago, so this should be straightforward.
> 
> Why do we need to change the parsing code? Can't these changes be made
> by "hand" in the ruleset? Some kind of pre-calculation?!

Making changes by hand in the ruleset is the approach I took. This is a kludgy
way to go. The Right Way is probably Reinier's approach, although your
variation with a pre ruleset load would work just as well.




__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/


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