Setup second chapter boss spawn group, template, and map. Fix issues with being able to click stage plates that were hidden behind the menu or off-screen. Fix crash when item drops spawn in a certain position. Release Build 9585.

This commit is contained in:
2024-06-08 16:44:22 -05:00
parent c738bdac0b
commit 01df50e8da
17 changed files with 97 additions and 20 deletions
+5
View File
@@ -795,4 +795,9 @@ void Menu::ReInitializeInputGroup(){
const bool Menu::GameInitialized()const{
return game->GameInitialized();
}
const bool Menu::IsMouseOverMenu(){
if(Menu::stack.size()==0)return false;
return geom2d::overlaps(game->GetMousePos(),geom2d::rect<float>{Menu::stack.back()->pos-"Interface.9PatchSize"_V.x,Menu::stack.back()->size+"Interface.9PatchSize"_V.y*2});
}