Saving and loading saves items in proper sorted order. Fixed bug with get inventory slot function. Connection point data is now static.
This commit is contained in:
@@ -56,5 +56,9 @@ void Menu::InitializeOverworldMenuWindow(){
|
||||
})END;
|
||||
overworldMenuWindow->ADD("Inventory Button",MenuComponent)({{4,12+28*2},{88,24}},"Inventory",[](MenuFuncData data){Menu::OpenMenu(INVENTORY);return true;})END;
|
||||
overworldMenuWindow->ADD("Settings Button",MenuComponent)({{4,12+28*3},{88,24}},"Settings",[](MenuFuncData data){/*Menu::OpenMenu(SETTINGS_MENU);*/return true;})END;
|
||||
overworldMenuWindow->ADD("Quit Button",MenuComponent)({{4,12+28*4},{88,24}},"Quit Game",[](MenuFuncData data){game->EndGame();return true;})END;
|
||||
overworldMenuWindow->ADD("Quit Button",MenuComponent)({{4,12+28*4},{88,24}},"Quit Game",[](MenuFuncData data){
|
||||
Menu::CloseAllMenus();
|
||||
game->ResetGame();
|
||||
return true;
|
||||
})END;
|
||||
}
|
||||
Reference in New Issue
Block a user