404 Commits

Author SHA1 Message Date
d393f23e36 Extract programmatic pan coord calculations into gameboard module 2025-06-16 22:41:34 -07:00
0af6380fee Add toggle for auto map-centering 2025-06-16 22:41:34 -07:00
06bff39f01 Add additional params to observable calls; reveal counter and record logic on selections 2025-06-16 22:41:34 -07:00
b76cb71f37 Auto-pan to center of counter 2025-06-16 22:41:34 -07:00
5ee42370e9 DEBUG: map-center crosshair 2025-06-16 22:41:33 -07:00
a85a2d6575 WIP: auto-pan map to selected counter 2025-06-16 22:41:33 -07:00
33caa636d7 Clean up some files 2025-06-16 22:41:33 -07:00
6fb29a6246 Style grenade indicators without svg 2025-06-16 22:41:33 -07:00
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
56bbbd9361 Don't throw error when no squads to view 2025-06-16 22:41:33 -07:00
f70527bebb Make laser weapon symbol more legible 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
d886028a76 Deselect when view changes to another squad 2025-06-16 22:41:33 -07:00
97af8d3e86 Fix firing arcs for squads 2025-06-16 22:41:33 -07:00
4cefa1fd32 Fix building2 corner 2025-06-16 22:41:33 -07:00
81851d0bde Clean up 2025-06-16 22:41:33 -07:00
b7c6cc8936 Get mech template placement working again 2025-06-16 22:41:33 -07:00
76eb662bcd Get sight line working again 2025-06-16 22:41:33 -07:00
2499b8c268 Wire clear-hex dialog back up 2025-06-16 22:41:33 -07:00
e4d88c3ebe Use pointerovers for setup/teardown; don't rely on pointerouts 2025-06-16 22:41:33 -07:00
67602d664e WIP: trying just using pointerovers 2025-06-16 22:41:33 -07:00
a2adadf1f8 Get rid of small space at bottom of page 2025-06-16 22:41:33 -07:00
53d6c6742a Ok, hover and firing arc doesn't get stuck at all
Not sure about counters
2025-06-16 22:41:33 -07:00
2b88b9fa8c Clean up 2025-06-16 22:41:33 -07:00
31a0ea2b47 Some cleanup 2025-06-16 22:41:33 -07:00
8c2d8054a1 I feel like I might have it? 2025-06-16 22:41:33 -07:00
cefd44f67a I feel like I'm close 2025-06-16 22:41:33 -07:00
0d5f4f5311 WIP: pointer events test 2025-06-16 22:41:33 -07:00
16001d0d47 Fix border inputs box-sizing 2025-06-16 22:41:33 -07:00
c999f6b66d Fix edge inputs container getting pointer events 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
264dd1ab3f Add clear hex contents dialog 2025-06-16 22:41:33 -07:00
f48928a3d4 Add some team color counters 2025-06-16 22:41:33 -07:00
337da46305 Remove prone toggle 2025-06-16 22:41:33 -07:00
0fa99dd283 Place trooper counter under other counters 2025-06-16 22:41:33 -07:00
05e74bc33e Handle clicks in grid-top cell 2025-06-16 22:41:33 -07:00
1233d8e66c Good-for-now fix to counter positions for webkit 2025-06-16 22:41:33 -07:00
07af5d6ea7 Clear hover on pointerout? 2025-06-16 22:41:33 -07:00
1132ab4c53 Fix counters radial dispersal when in grid-top 2025-06-16 22:41:33 -07:00
10558ce915 Fix arrangeCounters 2025-06-16 22:41:33 -07:00
b8fc681e53 WIP: solution to bringing active element to top? 2025-06-16 22:41:33 -07:00
08cdbe0565 Fix distance calculation 2025-06-16 22:41:33 -07:00