glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] drawing unit paths when only destination is displayed


From: Kai Antweiler
Subject: Re: [glob2-devel] drawing unit paths when only destination is displayed (was: to-do before 1.0)
Date: Sat, 28 Jul 2007 11:46:39 +0200

> > We don't know which resources will be targeted.  We only estimate which 
> > resource
> > will be.  If we want this estimated resources to draw lines, we have
> > to estimate these
> > resources for every glob!  Right now we only have to estimate for
> > every visible glob.
> > I guess this is a huge speed difference.
>
> This reasoning is (unfortunately) flawed.
>
> The destinations need to be calculated to decide where each globule
> will next move, regardless of whether the globule is currently
> displayed.  And the destinations are rarely recalculated, so for
> display purposes the information can just be used and does not need to
> be calculated.

No, this is false.
We don't determine the destinations.
And the pathfinding is recalculated every fifth turn, if I remember
this correctly.
Determining the destinations is an extra effort in the magnitude of
the paths lengths.

-- 
Kai Antweiler




reply via email to

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