Replace DomainIndex internals with a lookup from HierarchicalPathFinder instead
Teach HierarchicalPathFinder to keep a cache of domain indices, refreshing them only on demand and when invalidated by terrain changes. This provides an accurate and quick determination for checking if paths exist between given locations. By exposing PathExistsForLocomotor on the IPathFinder interface, we can remove the DomainIndex trait entirely.
This commit is contained in:
committed by
Matthias Mailänder
parent
5a8f91aa21
commit
aef65d353d
@@ -241,7 +241,6 @@ World:
|
||||
BuildingInfluence:
|
||||
ProductionQueueFromSelection:
|
||||
ProductionPaletteWidget: PRODUCTION_PALETTE
|
||||
DomainIndex:
|
||||
SmudgeLayer@SMALLSCORCH:
|
||||
Type: SmallScorch
|
||||
Sequence: smallscorches
|
||||
|
||||
Reference in New Issue
Block a user