the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 44 lines 1.2 kB view raw
1#pragma once 2 3#include "../media/xuiscene_intro.h" 4 5class CScene_Intro : public CXuiSceneImpl 6{ 7 protected: 8 CXuiScene m_Scene; 9 CXuiControl m_4jlogo; 10 CXuiElement m_grpXbox; 11 12 XUI_BEGIN_MSG_MAP() 13 XUI_ON_XM_INIT( OnInit ) 14 XUI_ON_XM_KEYDOWN(OnKeyDown) 15 XUI_ON_XM_NOTIFY_PRESS_EX(OnNotifyPressEx) 16 XUI_ON_XM_TIMELINE_END(OnTimelineEnd) 17 XUI_ON_XM_TIMER( OnTimer ) 18 XUI_END_MSG_MAP() 19 20 BEGIN_CONTROL_MAP() 21 //MAP_CONTROL(IDC_LogoGroup, m_grpXbox) 22 //BEGIN_MAP_CHILD_CONTROLS(m_grpXbox) 23 MAP_CONTROL(IDC_Logo4J, m_4jlogo) 24 //END_MAP_CHILD_CONTROLS() 25 26 END_CONTROL_MAP() 27 28 29 HRESULT OnInit( XUIMessageInit* pInitData, BOOL& bHandled ); 30 HRESULT OnNotifyPressEx(HXUIOBJ hObjPressed, XUINotifyPress* pNotifyPressData,BOOL& rfHandled); 31 HRESULT OnKeyDown(XUIMessageInput* pInputData, BOOL& rfHandled); 32 HRESULT OnTimelineEnd(HXUIOBJ hObjSource, BOOL& bHandled); 33 HRESULT OnTimer(XUIMessageTimer *pData,BOOL& rfHandled); 34 35 bool m_bSkippable; 36 bool m_bWantsToSkip; 37 int m_iTimeline; 38public: 39 40 // Define the class. The class name must match the ClassOverride property 41 // set for the scene in the UI Authoring tool. 42 XUI_IMPLEMENT_CLASS( CScene_Intro, L"CScene_Intro", XUI_CLASS_SCENE ) 43 44};