aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/UI/UIScene_LoadMenu.h
diff options
context:
space:
mode:
authorLoki Rautio <lokirautio@gmail.com>2026-03-04 03:56:03 -0600
committerLoki Rautio <lokirautio@gmail.com>2026-03-04 03:56:03 -0600
commit42aec6dac53dffa6afe072560a7e1d4986112538 (patch)
tree0836426857391df1b6a83f6368a183f83ec9b104 /Minecraft.Client/Common/UI/UIScene_LoadMenu.h
parentc9d58eeac7c72f0b3038e084667b4d89a6249fce (diff)
parentef9b6fd500dfabd9463267b0dd9e29577eea8a2b (diff)
Merge branch 'main' into pr/win64-world-saves
# Conflicts: # Minecraft.Client/MinecraftServer.cpp # README.md
Diffstat (limited to 'Minecraft.Client/Common/UI/UIScene_LoadMenu.h')
-rw-r--r--Minecraft.Client/Common/UI/UIScene_LoadMenu.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/Minecraft.Client/Common/UI/UIScene_LoadMenu.h b/Minecraft.Client/Common/UI/UIScene_LoadMenu.h
index e245e3be..085cb67f 100644
--- a/Minecraft.Client/Common/UI/UIScene_LoadMenu.h
+++ b/Minecraft.Client/Common/UI/UIScene_LoadMenu.h
@@ -22,10 +22,8 @@ private:
UIControl_Button m_buttonGamemode, m_buttonMoreOptions, m_buttonLoadWorld;
UIControl_Slider m_sliderDifficulty;
UIControl_BitmapIcon m_bitmapIcon;
-
-#if defined _XBOX_ONE || defined __ORBIS__ || defined _WINDOWS64
+
UIControl_CheckBox m_checkboxOnline;
-#endif
UI_BEGIN_MAP_ELEMENTS_AND_NAMES(IUIScene_StartGame)
UI_MAP_ELEMENT( m_controlMainPanel, "MainPanel" )
@@ -35,10 +33,7 @@ private:
UI_MAP_ELEMENT( m_labelSeed, "Seed")
UI_MAP_ELEMENT( m_texturePackList, "TexturePackSelector")
UI_MAP_ELEMENT( m_buttonGamemode, "GameModeToggle")
-
-#if defined _XBOX_ONE || defined __ORBIS__ || defined _WINDOWS64
UI_MAP_ELEMENT( m_checkboxOnline, "CheckboxOnline")
-#endif
UI_MAP_ELEMENT( m_buttonMoreOptions, "MoreOptions")
UI_MAP_ELEMENT( m_buttonLoadWorld, "LoadSettings")
UI_MAP_ELEMENT( m_sliderDifficulty, "Difficulty")
@@ -51,8 +46,10 @@ private:
int m_iSaveGameInfoIndex;
int m_CurrentDifficulty;
- bool m_bGameModeSurvival;
+ bool m_bGameModeCreative;
+ int m_iGameModeId;
bool m_bHasBeenInCreative;
+ bool m_bIsSaveOwner;
bool m_bRetrievingSaveThumbnail;
bool m_bSaveThumbnailReady;
bool m_bMultiplayerAllowed;
@@ -105,7 +102,6 @@ protected:
private:
void StartSharedLaunchFlow();
virtual void checkStateAndStartGame();
- void LoadLevelGen(LevelGenerationOptions *levelGen);
void LaunchGame(void);
#ifdef _DURANGO