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_ReinstallMenu : public UIScene
6{
7private:
8 enum EControls
9 {
10 eControl_Theme,
11 eControl_Gamerpic1,
12 eControl_Gamerpic2,
13 eControl_Avatar1,
14 eControl_Avatar2,
15 eControl_Avatar3,
16 eControl_COUNT,
17 };
18 UIControl_Button m_buttons[eControl_COUNT];
19 UI_BEGIN_MAP_ELEMENTS_AND_NAMES(UIScene)
20 UI_MAP_ELEMENT( m_buttons[eControl_Theme], "Button1")
21 UI_MAP_ELEMENT( m_buttons[eControl_Gamerpic1], "Button2")
22 UI_MAP_ELEMENT( m_buttons[eControl_Gamerpic2], "Button3")
23 UI_MAP_ELEMENT( m_buttons[eControl_Avatar1], "Button4")
24 UI_MAP_ELEMENT( m_buttons[eControl_Avatar2], "Button5")
25 UI_MAP_ELEMENT( m_buttons[eControl_Avatar3], "Button6")
26 UI_END_MAP_ELEMENTS_AND_NAMES()
27
28 //bool m_bNotInGame;
29public:
30 UIScene_ReinstallMenu(int iPad, void *initData, UILayer *parentLayer);
31
32 virtual EUIScene getSceneType() { return eUIScene_ReinstallMenu;}
33
34 virtual void updateTooltips();
35 virtual void updateComponents();
36
37protected:
38 // TODO: This should be pure virtual in this class
39 virtual wstring getMoviePath();
40
41public:
42 // INPUT
43 virtual void handleInput(int iPad, int key, bool repeat, bool pressed, bool released, bool &handled);
44
45protected:
46 void handlePress(F64 controlId, F64 childId);
47};