Update Stage Plates to include the level type. Created Overworld Menu, and Initialized Character Menu. Story and shops no longer have the change loadout buttons.

This commit is contained in:
2023-11-29 23:52:43 -06:00
parent 25b6dc0299
commit 4463fbbae5
14 changed files with 199 additions and 42 deletions
+3 -3
View File
@@ -65,7 +65,6 @@ std::vector<MenuComponent*>Menu::unhandledComponents;
//////////////////////////////////////////////////////////////////////////////////////////////////
MenuType Menu::lastMenuTypeCreated;
std::string Menu::lastRegisteredComponent;
bool Menu::cover;
INCLUDE_game
INCLUDE_GFX
@@ -96,6 +95,8 @@ void Menu::InitializeMenus(){
InitializeOverworldMapLevelWindow();
InitializeItemLoadoutWindow();
InitializeLevelCompleteWindow();
InitializeOverworldMenuWindow();
InitializeCharacterMenuWindow();
for(MenuType type=TEST;type<MenuType::ENUM_END;type=MenuType(int(type+1))){
if(menus.count(type)==0){
@@ -384,8 +385,7 @@ void Menu::Draw(Crawler*game){
};
void Menu::OpenMenu(MenuType menu,bool cover){
Menu::cover=cover;
stack.clear();
menus[menu]->cover=cover;
stack.push_back(menus[menu]);
}