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:
+3
-3
@@ -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]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user