70 Commits

Author SHA1 Message Date
ccd1d5eabc Build scenarios from scenario files 2025-06-16 22:41:32 -07:00
22614dd27f View squad records 2025-06-16 22:41:32 -07:00
13e0c5f084 Make stairs visible on roof levels 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
d02bd161b6 Allow selecting elevation level with up/down buttons 2025-06-16 22:41:32 -07:00
fdf59d5c0d WIP: edge UI style 2025-06-16 22:41:32 -07:00
2e465b69af WIP: floating edge UI 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
e7aebda9dc Fix elevation view styles 2025-06-16 22:41:32 -07:00
fdb3840564 WIP: render radial coord hexes/maps 2025-06-16 22:41:32 -07:00
f534a22c2e Extract scenario-build function into separate module 2025-06-16 22:41:31 -07:00
35c569ffef WIP: Fill in some of the 'load scenario' tests 2025-06-16 22:41:31 -07:00
2dfd5cdac3 WIP: modify dev server to use as test server, also 2025-06-16 22:41:31 -07:00
c424c1fef2 Fix load scenario transition fade out 2025-06-16 22:41:31 -07:00
a406fa55d5 Fix toggle content vis 2025-06-16 22:41:31 -07:00
7b5fd7590b WIP: Fix pan-zoom for webkit 2025-06-16 22:41:31 -07:00
3de614c8ee Don't use custom built-in elements because they are not supported in webkit 2025-06-16 22:41:31 -07:00
c46c361217 Fix/refactor tests 2025-06-16 22:41:31 -07:00
dac61e6121 WIP: use scenario template to build scenarios client-side 2025-06-16 22:41:31 -07:00
f53358216c Fix storing scenario in local storage 2025-06-16 22:41:31 -07:00
7f5829a534 WIP: put all svg refs in scenario file at build time 2025-06-16 22:41:31 -07:00
488ebb384b Import mapsheets.svg 2025-06-16 22:41:31 -07:00
de1b9e2689 WIP: mock selenium response 2025-06-16 22:41:31 -07:00
96739897ec Use observable for showing hex distance count 2025-06-16 22:41:31 -07:00
5453b87db7 Use observable for end move and prone flag 2025-06-16 22:41:31 -07:00
9d4952eaad Remove select callbacks and use observable instead 2025-06-16 22:41:31 -07:00
cebf4ca548 Add dice 2025-06-16 22:41:31 -07:00
98834ec607 Fix show/hide record sheet toggle 2025-06-16 22:41:31 -07:00
c0a6440b48 WIP: record sheet layout 2025-06-16 22:41:30 -07:00
e4c1aaaf4f Simplify loading scenarios 2025-06-16 22:41:30 -07:00
7e4fe779de Make scenario files; consolidate mapsheets into one file 2025-06-16 22:41:30 -07:00
32147aaa4a Building layouts complete 2025-06-16 22:41:30 -07:00
379ff877f9 WIP: Buildings 2025-06-16 22:41:30 -07:00
873a5939ef Apply styles and map script to manually loaded files 2025-06-16 22:41:30 -07:00
9769b26ddb Add ability to load a map file manually 2025-06-16 22:41:30 -07:00
fd99c0d839 Rename variables for clarity 2025-06-16 22:41:30 -07:00
73cbf3e6dd WIP: add fullscreen and download save abilities 2025-06-16 22:41:30 -07:00
19b1a0aadd Fix bad path set for object data prop 2025-06-16 22:41:30 -07:00
13c0a98f1b Change double quotes to single 2025-06-16 22:41:30 -07:00
17e28ba214 Organize public directory contents into assets folders 2025-06-16 22:41:29 -07:00
49d77d249d Organize index.js a bit better 2025-06-16 22:41:29 -07:00
e3d642c994 Use an observer to create new object element when data attribute is changed 2025-06-16 22:41:29 -07:00
0cf32e65f7 WIP: recreate object element when loading maps to avoid node warnings about dangling file handles 2025-06-16 22:41:29 -07:00
8970c1f59e Refactor index.js 2025-06-16 22:41:29 -07:00
17fd1c813b Create record sheet dynamically when map is loaded 2025-06-16 22:41:29 -07:00
c0556d2bd4 Remove a console.log 2025-06-16 22:41:29 -07:00
bb92a6b4ba Restore content visibility on page reload 2025-06-16 22:41:29 -07:00
b980544203 Add ability to change maps 2025-06-16 22:41:29 -07:00
3e513c5684 Rename some files 2025-06-16 22:41:29 -07:00
58c5d8dd63 Some cleanup 2025-06-16 22:41:29 -07:00