nixpulvis / galos

Elite: Dangerous Database and Tools
3 stars 0 forks source link

`Spyglass.filter` #29

Closed nixpulvis closed 2 months ago

nixpulvis commented 3 months ago

Right now (in the soon to be merged #24 PR) systems are only despawned and therefor hidden when new systems are fetched. We should change this logic to both hide when the system moves outside the spyglass's radius, as well as despawn when the size of loaded entities gets too large. (See #43)

The subtly here is dealing with FetchIndex types other than Region (rename spyglass?). When is a FetchIndex::Route hidden? When is a FetchIndex::Faction hidden? How should these interact with an active spyglass?