Implemented Loadout selection item buttons, corrected inventory window missing category variables, corrected loadout item selection logic, updated inventory window layout.
This commit is contained in:
@@ -75,7 +75,7 @@ void Menu::InitializeOverworldMapLevelWindow(){
|
||||
levelSelectWindow->AddComponent("Encounters Label",encountersLabel);
|
||||
levelSelectWindow->AddComponent("Spawns List",spawns);
|
||||
|
||||
MenuComponent*changeLoadoutButton=NEW MenuComponent(OVERWORLD_LEVEL_SELECT,{{0,152},{windowSize.x-1,12}},"Change Loadout",INVENTORY,[](MenuFuncData data){return true;});
|
||||
MenuComponent*changeLoadoutButton=NEW MenuComponent(OVERWORLD_LEVEL_SELECT,{{0,152},{windowSize.x-1,12}},"Change Loadout",ITEM_LOADOUT,[](MenuFuncData data){return true;});
|
||||
MenuComponent*enterButton=NEW MenuComponent(OVERWORLD_LEVEL_SELECT,{{0,166},{windowSize.x-1,16}},"Enter",[](MenuFuncData data){State_OverworldMap::StartLevel();return true;});
|
||||
|
||||
levelSelectWindow->AddComponent("Change Loadout Button",changeLoadoutButton);
|
||||
|
||||
Reference in New Issue
Block a user