the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 30 lines 863 B view raw
1#include "stdafx.h" 2#include "UI.h" 3#include "UIComponent_Logo.h" 4 5UIComponent_Logo::UIComponent_Logo(int iPad, void *initData, UILayer *parentLayer) : UIScene(iPad, parentLayer) 6{ 7 // Setup all the Iggy references we need for this scene 8 initialiseMovie(); 9} 10 11wstring UIComponent_Logo::getMoviePath() 12{ 13 switch( m_parentLayer->getViewport() ) 14 { 15 case C4JRender::VIEWPORT_TYPE_SPLIT_TOP: 16 case C4JRender::VIEWPORT_TYPE_SPLIT_BOTTOM: 17 case C4JRender::VIEWPORT_TYPE_SPLIT_LEFT: 18 case C4JRender::VIEWPORT_TYPE_SPLIT_RIGHT: 19 case C4JRender::VIEWPORT_TYPE_QUADRANT_TOP_LEFT: 20 case C4JRender::VIEWPORT_TYPE_QUADRANT_TOP_RIGHT: 21 case C4JRender::VIEWPORT_TYPE_QUADRANT_BOTTOM_LEFT: 22 case C4JRender::VIEWPORT_TYPE_QUADRANT_BOTTOM_RIGHT: 23 return L"ComponentLogoSplit"; 24 break; 25 case C4JRender::VIEWPORT_TYPE_FULLSCREEN: 26 default: 27 return L"ComponentLogo"; 28 break; 29 } 30}