the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 40 lines 933 B view raw
1#pragma once 2 3#include "UIScene.h" 4 5class UIComponent_Panorama : public UIScene 6{ 7private: 8 bool m_bSplitscreen; 9 bool m_bShowingDay; 10 11protected: 12 IggyName m_funcShowPanoramaDay; 13 UI_BEGIN_MAP_ELEMENTS_AND_NAMES(UIScene) 14 UI_MAP_NAME(m_funcShowPanoramaDay, L"ShowPanoramaDay"); 15 UI_END_MAP_ELEMENTS_AND_NAMES() 16 17public: 18 UIComponent_Panorama(int iPad, void *initData, UILayer *parentLayer); 19 20protected: 21 // TODO: This should be pure virtual in this class 22 virtual wstring getMoviePath(); 23 24public: 25 virtual EUIScene getSceneType() { return eUIComponent_Panorama;} 26 27 // Returns true if this scene handles input 28 virtual bool stealsFocus() { return false; } 29 30 // Returns true if this scene has focus for the pad passed in 31 virtual bool hasFocus(int iPad) { return false; } 32 33 virtual void tick(); 34 35 // RENDERING 36 virtual void render(S32 width, S32 height, C4JRender::eViewportType viewport); 37 38private: 39 void setPanorama(bool isDay); 40};