216 Commits

Author SHA1 Message Date
39c939ebaf Extract reveal record logic into a function 2024-08-07 11:03:14 -07:00
0ff2d23093 Extract armor setup into function 2024-08-07 10:58:37 -07:00
cec78881d1 Extract record deactivation event handler function 2024-08-07 10:52:37 -07:00
0783d703c1 WIP: very rough armor 2024-08-06 19:51:22 -07:00
c6cdbcf492 Don't throw error when no squads to view 2024-08-05 17:12:39 -07:00
7c2b441c7c WIP: view squad record sheets 2024-08-05 16:56:46 -07:00
f35d716bd3 WIP: smoothe squad view 2024-08-05 15:29:58 -07:00
34ed6e2a9c Add weapon counters for new weapons 2024-08-02 18:53:02 -07:00
b27a139c9e Add weapons for scenario 2 2024-08-02 16:27:17 -07:00
eb3c919f7d Deselect when view changes to another squad 2024-08-02 14:51:31 -07:00
a042537c8e Fix firing arcs for squads 2024-08-02 14:37:20 -07:00
b7b59c06df Clean up 2024-08-01 16:10:21 -07:00
42af4651c2 Get mech template placement working again 2024-08-01 16:03:30 -07:00
9959b880da Get sight line working again 2024-08-01 15:40:31 -07:00
4c6340f671 Wire clear-hex dialog back up 2024-08-01 14:46:10 -07:00
28e0188ecd Use pointerovers for setup/teardown; don't rely on pointerouts 2024-07-31 17:42:45 -07:00
d270cd8174 WIP: trying just using pointerovers 2024-07-31 16:38:36 -07:00
1687e0e790 Ok, hover and firing arc doesn't get stuck at all
Not sure about counters
2024-07-30 21:08:00 -07:00
63fb4139d5 Add ability to deactivate/reactivate soldier records; make hex clearing work with right-click and add a confirmation modal dialog 2024-07-29 10:29:54 -07:00
e746cfb216 Add clear hex contents dialog 2024-07-28 14:36:56 -07:00
d75fb0b37c Add some team color counters 2024-07-28 12:55:11 -07:00
7183511dbf Remove prone toggle 2024-07-28 12:24:24 -07:00
d2e80b341c Place trooper counter under other counters 2024-07-28 12:05:42 -07:00
165ae72ef2 Handle clicks in grid-top cell 2024-07-28 11:52:22 -07:00
54ad14b3f9 Clear hover on pointerout? 2024-07-26 16:17:23 -07:00
59dfb8d697 Fix arrangeCounters 2024-07-26 15:32:47 -07:00
aadc01376d WIP: solution to bringing active element to top? 2024-07-26 15:11:24 -07:00
4be3df2bdd Fix distance calculation 2024-07-25 17:21:31 -07:00
00581b900f Capture pan-zoom pointer sooner 2024-07-25 14:45:29 -07:00
f503f974f3 Clean up some counters code 2024-07-25 12:42:10 -07:00
f1d67663da WIP: add multiple counters to troopers and cells 2024-07-25 12:25:44 -07:00
5fc598cdd1 WIP: counters 2024-07-23 15:05:58 -07:00
9d44de5f11 WIP: arrange elements in a circle 2024-07-17 19:03:27 -07:00
e2f6fbe291 WIP: add fallen mech and vehicle templates 2024-07-16 18:57:47 -07:00
3f24534eb7 WIP: Turn/torso-twist mech template on keypress 2024-07-16 14:05:11 -07:00
dfbc2590b1 Clean up mech template 2024-07-15 19:30:06 -07:00
b4fee4fde9 WIP: add mech template counter 2024-07-15 18:04:39 -07:00
5763dccbde WIP: Render buildings already in gameboard when scenario is loaded 2024-07-15 14:58:53 -07:00
9b85d20fec Make record sheet allegiance name text smaller to fit 2024-07-15 11:03:56 -07:00
a70c2617d5 Remove hard-coded map data 2024-07-13 11:47:07 -07:00
c0fe040738 Add special transform for building 4, mapsheet 1 2024-07-13 11:44:13 -07:00
5465a0741a Build scenarios from data in SVG files 2024-07-12 18:27:18 -07:00
9c537765ae WIP: normalize generateRadialCoords range 2024-07-12 11:47:11 -07:00
ccb1cb2c75 Allow generic maps to be still generated 2024-07-10 22:41:28 -07:00
0368c8e962 Clean up scenarios; move some styles into .css files 2024-07-10 19:45:42 -07:00
1711863334 Clone template instead of modifying original 2024-07-10 19:29:38 -07:00
b3f902f012 Build scenarios from scenario files 2024-07-10 17:35:18 -07:00
4cf7aaab80 View squad records 2024-07-08 18:13:37 -07:00
16b987f46f Minor cleanup 2024-07-03 11:36:24 -07:00
ae21d408d1 Change elevation level selector selected color 2024-07-03 10:04:58 -07:00