Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] Re: [CMA 2.3] A few comments
Home

[Freeciv-Dev] Re: [CMA 2.3] A few comments

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Cc: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [CMA 2.3] A few comments
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 10 Oct 2001 09:37:01 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Tue, Oct 09, 2001 at 09:11:47PM -0400, Jason Dorje Short wrote:
> Raahul Kumar wrote:
> > 
> > --- Tony Stuckey <stuckey@xxxxxxxxxxxxxxxxx> wrote:
> > > On Tue, Oct 09, 2001 at 02:26:13AM -0700, Raahul Kumar wrote:
> > > >
> > > > #define MAX_CITY_SIZE                                       30
> > > >
> > > > In Freeciv cities can reach city size 35. Make it 40 to be on the safe
> > > side.
> > >
> > >       Higher.
> > >       40 is also a possible city size.  Unlikely, but possible.  Going
> > > over 40 requires massive special terrain help.
> > > --
> > 
> > Well, what is the math on this? What terrain tiles produce the most food,
> > with irrigation and supermarket?
> > 
> > Raimar: Go for 50.
> 
> I haven't been following this thread but...
> 
> Is a fixed limit necessary?

The cache is statically allocated. It isn't a problem to dynamically
allocate it or use a hash (well this would be slower).

> To provide more flexibility for changing
> rulesets, it would be better to avoid such things.  

> (No doubt the CMA's are pretty ruleset-specific, though, so maybe
> this isn't an issue.)

I hope it isn't. Can you tell me why it is?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "> WHY?! Isn't it better to put $(shell cat cscope.files) on the list of
  I only have a yellow belt in makefile kungfu.  These fancy gnu make things
  are relatively new to some of us..."
    -- Mark Frazer to Vassilii Khachaturov in linux-kernel


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