[Freeciv-Dev] Re: (PR#717) WISHLIST: Goto cursor shows movecost
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, 14 Aug 2003, Jason Short wrote:
> A new version of this patch.
>
> Changes:
>
> - Drop hundreds and thousands' place; these are totally unnecessary.
> - Fix the sprite name for the tens' place.
> - Remove unnecessary #include.
>
> Problems:
>
> - Doesn't work with waypoints. How can this be solved with PF? We
int get_length(void)
{
int i, time = 0;
for(i = 0; i < goto_map.num_parts; i++) {
time += goto_map.parts[goto_map.num_parts - 1].time;
}
return time;
}
should do the trick imo.
> can't just look at 'turns' but need to consider the actual number of
> moves along each path. Perhaps the easiest thing is to concatenate the
> paths - although this is in theory slow (it's currently only done when
> we execute the goto), it's probably fine in practice.
>
> jason
>
>
- [Freeciv-Dev] Re: (PR#717) WISHLIST: Goto cursor shows movecost,
Gregory Berkolaiko <=
[Freeciv-Dev] Re: (PR#717) WISHLIST: Goto cursor shows movecost, Gregory Berkolaiko, 2003/08/15
[Freeciv-Dev] Re: (PR#717) WISHLIST: Goto cursor shows movecost, John Wheeler, 2003/08/15
|
|