47 Commits

Author SHA1 Message Date
Catalin Mititiuc
a618b160d0 Fix ending turn not selecting active counter 2024-04-05 09:52:40 -07:00
Catalin Mititiuc
8bd67fbee2 Fix using duplicate ids for counters and clip paths 2024-04-04 15:52:56 -07:00
Catalin Mititiuc
b75a92bfe3 Fix 'pan event being cancelled by the browser' bug 2024-04-04 15:14:16 -07:00
Catalin Mititiuc
9e653d0681 Add prone counters 2024-04-04 09:04:05 -07:00
Catalin Mititiuc
adc67da606 Toggle allegiance firing arc visibility 2024-04-03 14:22:33 -07:00
Catalin Mititiuc
dc56db385c Fix unselecting selected record 2024-04-03 13:18:35 -07:00
Catalin Mititiuc
24aa825bc6 Clear sightline when counter moves back along move trace 2024-04-03 13:14:23 -07:00
Catalin Mititiuc
616bdf15d9 Use right mouse button for setting sight line 2024-04-03 09:40:20 -07:00
Catalin Mititiuc
202f3ffa6c WIP: more refactor 2024-04-02 21:58:29 -07:00
Catalin Mititiuc
7dfea639fb WIP: refactor 2024-04-02 19:26:41 -07:00
Catalin Mititiuc
fbb9663183 Movement history 2024-04-02 15:57:47 -07:00
Catalin Mititiuc
b03ab287e0 Overlaying firing arcs don't just keep getting darker and darker 2024-04-01 14:06:25 -07:00
Catalin Mititiuc
6711c88125 End turn 2024-04-01 12:58:22 -07:00
Catalin Mititiuc
5c1dfbca50 WIP: end movement, turn buttons 2024-04-01 12:20:04 -07:00
Catalin Mititiuc
69b1d8252e Make sight-line stationary on click 2024-03-31 15:52:29 -07:00
Catalin Mititiuc
7fa416ee1a WIP: sight line, distance 2024-03-31 12:41:28 -07:00
Catalin Mititiuc
8332ce9bea WIP: sight line and hex count 2024-03-31 11:48:43 -07:00
Catalin Mititiuc
798658a826 WIP: line draw, localstorage settings 2024-03-30 19:58:55 -07:00
Catalin Mititiuc
45cfef270f Use matrix transform to calculate counter coordinates 2024-03-29 16:30:43 -07:00
Catalin Mititiuc
694f2dbb24 Add adjustment debug panel 2024-03-29 12:30:20 -07:00
Catalin Mititiuc
6122d612d4 Capture pointer when panning svg 2024-03-28 14:23:23 -07:00
Catalin Mititiuc
a715a966f6 Pan the map when clicked and dragged 2024-03-28 12:04:53 -07:00
Catalin Mititiuc
6c940cf89a Increase map to 2 map sheets; fix some layout/styles 2024-03-27 14:31:32 -07:00
Catalin Mititiuc
77bbf5b826 WIP: think I got zoom working? 2024-03-26 16:02:57 -07:00
Catalin Mititiuc
42428e3643 WIP: zoom 2024-03-26 11:45:37 -07:00
Catalin Mititiuc
b2a68f8d76 Only remove clicked counter if counter's soldier is currently selected 2024-03-25 14:25:59 -07:00
Catalin Mititiuc
8bdc269609 Add line of sight 2024-03-25 14:00:15 -07:00
Catalin Mititiuc
de5f3c2666 Clean up some styles 2024-03-25 12:54:27 -07:00
Catalin Mititiuc
fd7bccda92 Add 'Clear Firing Arcs' buttons 2024-03-25 11:09:28 -07:00
Catalin Mititiuc
16843364d3 Add physical status track to soldier records 2024-03-25 10:44:28 -07:00
Catalin Mititiuc
b5143808d2 WIP: template work 2024-03-24 16:42:49 -07:00
Catalin Mititiuc
51f2656ad9 WIP: 3-state css? 2024-03-23 13:48:10 -07:00
Catalin Mititiuc
17e6864d69 Fix corner finding algo for firing arc cone coverage 2024-03-22 21:52:02 -07:00
Catalin Mititiuc
9f8c563c98 Refactor large function 2024-03-22 17:07:00 -07:00
Catalin Mititiuc
7d9073eebf Add some symmetry to edge point calculation function 2024-03-22 16:58:12 -07:00
Catalin Mititiuc
e6cc5d687e Some cleanup 2024-03-22 16:50:12 -07:00
Catalin Mititiuc
6ac0473a10 Fill firing arcs to map edge 2024-03-22 16:49:57 -07:00
Catalin Mititiuc
afadb8022d Some cleanup 2024-03-22 15:07:52 -07:00
Catalin Mititiuc
b24460efc3 WIP: draw firing arc cone lines to map edge 2024-03-22 11:53:28 -07:00
Catalin Mititiuc
aba937c459 WIP: firing arcs: fix cone angle calculation 2024-03-21 22:23:58 -07:00
Catalin Mititiuc
7da963cd8e WIP: firing arc cone angle does not change while rotating about pivot point 2024-03-21 16:42:22 -07:00
Catalin Mititiuc
2159804c11 WIP: firing arc cone 2024-03-21 16:19:49 -07:00
Catalin Mititiuc
df548e8425 WIP: polyline firing arc 2024-03-21 12:27:15 -07:00
Catalin Mititiuc
eb5ffc8cb5 Clean up a bit 2024-03-21 10:36:18 -07:00
Catalin Mititiuc
e6fcfb4ac9 WIP: firing arcs: draw line to edge of map 2024-03-20 19:15:17 -07:00
Catalin Mititiuc
8ebaacfbf6 WIP: firing arcs 2024-03-20 11:47:29 -07:00
Catalin Mititiuc
5742a6b8e9 Move troop counters 2024-03-19 11:26:43 -07:00