the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2
3#include "UIScene.h"
4
5class UIScene_DLCMainMenu : public UIScene
6{
7private:
8 enum EControls
9 {
10 eControl_OffersList,
11 };
12
13 UIControl_DynamicButtonList m_buttonListOffers;
14 UIControl_Label m_labelOffers, m_labelXboxStore;
15 UIControl m_Timer;
16 UI_BEGIN_MAP_ELEMENTS_AND_NAMES(UIScene)
17 UI_MAP_ELEMENT( m_buttonListOffers, "OffersList")
18 UI_MAP_ELEMENT( m_labelOffers, "OffersList_Title")
19 UI_MAP_ELEMENT( m_Timer, "Timer")
20 if(m_loadedResolution == eSceneResolution_1080)
21 {
22 UI_MAP_ELEMENT( m_labelXboxStore, "XboxLabel" )
23 }
24 UI_END_MAP_ELEMENTS_AND_NAMES()
25
26 static int ExitDLCMainMenu(void *pParam,int iPad,C4JStorage::EMessageResult result);
27
28#if defined(__PS3__) || defined(__ORBIS__) || defined (__PSVITA__)
29 bool m_bCategoriesShown;
30#endif
31
32public:
33 UIScene_DLCMainMenu(int iPad, void *initData, UILayer *parentLayer);
34 ~UIScene_DLCMainMenu();
35 virtual void handleTimerComplete(int id);
36 virtual void handleGainFocus(bool navBack);
37
38 virtual EUIScene getSceneType() { return eUIScene_DLCMainMenu;}
39 virtual void tick();
40 virtual void updateTooltips();
41
42protected:
43 // TODO: This should be pure virtual in this class
44 virtual wstring getMoviePath();
45
46public:
47 // INPUT
48 virtual void handleInput(int iPad, int key, bool repeat, bool pressed, bool released, bool &handled);
49 virtual void handlePress(F64 controlId, F64 childId);
50};