aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/UI/UIStructs.h
diff options
context:
space:
mode:
authorqwasdrizzel <145519042+qwasdrizzel@users.noreply.github.com>2026-03-16 21:44:26 -0500
committerGitHub <noreply@github.com>2026-03-16 21:44:26 -0500
commitce739f6045ec72127491286ea3f3f21e537c1b55 (patch)
treef33bd42a47c1b4a7b2153a7fb77127ee3b407db9 /Minecraft.Client/Common/UI/UIStructs.h
parent255a18fe8e9b57377975f82e2b227afe2a12eda0 (diff)
parent5a59f5d146b43811dde6a5a0245ee9875d7b5cd1 (diff)
Merge branch 'smartcmd:main' into main
Diffstat (limited to 'Minecraft.Client/Common/UI/UIStructs.h')
-rw-r--r--Minecraft.Client/Common/UI/UIStructs.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/Minecraft.Client/Common/UI/UIStructs.h b/Minecraft.Client/Common/UI/UIStructs.h
index ac83458f..99c3d7bd 100644
--- a/Minecraft.Client/Common/UI/UIStructs.h
+++ b/Minecraft.Client/Common/UI/UIStructs.h
@@ -196,8 +196,8 @@ typedef struct _ConnectionProgressParams
showTooltips = false;
setFailTimer = false;
timerTime = 0;
- cancelFunc = NULL;
- cancelFuncParam = NULL;
+ cancelFunc = nullptr;
+ cancelFuncParam = nullptr;
}
} ConnectionProgressParams;
@@ -250,7 +250,7 @@ typedef struct _SaveListDetails
_SaveListDetails()
{
saveId = 0;
- pbThumbnailData = NULL;
+ pbThumbnailData = nullptr;
dwThumbnailSize = 0;
#ifdef _DURANGO
ZeroMemory(UTF16SaveName,sizeof(wchar_t)*128);
@@ -280,6 +280,9 @@ typedef struct _JoinMenuInitData
{
FriendSessionInfo *selectedSession;
int iPad;
+#ifdef _WINDOWS64
+ int serverIndex; // Index of the server in servers.db, -1 if not a saved server
+#endif
} JoinMenuInitData;
// Native keyboard (Windows64 replacement for InputManager.RequestKeyboard WinAPI dialog)
@@ -403,15 +406,15 @@ typedef struct _LoadingInputParams
_LoadingInputParams()
{
- func = NULL;
- lpParam = NULL;
- completionData = NULL;
+ func = nullptr;
+ lpParam = nullptr;
+ completionData = nullptr;
cancelText = -1;
- cancelFunc = NULL;
- completeFunc = NULL;
- m_cancelFuncParam = NULL;
- m_completeFuncParam = NULL;
+ cancelFunc = nullptr;
+ completeFunc = nullptr;
+ m_cancelFuncParam = nullptr;
+ m_completeFuncParam = nullptr;
waitForThreadToDelete = false;
}
} LoadingInputParams;
@@ -439,7 +442,7 @@ typedef struct _TutorialPopupInfo
_TutorialPopupInfo()
{
- interactScene = NULL;
+ interactScene = nullptr;
desc = L"";
title = L"";
icon = -1;
@@ -447,7 +450,7 @@ typedef struct _TutorialPopupInfo
isFoil = false;
allowFade = true;
isReminder = false;
- tutorial = NULL;
+ tutorial = nullptr;
}
} TutorialPopupInfo;