first commit

This commit is contained in:
murdle
2026-03-01 02:38:58 +02:00
commit 19250b9db4
19111 changed files with 4358159 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
#pragma once
#include "UIScene.h"
// Shared functions between CreteWorld, Load and Join
class IUIScene_StartGame : public UIScene
{
protected:
UIControl_TexturePackList m_texturePackList;
UIControl m_controlTexturePackPanel;
UIControl_Label m_labelTexturePackName, m_labelTexturePackDescription;
UIControl_BitmapIcon m_bitmapTexturePackIcon, m_bitmapComparison;
UI_BEGIN_MAP_ELEMENTS_AND_NAMES(UIScene)
UI_MAP_ELEMENT( m_controlTexturePackPanel, "TexturePackPanel" )
UI_BEGIN_MAP_CHILD_ELEMENTS( m_controlTexturePackPanel )
UI_MAP_ELEMENT( m_labelTexturePackName, "TexturePackName")
UI_MAP_ELEMENT( m_labelTexturePackDescription, "TexturePackDescription")
UI_MAP_ELEMENT( m_bitmapTexturePackIcon, "Icon")
UI_MAP_ELEMENT( m_bitmapComparison, "ComparisonPic")
UI_END_MAP_CHILD_ELEMENTS()
UI_END_MAP_ELEMENTS_AND_NAMES()
LaunchMoreOptionsMenuInitData m_MoreOptionsParams;
bool m_bIgnoreInput;
int m_iTexturePacksNotInstalled;
unsigned int m_currentTexturePackIndex;
bool m_bShowTexturePackDescription;
bool m_texturePackDescDisplayed;
int m_iSetTexturePackDescription;
IUIScene_StartGame(int iPad, UILayer *parentLayer);
virtual void checkStateAndStartGame() = 0;
virtual void handleSelectionChanged(F64 selectedId);
virtual void HandleDLCMountingComplete();
void UpdateTexturePackDescription(int index);
void UpdateCurrentTexturePack(int iSlot);
static int TrialTexturePackWarningReturned(void *pParam,int iPad,C4JStorage::EMessageResult result);
static int UnlockTexturePackReturned(void *pParam,int iPad,C4JStorage::EMessageResult result);
static int TexturePackDialogReturned(void *pParam,int iPad,C4JStorage::EMessageResult result);
};