summaryrefslogtreecommitdiff
path: root/rules.js
AgeCommit message (Expand)Author
2024-09-15Use only own supply line when forced march is used to withdraw.HEADmasterTor Andersson
2024-08-28fix can_unit_withdraw check.Tor Andersson
2024-07-04Allow progressing even if move calculations timeout.Tor Andersson
2024-04-17Fix own supply line search.Tor Andersson
2024-03-21Fix bug when slowest unit is fastest possible.Tor Andersson
2024-03-11Also put hexes where supply lines stop in the search order list.Tor Andersson
2024-03-05Prefer Rommel move when offensive moves overlap.Tor Andersson
2024-03-05Remove unused return statements from set functions.Tor Andersson
2024-01-25Optimize search: generate list of hexes to search for pass 2 in pass 1.Tor Andersson
2024-01-25Fix bug in initial supply outward scan.Tor Andersson
2024-01-18Use direction in memo key.Tor Andersson
2024-01-18Memoize (successful) supply searches.Tor Andersson
2024-01-04More optimizations.Tor Andersson
2024-01-03Fix supply search optimization.Tor Andersson
2023-12-24Automatic resign menu.Tor Andersson
2023-12-06Rewrite supply tracing code.Tor Andersson
2023-12-06Add timeout so as not to hang other games when supply calculations overrun.Tor Andersson
2023-09-09Add end game supply check to eliminate unsupplied units after last month.Tor Andersson
2023-08-12Allow dismantling a single minefield without placing a new one.Tor Andersson
2023-08-11Allow dismantling revealed minefields.Tor Andersson
2023-07-19Fix typo in combat matrix Inf vs AT.Tor Andersson
2023-07-13Optimize own supply line search.Tor Andersson
2023-07-05Check withdrawal using own supply lines only!Tor Andersson
2023-07-05Zap is_checkpoint.Tor Andersson
2023-03-09Allow backtracking from supply chains!Tor Andersson
2023-03-03Withdraw moves must follow own supply lines.Tor Andersson
2023-03-03Fix 1942 setup.Tor Andersson
2023-03-03Add explicit button for Return for Refit.Tor Andersson
2023-02-05Handle new debug mode in is_checkpoint.Tor Andersson
2023-01-03Fix victory!Tor Andersson
2022-12-31Units assigned fortress supply MUST withdraw using fortress supply.Tor Andersson
2022-12-26Forbid entering own map edge hexes.Tor Andersson
2022-12-26Follow 2004 edition map layout more strictly.Tor Andersson
2022-11-27Check validity of mandatory pass group moves.Tor Andersson
2022-11-17Fix "1942" setup.Tor Andersson
2022-11-17Use correct port capacity during redeployment.Tor Andersson
2022-11-17Drop the turn info row in the sidebar.Tor Andersson
2022-11-17Check available money for building minefields.Tor Andersson
2022-11-17Verify group and regroup options as valid retreat hexes.Tor Andersson
2022-11-17Fix hexside disengagement checks.Tor Andersson
2022-11-17Don't allow "end turn" during pass moves if there are mandatory battles.Tor Andersson
2022-11-17Fix bug with selecting units for Regroup Move 2.Tor Andersson
2022-11-17Show control in hex tooltips.Tor Andersson
2022-11-17Exception: Fortress battles are not mandatory during blitz combat.Tor Andersson
2022-11-17Skip pursuit fire during rout if possible.Tor Andersson
2022-11-17Allow disrupted units to co-exist without creating a battle hex.Tor Andersson
2022-11-17Track fortress recapture and cancel bonus supply.Tor Andersson
2022-11-17Don't skip mandatory combat rout check when ending turn early!Tor Andersson
2022-11-17Simplify checkpointing logic.Tor Andersson
2022-11-17Update common functions from utility library.Tor Andersson