Plane[GS]etHint() added to encapsulate access to Plane->pl_hint

This is ground work to intercept usage and validate changes in
this area.

Fixed conflicts with earler patch in extract/ExtNghbors.c
This commit is contained in:
Darryl L. Miles
2025-04-09 15:02:59 -04:00
committed by R. Timothy Edwards
parent f942ae6e78
commit 1a84eab4ce
22 changed files with 102 additions and 81 deletions
+4 -4
View File
@@ -4325,9 +4325,9 @@ Tile *extNodeToTile(np, et)
myplane = et->et_use->cu_def->cd_planes[np->nreg_pnum];
tp = myplane->pl_hint;
tp = PlaneGetHint(myplane);
GOTOPOINT(tp, &np->nreg_ll);
myplane->pl_hint = tp;
PlaneSetHint(myplane, tp);
if (IsSplit(tp))
{
@@ -5092,9 +5092,9 @@ donesides:
{
Plane *plane = arg->fra_def->cd_planes[pNum];
tp = plane->pl_hint;
tp = PlaneGetHint(plane);
GOTOPOINT(tp, &tile->ti_ll);
plane->pl_hint = tp;
PlaneSetHint(plane, tp);
if (TiGetClient(tp) != extUnInit) continue;