summaryrefslogtreecommitdiff
path: root/info/rules.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-06 15:08:46 +0100
committerTor Andersson <tor@ccxvii.net>2023-12-06 22:57:27 +0100
commit6a75c9e0faae42b52fd8cffdfa7755bcf4d1271a (patch)
treeb0164203519bf24e0e29bf498967e0fb9f8830a7 /info/rules.html
parent8c8dc473b00c3ca65d525b8f5066d82f3977b05b (diff)
downloadrommel-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/rules.html')
0 files changed, 0 insertions, 0 deletions