first commit

This commit is contained in:
murdle
2026-03-01 02:38:58 +02:00
commit 19250b9db4
19111 changed files with 4358159 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
#pragma once
#include "UIScene_AbstractContainerMenu.h"
#include "IUIScene_BrewingMenu.h"
class InventoryMenu;
class UIScene_BrewingStandMenu : public UIScene_AbstractContainerMenu, public IUIScene_BrewingMenu
{
private:
shared_ptr<BrewingStandTileEntity> m_brewingStand;
public:
UIScene_BrewingStandMenu(int iPad, void *initData, UILayer *parentLayer);
virtual EUIScene getSceneType() { return eUIScene_BrewingStandMenu;}
protected:
UIControl_SlotList m_slotListBottles[3], m_slotListIngredient;
UIControl_Label m_labelBrewingStand;
UIControl_Progress m_progressBrewingArrow, m_progressBrewingBubbles;
UI_BEGIN_MAP_ELEMENTS_AND_NAMES(UIScene_AbstractContainerMenu)
UI_BEGIN_MAP_CHILD_ELEMENTS( m_controlMainPanel )
UI_MAP_ELEMENT( m_slotListBottles[0], "Bottle1")
UI_MAP_ELEMENT( m_slotListBottles[1], "Bottle2")
UI_MAP_ELEMENT( m_slotListBottles[2], "Bottle3")
UI_MAP_ELEMENT( m_slotListIngredient, "Ingredient")
UI_MAP_ELEMENT( m_labelBrewingStand, "BrewingStandText")
UI_MAP_ELEMENT( m_progressBrewingArrow, "BrewingArrow")
UI_MAP_ELEMENT( m_progressBrewingBubbles, "BrewingBubbles")
UI_END_MAP_CHILD_ELEMENTS()
UI_END_MAP_ELEMENTS_AND_NAMES()
virtual wstring getMoviePath();
virtual void handleReload();
virtual void tick();
virtual int getSectionColumns(ESceneSection eSection);
virtual int getSectionRows(ESceneSection eSection);
virtual void GetPositionOfSection( ESceneSection eSection, UIVec2D* pPosition );
virtual void GetItemScreenData( ESceneSection eSection, int iItemIndex, UIVec2D* pPosition, UIVec2D* pSize );
virtual void handleSectionClick(ESceneSection eSection) {}
virtual void setSectionSelectedSlot(ESceneSection eSection, int x, int y);
virtual UIControl *getSection(ESceneSection eSection);
};