Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] Re: civserver segfault with new research system (PR#1221)
Home

[Freeciv-Dev] Re: civserver segfault with new research system (PR#1221)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Justin Moore <justin@xxxxxxxxxxx>
Cc: Reinier Post <rp@xxxxxxxxxx>, Freeciv Developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: civserver segfault with new research system (PR#1221)
From: Petr Baudis <pasky@xxxxxxxxxxx>
Date: Thu, 17 Jan 2002 08:21:51 +0100

Dear diary, on Thu, Jan 17, 2002 at 06:27:59AM CET, I got a letter,
where Justin Moore <justin@xxxxxxxxxxx> told me, that...
> 
> > > > > Do barbarians research at all?
> > > >
> > > > That is the question.
> > >
> > >    I would say no.  I think it's possible for them to get techs, but not
> > > to research them.
> >
> > Well where do you put the special cases for barbarians?
> > A flexible solution is to make barbarians always set science to 0%.
> 
> IANAFH (I am not a freeciv hacker), but ...
> 
>    That's one way, but I think it would be easier to put the chokepoint
> (so-to-speak) in the code where you increase the amount of research done
> (where the lightbulb total increases).  It's relatively well-defined, and
> would take care of cases where science is set to non-zero for whatever
> reason, or if something gives the barbarians some light bulbs.
That's bad. We want to separate AI from civserver as much as possible, not to
mix it even more.

-- 

                                Petr "Pasky" Baudis

UN*X programmer, UN*X administrator, hobbies = IPv6, IRC, FreeCiv, (e)links
.
The advantage of GUI is that you can see everything you can change.
The disadvantage of GUI is that you can change only what you can see.
.
Public PGP key, geekcode and stuff: http://pasky.ji.cz/~pasky/


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