39 Commits

Author SHA1 Message Date
a78249d611 Clean up armor assign code 2025-06-16 22:41:33 -07:00
065ef1ef5e Improve armor assign 2025-06-16 22:41:33 -07:00
c2aaaeb4ec Extract reveal record logic into a function 2025-06-16 22:41:33 -07:00
e79922c6fb Extract armor setup into function 2025-06-16 22:41:33 -07:00
93a88e067f Extract record deactivation event handler function 2025-06-16 22:41:33 -07:00
75e0b7758e WIP: very rough armor 2025-06-16 22:41:33 -07:00
60da021f13 WIP: view squad record sheets 2025-06-16 22:41:33 -07:00
e3de50ceef WIP: smoothe squad view 2025-06-16 22:41:33 -07:00
fa483cc76f Add weapon counters for new weapons 2025-06-16 22:41:33 -07:00
31061628ad Add weapons for scenario 2 2025-06-16 22:41:33 -07:00
97af8d3e86 Fix firing arcs for squads 2025-06-16 22:41:33 -07:00
e0bddbb263 Add ability to deactivate/reactivate soldier records; make hex clearing work with right-click and add a confirmation modal dialog 2025-06-16 22:41:33 -07:00
479cde7b91 Make record sheet allegiance name text smaller to fit 2025-06-16 22:41:32 -07:00
703b2d8929 Add troop number and squad number when creating counters 2025-06-16 22:41:32 -07:00
7e5557bd32 Create counters with assigned weapons 2025-06-16 22:41:32 -07:00
a17ff4c696 WIP: counters 2025-06-16 22:41:32 -07:00
fdb3840564 WIP: render radial coord hexes/maps 2025-06-16 22:41:32 -07:00
7b5fd7590b WIP: Fix pan-zoom for webkit 2025-06-16 22:41:31 -07:00
3de614c8ee Don't use custom built-in elements because they are not supported in webkit 2025-06-16 22:41:31 -07:00
c46c361217 Fix/refactor tests 2025-06-16 22:41:31 -07:00
4075fd97f9 Try to simplify trooper counter 2025-06-16 22:41:31 -07:00
4a546ea443 WIP: select counter test 2025-06-16 22:41:31 -07:00
488ebb384b Import mapsheets.svg 2025-06-16 22:41:31 -07:00
de1b9e2689 WIP: mock selenium response 2025-06-16 22:41:31 -07:00
5f7c980ad5 Minor refactor 2025-06-16 22:41:31 -07:00
e29bd0fb0f Don't export unnecessary functions 2025-06-16 22:41:31 -07:00
5453b87db7 Use observable for end move and prone flag 2025-06-16 22:41:31 -07:00
9d4952eaad Remove select callbacks and use observable instead 2025-06-16 22:41:31 -07:00
0a84d99ce6 Fix custom affiliation names 2025-06-16 22:41:31 -07:00
c0a6440b48 WIP: record sheet layout 2025-06-16 22:41:30 -07:00
142d472e06 Add weapon icons to record sheet 2025-06-16 22:41:30 -07:00
873a5939ef Apply styles and map script to manually loaded files 2025-06-16 22:41:30 -07:00
c1f516be2a Don't blow up if weapon element missing from trooper counters 2025-06-16 22:41:30 -07:00
868ea94010 Generate weapon data dynamically from counters 2025-06-16 22:41:30 -07:00
088a37d128 Allow placing a counter that doesn't already exist 2025-06-16 22:41:29 -07:00
8970c1f59e Refactor index.js 2025-06-16 22:41:29 -07:00
17fd1c813b Create record sheet dynamically when map is loaded 2025-06-16 22:41:29 -07:00
b980544203 Add ability to change maps 2025-06-16 22:41:29 -07:00
3e513c5684 Rename some files 2025-06-16 22:41:29 -07:00