Slide show time!
Ack, this is too slow....
Come on, move! move!
I said MOVE!
I can't take it anymore...


we currently use A* right?, i personally think FlowField was best.vexed wrote:For the path finding, we don't compute the path for every unit you have in a frame.
We only do X units, then next frame X more, and so on.
For the other stuff... unsure, would have to re-read the code.
Code: Select all
clustAddDroid
PointTree::queryMaybeFilter<0>(class PointTree::Filter &,int,int,int,int)
avUpdateTiles(void)
drawTerrain(void)
pie_RotateProject(struct Vector3i const *,struct Vector2i *)
pie_ActivateShader(int,struct iIMDShape *,union PIELIGHT,union PIELIGHT)
_alldiv
pie_Draw3DShape2
SyncDebugIntList::set(unsigned int &,char const *,char const *,int const *,unsigned int)
gridStartIterateFiltered<ConditionTrue>
pie_RemainingPasses(void)
_allmul
glm::rotate<float>(struct glm::detail::tmat4x4<float> const &,float const &,struct glm::detail::tvec3<float> const &)
pie_TRANSLATE(int,int,int)
That's on 3.1, right? I'm not having this anywhere near the top on -master....
pie_Draw3DShape2
...
The system is only useful for wzscript, right? I'm still not sure it's worth fixing rather than removing.Looking at clustAddDroid() seems to me that this whole system needs to be rewritten.
Right now, thinking of something along the lines of using AABB to fix this mess.
No, if you look a bit closer, you would see that both systems use (need) it.NoQ wrote: The system is only useful for wzscript, right? I'm still not sure it's worth fixing rather than removing.
I believe that cluster-based eventObjectSeen is not useful anyway. In fact, i cannot comprehend what's good about clusters for eventObjectSeen; there are easier and lighter ways of making it worse.me, a few posts above, wrote:JavaScript's eventObjectSeen is not useful anyway (too throttled, and throttling can be done equally well without clustering).