diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-12-06 15:08:46 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-12-06 22:57:27 +0100 |
commit | 6a75c9e0faae42b52fd8cffdfa7755bcf4d1271a (patch) | |
tree | b0164203519bf24e0e29bf498967e0fb9f8830a7 /info | |
parent | 8c8dc473b00c3ca65d525b8f5066d82f3977b05b (diff) | |
download | rommel-in-the-desert-6a75c9e0faae42b52fd8cffdfa7755bcf4d1271a.tar.gz |
Rewrite supply tracing code.
Two passes.
First a quick breadth first forward scan to find hexes
that can be reached from the supply source at all.
Second an exhaustive recursive search from each unit to
find the actual used supply lines and hexes. This uses the
results from the first search to quickly prune impossible
paths.
This also fixes a bug where some supply chains from
highways via mixed highway, track, and trail to another
bit of highway were missed.
Diffstat (limited to 'info')
0 files changed, 0 insertions, 0 deletions