diff options
author | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-09-28 15:18:18 +0200 |
---|---|---|
committer | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-09-28 15:18:18 +0200 |
commit | c0d38bd3c2047c4e67cd7f930aa3ac3683915418 (patch) | |
tree | 31c8f42a23c90f7a896f7bf86cccd7c0f275c5df /rules.js | |
parent | b565ed66b562d97ecaa9617e7567d3534cde5de5 (diff) | |
download | algeria-c0d38bd3c2047c4e67cd7f930aa3ac3683915418.tar.gz |
remove unused
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 26 |
1 files changed, 0 insertions, 26 deletions
@@ -211,26 +211,6 @@ function clear_unit_dispersed(u) { game.units[u] &= ~UNIT_DISPERSED_MASK } -// moved - -function is_unit_moved(u) { - return set_has(game.moved, u) -} - -function set_unit_moved(u) { - set_add(game.moved, u) -} - -// fired - -function is_unit_fired(u) { - return set_has(game.fired, u) -} - -function set_unit_fired(u) { - set_add(game.fired, u) -} - function eliminate_unit(u) { game.units[u] = 0 set_unit_loc(u, ELIMINATED) @@ -423,8 +403,6 @@ exports.setup = function (seed, scenario, options) { naval: 0, units: new Array(unit_count).fill(0), - moved: [], - fired: [], is_morocco_tunisia_independent: false, border_zone: 0, @@ -857,10 +835,6 @@ function log_sep() { // === COMMON LIBRARY === -function log(msg) { - game.log.push(msg) -} - function clear_undo() { game.undo.length = 0 } |