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:
2024-01-01 07:49:07 -06:00
parent 0d6ab94fda
commit ad1e2260cf
24 changed files with 271 additions and 406 deletions
+5 -1
View File
@@ -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;
}