aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Windows64
diff options
context:
space:
mode:
authorOmri <omrih.e@protonmail.com>2026-03-02 00:00:08 +0200
committerGitHub <noreply@github.com>2026-03-02 00:00:08 +0200
commit0d33cfbdbc4c3a80528bd263ce6e53be85340713 (patch)
treef4640efcc7d8ba60e3f925eda1d1e2cba9b33c36 /Minecraft.Client/Windows64
parent34d398cf1b3aa1bfa22a2e4ba434d8b6b63b3dc3 (diff)
parent071d4f65998d617440ade95bd291e47a6a220c59 (diff)
Merge branch 'smartcmd:main' into main
Diffstat (limited to 'Minecraft.Client/Windows64')
-rw-r--r--Minecraft.Client/Windows64/GameHDD/20140401093851/saveData.msbin5282705 -> 0 bytes
-rw-r--r--Minecraft.Client/Windows64/Windows64_App.cpp2
-rw-r--r--Minecraft.Client/Windows64/Windows64_App.h2
-rw-r--r--Minecraft.Client/Windows64/Windows64_Minecraft.cpp2
-rw-r--r--Minecraft.Client/Windows64/Windows64_UIController.cpp2
5 files changed, 6 insertions, 2 deletions
diff --git a/Minecraft.Client/Windows64/GameHDD/20140401093851/saveData.ms b/Minecraft.Client/Windows64/GameHDD/20140401093851/saveData.ms
deleted file mode 100644
index 939d5139..00000000
--- a/Minecraft.Client/Windows64/GameHDD/20140401093851/saveData.ms
+++ /dev/null
Binary files differ
diff --git a/Minecraft.Client/Windows64/Windows64_App.cpp b/Minecraft.Client/Windows64/Windows64_App.cpp
index ef9f6cf6..bba33cad 100644
--- a/Minecraft.Client/Windows64/Windows64_App.cpp
+++ b/Minecraft.Client/Windows64/Windows64_App.cpp
@@ -14,6 +14,7 @@ CConsoleMinecraftApp app;
CConsoleMinecraftApp::CConsoleMinecraftApp() : CMinecraftApp()
{
+ m_bShutdown = false;
}
void CConsoleMinecraftApp::SetRichPresenceContext(int iPad, int contextId)
@@ -26,6 +27,7 @@ void CConsoleMinecraftApp::StoreLaunchData()
}
void CConsoleMinecraftApp::ExitGame()
{
+ m_bShutdown = true;
}
void CConsoleMinecraftApp::FatalLoadError()
{
diff --git a/Minecraft.Client/Windows64/Windows64_App.h b/Minecraft.Client/Windows64/Windows64_App.h
index 39351d55..de8f6d85 100644
--- a/Minecraft.Client/Windows64/Windows64_App.h
+++ b/Minecraft.Client/Windows64/Windows64_App.h
@@ -29,6 +29,8 @@ public:
// original code
virtual void TemporaryCreateGameStart();
+
+ bool m_bShutdown;
};
extern CConsoleMinecraftApp app;
diff --git a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp
index 931e7f17..1bffe317 100644
--- a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp
+++ b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp
@@ -1034,7 +1034,7 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
}
#endif
MSG msg = {0};
- while( WM_QUIT != msg.message )
+ while( WM_QUIT != msg.message && !app.m_bShutdown)
{
if( PeekMessage( &msg, NULL, 0, 0, PM_REMOVE ) )
{
diff --git a/Minecraft.Client/Windows64/Windows64_UIController.cpp b/Minecraft.Client/Windows64/Windows64_UIController.cpp
index f4e9a9fc..10ae20af 100644
--- a/Minecraft.Client/Windows64/Windows64_UIController.cpp
+++ b/Minecraft.Client/Windows64/Windows64_UIController.cpp
@@ -50,7 +50,7 @@ void ConsoleUIController::init(ID3D11Device *dev, ID3D11DeviceContext *ctx, ID3D
really big so if you substitute a different file it should work. */
gdraw_D3D11_SetResourceLimits(GDRAW_D3D11_RESOURCE_vertexbuffer, 5000, 16 * 1024 * 1024);
gdraw_D3D11_SetResourceLimits(GDRAW_D3D11_RESOURCE_texture , 5000, 128 * 1024 * 1024);
- gdraw_D3D11_SetResourceLimits(GDRAW_D3D11_RESOURCE_rendertarget, 10, 32 * 1024 * 1024);
+ gdraw_D3D11_SetResourceLimits(GDRAW_D3D11_RESOURCE_rendertarget, 10, 64 * 1024 * 1024);
/* GDraw is all set, so we'll point Iggy at it. */
IggySetGDraw(gdraw_funcs);