Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2002:
[Freeciv-Dev] Re: console cleanup 3 (PR#1749)
Home

[Freeciv-Dev] Re: console cleanup 3 (PR#1749)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>, David Pfitzner <dwp@xxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: console cleanup 3 (PR#1749)
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Tue, 16 Jul 2002 17:28:44 +0200

On Tue, Jul 16, 2002 at 08:10:01AM -0700, Per I. Mathisen wrote:
> On Tue, 16 Jul 2002, Raimar Falke wrote:
> > > What about /rulesout? Do I get a license to kill?
> >
> > Will this also remove server/rulesout?
> 
> Yes.
> 
> > I never used it but there have to bea reason for this command/code.
> 
> It outputs the techs ruleset in even more human readable form. dwp used
> this to generate his tech tree pdf. I am not aware that it had or has any
> other uses. In my opinion, it is bad hack, and when we get generalised
> this and generalised that, it has either to be rewritten or abandoned
> anyway. I doubt anyone is really interested in doing the former.

> In any case, such a feature should not be in the server, but should
> be a stand alone program/patch like civworld.

Ack. Should be done by a script.

> See my unit testing patch for an example of how simple this can be
> done.

No comment ;)

> >From ChangeLog:
> 
> Sat Jun 24 05:03:59 2000  David Pfitzner <dwp@xxxxxxxxxxxxxx>:
> 
>         * po/POTFILES.in, server/Makefile.am, server/Makefile.in,
>         server/rulesout.c, server/rulesout.h, server/stdinhand.c:
> 
>         Add 'rulesout' server command (and new rulesout module), to write
>         selected ruleset information to file.  Currently writes 'techs'
>         data to support external utility 'techtree'.
> 
> Please take a look at this code and make up your mind if you want to keep
> it.

First let David speak up.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Despite all the medical advances of the 20th century, the mortality 
  rate remains unchanged at 1 death per person."


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