Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: 3 patches for use on public gameservers
Home

[Freeciv-Dev] Re: 3 patches for use on public gameservers

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx (Freeciv developers)
Subject: [Freeciv-Dev] Re: 3 patches for use on public gameservers
From: Reinier Post <rp@xxxxxxxxxx>
Date: Tue, 28 Aug 2001 23:29:30 +0200

On Tue, Aug 28, 2001 at 08:31:22PM +0200, Raimar Falke wrote:
> On Tue, Aug 28, 2001 at 08:14:46PM +0200, Reinier Post wrote:
> > On Tue, Aug 28, 2001 at 07:06:28PM +0200, Raimar Falke wrote:
> > 
> > > So we may not tied these settings to DEBUG or NDEBUG but a PUBLIC_USE
> > > or MEDIUM_SECURITY?!
> > 
> > Well, the 'cmdlevel' was introduced for that purpose.
> > But I'm not sure how to apply it here.
> 
> So we need to protect certain value sets of certain variables by
> certain cmdlevels?! Sounds like a bit overkill to me.

If you have a setting, it's best to make it runtime inspectable,
and configurable if desired.  This is the reason Freeciv has a
'cmdleel' command instead of a fixed PUBLIC_USE define.

>       Raimar

-- 
Reinier


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