Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] Re: [RFC PATCH] init_techs
Home

[Freeciv-Dev] Re: [RFC PATCH] init_techs

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Justin Moore <justin@xxxxxxxxxxx>
Cc: Freeciv Developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [RFC PATCH] init_techs
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 23 Sep 2001 09:28:09 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Sat, Sep 22, 2001 at 08:02:29PM -0400, Justin Moore wrote:
> 
> > I'm sorry if this is a dumb question, but isn't pregame too early to
> > assign specific techs?  I mean, what happens if somebody does this?
> >
> > givetech greeks computers
> > set techs dune.ruleset
> >
> > The dune ruleset would (presumably) have no computers tech.  More
> > pathological examples could be constructed.  The ideal solution would be
> > to completely overhaul server configuration (which would be a good idea
> > anyway, IMO), but what is presently being pictured?
> 
>    ATM I'm just looking at cleaning up the absolute mess that is the
> command parsing code.  

> First off, I'd recommend splitting it up into multiple files.
> stdinhand.[ch] should do just that: handle input and act on it.
> There's no reason all the functions detailing HOW to act on input
> must be in the same file.  I'm thinking of making
> server/commands.[ch] and putting a good chunk of stdinhand.c in
> those files (but in a more organized fashion).

Go Justin go.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  "Heuer's Law: Any feature is a bug unless it can be turned off."


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