the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 44 lines 1.6 kB view raw
1#pragma once 2 3#include "UIScene_AbstractContainerMenu.h" 4#include "IUIScene_FireworksMenu.h" 5 6class InventoryMenu; 7 8class UIScene_FireworksMenu : public UIScene_AbstractContainerMenu, public IUIScene_FireworksMenu 9{ 10public: 11 UIScene_FireworksMenu(int iPad, void *initData, UILayer *parentLayer); 12 13 virtual EUIScene getSceneType() { return eUIScene_FireworksMenu;} 14 15protected: 16 UIControl_SlotList m_slotListResult, m_slotList3x3, m_slotList2x2; 17 UIControl_Label m_labelFireworks; 18 IggyName m_funcShowLargeCraftingGrid; 19 20 UI_BEGIN_MAP_ELEMENTS_AND_NAMES(UIScene_AbstractContainerMenu) 21 UI_BEGIN_MAP_CHILD_ELEMENTS( m_controlMainPanel ) 22 UI_MAP_ELEMENT( m_slotListResult, "Result") 23 UI_MAP_ELEMENT( m_slotList3x3, "Fireworks3x3") 24 UI_MAP_ELEMENT( m_slotList2x2, "Fireworks2x2") 25 UI_MAP_ELEMENT( m_labelFireworks, "FireworksLabel") 26 27 UI_MAP_NAME( m_funcShowLargeCraftingGrid, L"ShowLargeCraftingGrid") 28 UI_END_MAP_CHILD_ELEMENTS() 29 UI_END_MAP_ELEMENTS_AND_NAMES() 30 31 virtual wstring getMoviePath(); 32 virtual void handleReload(); 33 34 virtual int getSectionColumns(ESceneSection eSection); 35 virtual int getSectionRows(ESceneSection eSection); 36 virtual void GetPositionOfSection( ESceneSection eSection, UIVec2D* pPosition ); 37 virtual void GetItemScreenData( ESceneSection eSection, int iItemIndex, UIVec2D* pPosition, UIVec2D* pSize ); 38 virtual void handleSectionClick(ESceneSection eSection) {} 39 virtual void setSectionSelectedSlot(ESceneSection eSection, int x, int y); 40 41 virtual UIControl *getSection(ESceneSection eSection); 42 43 void ShowLargeCraftingGrid(boolean bShow); 44};