Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-12-05 | Allow supply chains to overlap! | Tor Andersson | |
2024-12-05 | Cycle supply line overlay between axis/allied/both/none. | Tor Andersson | |
Also update colors. | |||
2024-12-04 | Fix eslint issues - remove dead code. | Tor Andersson | |
2024-12-04 | Remove unused "setups" table from title.sql | Tor Andersson | |
2024-12-04 | Add .exrc for folding. | Tor Andersson | |
2024-09-15 | Use only own supply line when forced march is used to withdraw. | Tor Andersson | |
2024-09-13 | Show disrupted units as already fired when pursuit firing. | Tor Andersson | |
2024-08-28 | fix can_unit_withdraw check. | Tor Andersson | |
Can withdraw the first hex to disrupted enemy units! | |||
2024-07-04 | Allow progressing even if move calculations timeout. | Tor Andersson | |
2024-04-17 | Fix own supply line search. | Tor Andersson | |
It was not returning any results if the supply line had to deviate from the closest path at any point. | |||
2024-03-21 | Fix bug when slowest unit is fastest possible. | Tor Andersson | |
2024-03-11 | Also put hexes where supply lines stop in the search order list. | Tor Andersson | |
2024-03-05 | Prefer Rommel move when offensive moves overlap. | Tor Andersson | |
2024-03-05 | Remove unused return statements from set functions. | Tor Andersson | |
2024-01-25 | Optimize search: generate list of hexes to search for pass 2 in pass 1. | Tor Andersson | |
Start pass 2 at the fringes to repeat as little work as possible during recursion. | |||
2024-01-25 | Fix bug in initial supply outward scan. | Tor Andersson | |
TRACE_TRACK_2 is worse than TRACE_TRAIL_1, stopping us early in some cases. See game 57264 at move 934 where the initial trace stops at Sidi Mufta and does not continue to Bri Hacheim because we reached it via the track before the trail. | |||
2024-01-18 | Use direction in memo key. | Tor Andersson | |
2024-01-18 | Memoize (successful) supply searches. | Tor Andersson | |
Use the hex number AND the pathing state for the memo cache. NOTE: Unsuccessful searches cannot be memoized, because we may be approaching the hex in the opposite direction of supply. Since the search never backtracks we would record an (incorrectly) negative result. TODO: direction of approach and "supply_visit" is also part of state that should be part of the memo key for accuracy. | |||
2024-01-04 | More optimizations. | Tor Andersson | |
2024-01-03 | Fix supply search optimization. | Tor Andersson | |
2023-12-24 | Automatic resign menu. | Tor Andersson | |
2023-12-10 | New player list. | Tor Andersson | |
2023-12-06 | Rewrite supply tracing code. | Tor Andersson | |
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. | |||
2023-12-06 | Add timeout so as not to hang other games when supply calculations overrun. | Tor Andersson | |
2023-10-30 | Restore mapwrap and simple labels when zoomed out. | Tor Andersson | |
2023-10-27 | Mobile friendly info pages. | Tor Andersson | |
2023-10-22 | Add title bar icon to battle boxes. | Tor Andersson | |
2023-10-22 | Place battle and pursuit boxes next to the hexes. | Tor Andersson | |
2023-10-21 | Only scroll to battle dialog if screen is small. | Tor Andersson | |
2023-10-21 | Use raster image for map instead of SVG. | Tor Andersson | |
Chrome is too slow with the SVG map for a good experience. | |||
2023-10-20 | Mobile layout. | Tor Andersson | |
2023-09-21 | Add match making setups. | Tor Andersson | |
2023-09-09 | Add end game supply check to eliminate unsupplied units after last month. | Tor Andersson | |
2023-08-12 | Allow dismantling a single minefield without placing a new one. | Tor Andersson | |
2023-08-11 | Allow dismantling revealed minefields. | Tor Andersson | |
2023-07-19 | Fix typo in combat matrix Inf vs AT. | Tor Andersson | |
2023-07-13 | Optimize own supply line search. | Tor Andersson | |
2023-07-05 | Check withdrawal using own supply lines only! | Tor Andersson | |
... and more burned CPU cycles. | |||
2023-07-05 | Zap is_checkpoint. | Tor Andersson | |
2023-07-05 | Update cover JPEG files. | Tor Andersson | |
2023-03-09 | Allow backtracking from supply chains! | Tor Andersson | |
A supply chain can backtrack over another supply chain. Example: Axis Unit A is in supply in Skeleidima. It can trace supply via Ghemines. It can also trace supply via Msus/Antelat/Agedabia. Axis Unit B in Mechili SW can trace a line to A in Skeleidima. This line overlaps with the Skeleidima/Msus/Antelat line, and our "don't backtrack" code would either prevent one of these lines from forming. Track the "visit depth" instead of a boolean, and increase the depth every time we start a new supply line. Allow re-visits of a hex unless it's been visited before during this depth, or unless it is the head of a supply line. | |||
2023-03-03 | Withdraw moves must follow own supply lines. | Tor Andersson | |
Search through supply net for own lines when doing withdrawal moves. | |||
2023-03-03 | Fix 1942 setup. | Tor Andersson | |
2023-03-03 | Add explicit button for Return for Refit. | Tor Andersson | |
An option well as the hex. | |||
2023-02-05 | Handle new debug mode in is_checkpoint. | Tor Andersson | |
2023-01-31 | Split stylesheet into separate file. | Tor Andersson | |
2023-01-03 | Fix victory! | Tor Andersson | |
2022-12-31 | Units assigned fortress supply MUST withdraw using fortress supply. | Tor Andersson | |
... so don't skip calculating the withdrawal fortress supply lines even if the fortress is not isolated anymore. | |||
2022-12-26 | Forbid entering own map edge hexes. | Tor Andersson | |
2022-12-26 | Follow 2004 edition map layout more strictly. | Tor Andersson | |
Don't show hexsides for out-of-play hexes. Add west exit area for allied player. Remove new edition marsh. |