diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-09-15 13:27:28 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-09-15 13:27:28 +0200 |
commit | 31c55e54b023ead4d3f9a2f9c53a12b25cda8ced (patch) | |
tree | a3a87ddbc7ce2e54dee84ee265f8ded085f96ba9 | |
parent | 434e2ee422eee7555836fab5480f0d71c15d83c1 (diff) | |
download | wilderness-war-31c55e54b023ead4d3f9a2f9c53a12b25cda8ced.tar.gz |
remove stale TODO and add .exrc for folding
-rw-r--r-- | .exrc | 3 | ||||
-rw-r--r-- | rules.js | 9 |
2 files changed, 4 insertions, 8 deletions
@@ -0,0 +1,3 @@ +set foldmethod=expr +set foldexpr=getline(v:lnum)=~'^/\\*\ .*\\*/$'?'>1':'=' +set foldexpr=getline(v:lnum)=~'^//\ [A-Z][A-Z]'?'>1':'=' @@ -1,11 +1,5 @@ "use strict" -// TODO: don't allow activating force in Halifax/captured Louisbourg without a 3-value card (nothing to do but sail) - -// WONTFIX -// TODO: select leader for defense instead of automatically picking the best -// TODO: remove old 7 command leader(s) immediately as they're drawn, before placing reinforcements - const { spaces, pieces, cards } = require("./data") const BRITAIN = 'Britain' @@ -2743,7 +2737,6 @@ function end_designate_force() { } } -// TODO: merge with designate_force using reason=intercept_lone_ax states.designate_force_lone_ax = { inactive() { inactive_prompt("designate lone auxiliary force to intercept", game.force.commander, 0) @@ -10079,7 +10072,7 @@ exports.view = function(state, current) { return view } -// === COMMON LIBRARY === +// COMMON LIBRARY // remove item at index (faster than splice) function array_remove(array, index) { |