the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2
3#include "UIScene.h"
4
5// Shared functions between CreteWorld, Load and Join
6class IUIScene_StartGame : public UIScene
7{
8protected:
9 UIControl_TexturePackList m_texturePackList;
10
11 UIControl m_controlTexturePackPanel;
12 UIControl_Label m_labelTexturePackName, m_labelTexturePackDescription;
13 UIControl_BitmapIcon m_bitmapTexturePackIcon, m_bitmapComparison;
14
15 UI_BEGIN_MAP_ELEMENTS_AND_NAMES(UIScene)
16 UI_MAP_ELEMENT( m_controlTexturePackPanel, "TexturePackPanel" )
17 UI_BEGIN_MAP_CHILD_ELEMENTS( m_controlTexturePackPanel )
18 UI_MAP_ELEMENT( m_labelTexturePackName, "TexturePackName")
19 UI_MAP_ELEMENT( m_labelTexturePackDescription, "TexturePackDescription")
20 UI_MAP_ELEMENT( m_bitmapTexturePackIcon, "Icon")
21 UI_MAP_ELEMENT( m_bitmapComparison, "ComparisonPic")
22 UI_END_MAP_CHILD_ELEMENTS()
23 UI_END_MAP_ELEMENTS_AND_NAMES()
24
25 LaunchMoreOptionsMenuInitData m_MoreOptionsParams;
26 bool m_bIgnoreInput;
27
28 int m_iTexturePacksNotInstalled;
29 unsigned int m_currentTexturePackIndex;
30 bool m_bShowTexturePackDescription;
31 bool m_texturePackDescDisplayed;
32 int m_iSetTexturePackDescription;
33
34 IUIScene_StartGame(int iPad, UILayer *parentLayer);
35
36 virtual void checkStateAndStartGame() = 0;
37
38 virtual void handleSelectionChanged(F64 selectedId);
39
40 virtual void HandleDLCMountingComplete();
41
42 void UpdateTexturePackDescription(int index);
43 void UpdateCurrentTexturePack(int iSlot);
44
45 static int TrialTexturePackWarningReturned(void *pParam,int iPad,C4JStorage::EMessageResult result);
46 static int UnlockTexturePackReturned(void *pParam,int iPad,C4JStorage::EMessageResult result);
47 static int TexturePackDialogReturned(void *pParam,int iPad,C4JStorage::EMessageResult result);
48};