- cleaned up dragpoint

This still contained some code for EDuke32's TROR and used a shared static global array.
It now uses the BFSSearch class to manage its bit array to unlimit the size of its working set and to avoid reallocation.
This commit is contained in:
Christoph Oelckers 2021-11-18 01:15:18 +01:00
parent 7126aa22f4
commit 4e31360fe4
11 changed files with 82 additions and 90 deletions

View file

@ -390,7 +390,7 @@ int DoRotator(DSWActor* actor)
vec2_t const orig = { r->origX[ndx], r->origY[ndx] };
rotatepoint(pivot->pos.vec2, orig, r->pos, &nxy);
dragpoint(w, nxy.x, nxy.y, 0);
dragpoint(w, nxy.x, nxy.y);
ndx++;
}