Moved all the start box options into a modal. This cleans up the main battle UI and allows a user to set specific start box configurations without calling lots of votes.
Converted MapPreview entirely to the pixi.js version
Slightly optimized pixi.js preview
Changed BattlePreview to use MapOverviewCard instead of MapPreview, because it's cheaper and it looks nicer in this context
What's broken
Map canvas really likes to overflow its container at certain window sizes. Unsure how to fix this, I tried a bunch of things and nothing worked reliable
What still needs to be done
Maybe a little styling
Manual startbox editing a la chobby. This will probably happen in a later PR, I don't believe that big feature addition needs to hold up these changes.
Code notes
I changed up the handling of default start boxes a fair bit, and added an enum because it was the easiest way to solve a couple problems. I know you're not a big fan of these Jaz, so I can change this if it's a problem.
Work done
What's broken
Map canvas really likes to overflow its container at certain window sizes. Unsure how to fix this, I tried a bunch of things and nothing worked reliable
What still needs to be done
Code notes
I changed up the handling of default start boxes a fair bit, and added an enum because it was the easiest way to solve a couple problems. I know you're not a big fan of these Jaz, so I can change this if it's a problem.