the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 45 lines 1.0 kB view raw
1#pragma once 2 3#include "UIScene.h" 4 5class UIScene_NewUpdateMessage : public UIScene 6{ 7private: 8 enum EControls 9 { 10 eControl_Confirm, 11 }; 12 13 bool m_bIgnoreInput; 14 15 UIControl_Button m_buttonConfirm; 16 UIControl_DynamicLabel m_labelDescription; 17 UI_BEGIN_MAP_ELEMENTS_AND_NAMES(UIScene) 18 UI_MAP_ELEMENT(m_buttonConfirm, "AcceptButton") 19 UI_MAP_ELEMENT(m_labelDescription, "EULAtext") 20 UI_END_MAP_ELEMENTS_AND_NAMES() 21 22public: 23 UIScene_NewUpdateMessage(int iPad, void *initData, UILayer *parentLayer); 24 ~UIScene_NewUpdateMessage(); 25 26 virtual EUIScene getSceneType() { return eUIScene_EULA;} 27 28 // Returns true if this scene has focus for the pad passed in 29#ifndef __PS3__ 30 virtual bool hasFocus(int iPad) { return bHasFocus; } 31#endif 32 virtual void updateTooltips(); 33 34protected: 35 virtual wstring getMoviePath(); 36 37public: 38 // INPUT 39 virtual void handleInput(int iPad, int key, bool repeat, bool pressed, bool released, bool &handled); 40 41protected: 42 void handlePress(F64 controlId, F64 childId); 43 44 virtual long long getDefaultGtcButtons() { return 0; } 45};