136 Commits

Author SHA1 Message Date
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
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
53d6c6742a Ok, hover and firing arc doesn't get stuck at all
Not sure about counters
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
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
07af5d6ea7 Clear hover on pointerout? 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
b9aa686528 Capture pan-zoom pointer sooner 2025-06-16 22:41:33 -07:00
f1084b826b Clean up some counters code 2025-06-16 22:41:33 -07:00
edb5af99c7 WIP: add multiple counters to troopers and cells 2025-06-16 22:41:33 -07:00
6f292102e4 WIP: counters 2025-06-16 22:41:33 -07:00
de74246a9c WIP: arrange elements in a circle 2025-06-16 22:41:33 -07:00
dfda05dc3a WIP: add fallen mech and vehicle templates 2025-06-16 22:41:32 -07:00
3887c64ff9 WIP: Turn/torso-twist mech template on keypress 2025-06-16 22:41:32 -07:00
52f80acf3c Clean up mech template 2025-06-16 22:41:32 -07:00
59da49f8c9 WIP: add mech template counter 2025-06-16 22:41:32 -07:00
b98512b6f0 WIP: Render buildings already in gameboard when scenario is loaded 2025-06-16 22:41:32 -07:00
479cde7b91 Make record sheet allegiance name text smaller to fit 2025-06-16 22:41:32 -07:00
3adf47f6a0 Allow generic maps to be still generated 2025-06-16 22:41:32 -07:00
46a3a93a37 Clone template instead of modifying original 2025-06-16 22:41:32 -07:00
ccd1d5eabc Build scenarios from scenario files 2025-06-16 22:41:32 -07:00
5c2f369ac3 Fix deselecting when counter is not on the board 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
2fa516950b WIP: split hexes and building structure into different layers 2025-06-16 22:41:32 -07:00
fb0e8847b3 Update updateSightLine for cube coords 2025-06-16 22:41:32 -07:00
2d3a8df1a8 Update deleteClone for cube coords 2025-06-16 22:41:32 -07:00
ad48a076e6 WIP: get sightline working after cube coords update 2025-06-16 22:41:32 -07:00
31cd389b46 Fix vectorAdd calculation; draw grid hexes after buildings 2025-06-16 22:41:32 -07:00
e7aebda9dc Fix elevation view styles 2025-06-16 22:41:32 -07:00