Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2000:
[Freeciv-Dev] Re: Worklist, take III
Home

[Freeciv-Dev] Re: Worklist, take III

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Stephen Hodge <stephenh@xxxxxxxxxxx>
Cc: Corin Anderson <corin@xxxxxxxxxx>, John-Marc Chandonia <jmc@xxxxxxxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Worklist, take III
From: =??Q?Bj=F6rn_Olsson?= <l99_onb@xxxxxxxxxx>
Date: Wed, 19 Jan 2000 11:09:49 +0100 (CET)

On Wed, 19 Jan 2000, Stephen Hodge wrote:

> > This feature would also require additional bookkeeping to know that, eg,
> > OP has been postponed, and not simply -placed- at the #2 spot.  That is,
> > you'd need a 'postponed' bit for each worklist item.  You'd also need some
> > way to convey this information to the player, etc.
> Couldn't you just move the item down one spot, and then if it still
> can't be made when the (new) first item is finished then demote it
> again? Notifying the player could be an issue but I think most people
> would be happy to either have this occur silently in all cases or not
> happen at all.

What happens then if also the second item on the list cannot be build
because you lack a tech. Wouldn't the result be an infinite loop?

I would suggest that whenver you want to build something from the list
that you search the list for the first item that you CAN build and then
move it to the top. 
This would ofcourse generate an error if there is no items that you can
build.

Mvh Bornie  


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