the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 30 lines 851 B view raw
1#pragma once 2 3#include "UIScene.h" 4 5class UIComponent_MenuBackground : public UIScene 6{ 7private: 8 bool m_bSplitscreen; 9public: 10 UIComponent_MenuBackground(int iPad, void *initData, UILayer *parentLayer); 11 12protected: 13 // TODO: This should be pure virtual in this class 14 virtual wstring getMoviePath(); 15 16public: 17 virtual EUIScene getSceneType() { return eUIComponent_MenuBackground;} 18 19 // Returns true if this scene handles input 20 virtual bool stealsFocus() { return false; } 21 22 // Returns true if this scene has focus for the pad passed in 23 virtual bool hasFocus(int iPad) { return false; } 24 25 // Returns true if lower scenes in this scenes layer, or in any layer below this scenes layers should be hidden 26 virtual bool hidesLowerScenes() { return false; } 27 28 // RENDERING 29 virtual void render(S32 width, S32 height, C4JRender::eViewportType viewport); 30};