[Freeciv-Dev] Re: Worklist, take III
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
- [Freeciv-Dev] Worklist, take III, Corin Anderson, 2000/01/16
- [Freeciv-Dev] Re: Worklist, take III, John-Marc Chandonia, 2000/01/18
- [Freeciv-Dev] Re: Worklist, take III, Stephen Hodge, 2000/01/19
- [Freeciv-Dev] Re: Worklist, take III,
=??Q?Bj=F6rn_Olsson?= <=
- [Freeciv-Dev] Re: Worklist, take III, Daniel Sjolie, 2000/01/19
|
|