52 Commits

Author SHA1 Message Date
36bbe584be WIP: sight line 2025-06-16 22:41:28 -07:00
9e7069ef13 Fix firing arc position 2025-06-16 22:41:28 -07:00
8b66c4c304 Select soldier by clicking on their counter; allow locking on another counter vs the hex 2025-06-16 22:41:28 -07:00
a67bff184b WIP: fix sight line 2025-06-16 22:41:28 -07:00
da6916c0e6 WIP: put everything on the same hex in a group together; get rid of x and y coordinates on counters completely 2025-06-16 22:41:28 -07:00
82e55333bb Fix ending turn not selecting active counter 2025-06-16 22:41:28 -07:00
6a0ab60dc2 Fix using duplicate ids for counters and clip paths 2025-06-16 22:41:28 -07:00
18bb0b885a Fix 'pan event being cancelled by the browser' bug 2025-06-16 22:41:28 -07:00
363b551068 Add prone counters 2025-06-16 22:41:28 -07:00
2da40de2fc Toggle allegiance firing arc visibility 2025-06-16 22:41:28 -07:00
17e6a7812f Fix unselecting selected record 2025-06-16 22:41:28 -07:00
5fa5320713 Clear sightline when counter moves back along move trace 2025-06-16 22:41:28 -07:00
d34072b03a Use right mouse button for setting sight line 2025-06-16 22:41:28 -07:00
91b5e53e9d WIP: more refactor 2025-06-16 22:41:28 -07:00
242445c907 WIP: refactor 2025-06-16 22:41:28 -07:00
c7abbe9ded Movement history 2025-06-16 22:41:28 -07:00
925b5f08ca Overlaying firing arcs don't just keep getting darker and darker 2025-06-16 22:41:28 -07:00
178be98ed7 End turn 2025-06-16 22:41:28 -07:00
5276532e70 WIP: end movement, turn buttons 2025-06-16 22:41:28 -07:00
89251d0235 Make sight-line stationary on click 2025-06-16 22:41:28 -07:00
a15e327229 WIP: sight line, distance 2025-06-16 22:41:28 -07:00
d438469e33 WIP: sight line and hex count 2025-06-16 22:41:28 -07:00
819fef2e67 WIP: line draw, localstorage settings 2025-06-16 22:41:28 -07:00
4bcfa0a897 Use matrix transform to calculate counter coordinates 2025-06-16 22:41:28 -07:00
5704b2a5b8 Add adjustment debug panel 2025-06-16 22:41:28 -07:00
a23f942f8d Capture pointer when panning svg 2025-06-16 22:41:28 -07:00
e16aa83800 Pan the map when clicked and dragged 2025-06-16 22:41:28 -07:00
aeccb04d3c Increase map to 2 map sheets; fix some layout/styles 2025-06-16 22:41:28 -07:00
2e3ae844ba WIP: think I got zoom working? 2025-06-16 22:41:28 -07:00
bc24a3b94d WIP: zoom 2025-06-16 22:41:28 -07:00
c22140ff22 Only remove clicked counter if counter's soldier is currently selected 2025-06-16 22:41:28 -07:00
df2be3d36a Add line of sight 2025-06-16 22:41:28 -07:00
6349c58123 Clean up some styles 2025-06-16 22:41:28 -07:00
4e9eb8cdca Add 'Clear Firing Arcs' buttons 2025-06-16 22:41:28 -07:00
a2d7e22c23 Add physical status track to soldier records 2025-06-16 22:41:28 -07:00
64cbc94bdc WIP: template work 2025-06-16 22:41:28 -07:00
24456b95d4 WIP: 3-state css? 2025-06-16 22:41:28 -07:00
015bf03921 Fix corner finding algo for firing arc cone coverage 2025-06-16 22:41:28 -07:00
d5ae4253c8 Refactor large function 2025-06-16 22:41:28 -07:00
7a10870d55 Add some symmetry to edge point calculation function 2025-06-16 22:41:28 -07:00
f372f47e3a Some cleanup 2025-06-16 22:41:28 -07:00
65962f6266 Fill firing arcs to map edge 2025-06-16 22:41:28 -07:00
1a0872916d Some cleanup 2025-06-16 22:41:28 -07:00
ec218f8940 WIP: draw firing arc cone lines to map edge 2025-06-16 22:41:28 -07:00
46717cd9a0 WIP: firing arcs: fix cone angle calculation 2025-06-16 22:41:28 -07:00
941b51e93a WIP: firing arc cone angle does not change while rotating about pivot point 2025-06-16 22:41:28 -07:00
37901a3813 WIP: firing arc cone 2025-06-16 22:41:28 -07:00
eba2a7f786 WIP: polyline firing arc 2025-06-16 22:41:28 -07:00
8a878145fc Clean up a bit 2025-06-16 22:41:28 -07:00
9dd9aca21f WIP: firing arcs: draw line to edge of map 2025-06-16 22:41:28 -07:00