]> git.pond.sub.org Git - empserver/commit
fairland: Compute spheres of influence
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 9 Aug 2020 15:13:33 +0000 (17:13 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 19 Jan 2021 07:27:34 +0000 (08:27 +0100)
commitd9425bb5da262875ce6d585767a3cabf805ec374
tree0729178396dc9b91acd839cb5bdb74fa0e8d0895
parent96c57d5ad7f1863e0eb72347f345ad37c376d043
fairland: Compute spheres of influence

A continent's sphere of influence is the set of sectors closer to it
than to any other continent.  The next commit needs this.  Compute the
spheres with a breadth-first search.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/util/fairland.c