the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 52 lines 1.2 kB view raw
1#pragma once 2 3#include "UIScene.h" 4 5class UIScene_Intro : public UIScene 6{ 7private: 8 bool m_bIgnoreNavigate; 9 bool m_bAnimationEnded; 10 11 IggyName m_funcSetIntroPlatform; 12#ifdef __PSVITA__ 13 UIControl_Touch m_TouchToSkip; 14#endif 15 UI_BEGIN_MAP_ELEMENTS_AND_NAMES(UIScene) 16#ifdef __PSVITA__ 17 UI_MAP_ELEMENT( m_TouchToSkip, "TouchToSkip" ) 18#endif 19 UI_MAP_NAME( m_funcSetIntroPlatform, L"SetIntroPlatform") 20 UI_END_MAP_ELEMENTS_AND_NAMES() 21 22public: 23 UIScene_Intro(int iPad, void *initData, UILayer *parentLayer); 24 25 virtual EUIScene getSceneType() { return eUIScene_Intro;} 26 27 // Returns true if this scene has focus for the pad passed in 28#ifndef __PS3__ 29 virtual bool hasFocus(int iPad) { return bHasFocus; } 30#endif 31 32protected: 33 34 35 virtual wstring getMoviePath(); 36 37#ifdef _DURANGO 38 virtual long long getDefaultGtcButtons() { return 0; } 39#endif 40 41public: 42 // INPUT 43 virtual void handleInput(int iPad, int key, bool repeat, bool pressed, bool released, bool &handled); 44 45 virtual void handleAnimationEnd(); 46 virtual void handleGainFocus(bool navBack); 47 48#ifdef __PSVITA__ 49 virtual void handleTouchInput(unsigned int iPad, S32 x, S32 y, int iId, bool bPressed, bool bRepeat, bool bReleased); 50#endif 51 52};