forked from cafeberry/cafeberry
added some kbm stuff
This commit is contained in:
@@ -204,26 +204,32 @@ void UIScene_BrewingStandMenu::GetItemScreenData( ESceneSection eSection, int iI
|
||||
case eSectionBrewingBottle1:
|
||||
sectionSize.x = m_slotListBottles[0].getWidth();
|
||||
sectionSize.y = m_slotListBottles[0].getHeight();
|
||||
FixSlotGridSize(eSection, m_slotListBottles[0], sectionSize);
|
||||
break;
|
||||
case eSectionBrewingBottle2:
|
||||
sectionSize.x = m_slotListBottles[1].getWidth();
|
||||
sectionSize.y = m_slotListBottles[1].getHeight();
|
||||
FixSlotGridSize(eSection, m_slotListBottles[1], sectionSize);
|
||||
break;
|
||||
case eSectionBrewingBottle3:
|
||||
sectionSize.x = m_slotListBottles[2].getWidth();
|
||||
sectionSize.y = m_slotListBottles[2].getHeight();
|
||||
FixSlotGridSize(eSection, m_slotListBottles[2], sectionSize);
|
||||
break;
|
||||
case eSectionBrewingIngredient:
|
||||
sectionSize.x = m_slotListIngredient.getWidth();
|
||||
sectionSize.y = m_slotListIngredient.getHeight();
|
||||
FixSlotGridSize(eSection, m_slotListIngredient, sectionSize);
|
||||
break;
|
||||
case eSectionBrewingInventory:
|
||||
sectionSize.x = m_slotListInventory.getWidth();
|
||||
sectionSize.y = m_slotListInventory.getHeight();
|
||||
FixSlotGridSize(eSection, m_slotListInventory, sectionSize);
|
||||
break;
|
||||
case eSectionBrewingUsing:
|
||||
sectionSize.x = m_slotListHotbar.getWidth();
|
||||
sectionSize.y = m_slotListHotbar.getHeight();
|
||||
FixSlotGridSize(eSection, m_slotListHotbar, sectionSize);
|
||||
break;
|
||||
default:
|
||||
assert( false );
|
||||
|
||||
Reference in New Issue
Block a user