226 Commits

Author SHA1 Message Date
bdb9286e78 Build scenario files 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
cea0cecc5f WIP: dynamically add references to scenario svg 2025-06-16 22:41:31 -07:00
df809ab174 Update scenario test fixture 2025-06-16 22:41:31 -07:00
4075fd97f9 Try to simplify trooper counter 2025-06-16 22:41:31 -07:00
c89a152713 Refactor esbuild server file 2025-06-16 22:41:31 -07:00
1a4fc73442 Move takeScreenshot() function into a test helper file 2025-06-16 22:41:31 -07:00
effb3c9e21 Add some select tests 2025-06-16 22:41:31 -07:00
4a546ea443 WIP: select counter test 2025-06-16 22:41:31 -07:00
2ad700474c Clean up server.cjs 2025-06-16 22:41:31 -07:00
488ebb384b Import mapsheets.svg 2025-06-16 22:41:31 -07:00
16fb0dab2e Tried importing svgs in an esbuild plugin 2025-06-16 22:41:31 -07:00
0adde063d9 WIP: add mimetypes to response headers 2025-06-16 22:41:31 -07:00
869d945106 Use a proxy to set cache-control header on responses 2025-06-16 22:41:31 -07:00
4729aa7273 WIP: use esbuild to bust cache for mapsheets.svg 2025-06-16 22:41:31 -07:00
de1b9e2689 WIP: mock selenium response 2025-06-16 22:41:31 -07:00
9f4ff16638 WIP: intercept request in test 2025-06-16 22:41:31 -07:00
5f7c980ad5 Minor refactor 2025-06-16 22:41:31 -07:00
e29bd0fb0f Don't export unnecessary functions 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
0a84d99ce6 Fix custom affiliation names 2025-06-16 22:41:31 -07:00
98834ec607 Fix show/hide record sheet toggle 2025-06-16 22:41:31 -07:00
99029c6c93 Delete some unused styles 2025-06-16 22:41:31 -07:00
224aa06db5 Make record sheet weapon icons bigger 2025-06-16 22:41:31 -07:00
a528a96736 Record sheet layout 2025-06-16 22:41:31 -07:00
c0a6440b48 WIP: record sheet layout 2025-06-16 22:41:30 -07:00
142d472e06 Add weapon icons to record sheet 2025-06-16 22:41:30 -07:00
e4c1aaaf4f Simplify loading scenarios 2025-06-16 22:41:30 -07:00
33c43c3914 Change furniture and tree/bush colors 2025-06-16 22:41:30 -07:00
baa1d34578 Change attacker color from green to blue; change trace color 2025-06-16 22:41:30 -07:00
e16e76664c Add elevation label to buildings on mapsheets 2025-06-16 22:41:30 -07:00
bb96b22379 Rename furniture dresser to cabinet 2025-06-16 22:41:30 -07:00
264e6115eb Clean up scenario files 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
5b34fd672b Finish furniture, recenter maps 2025-06-16 22:41:30 -07:00
a4e9d6e39c Add furniture 2025-06-16 22:41:30 -07:00
5836432013 Tree grove and map 4 building 2025-06-16 22:41:30 -07:00
d7f54a2255 Make map dot pattern 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
591edb4165 WIP: remove symlink 2025-06-16 22:41:30 -07:00
991fa5da26 Add some high-element maps to test performance 2025-06-16 22:41:30 -07:00
c1f516be2a Don't blow up if weapon element missing from trooper counters 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