mirror of
https://git.minecraftlegacy.com/backups/LCEMP.git
synced 2026-12-03 23:21:31 +00:00
fix: reimplement saving system and thumbnail generator, other fixes
This commit is contained in:
1 parent
5a7e1474b5
commit
2e6f281391
90 files changed
+92225
-28
No files matched your search
@@ -423,6 +423,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
if (vk == VK_F11)
|
||||
{
|
||||
ToggleFullscreen();
|
||||
app.SetGameSettings(0, eGameSetting_Fullscreen, g_isFullscreen ? 1 : 0);
|
||||
break;
|
||||
}
|
||||
if (vk == VK_SHIFT)
|
||||
@@ -969,6 +970,11 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
||||
|
||||
#endif
|
||||
|
||||
StorageManager.Init(1, app.GetString(IDS_DEFAULT_SAVENAME), "savegame.dat", FIFTY_ONE_MB, &CConsoleMinecraftApp::DisplaySavingMessage, (LPVOID)&app, "MinecraftWindows64");
|
||||
StorageManager.SetMaxSaves(99);
|
||||
|
||||
StorageManager.StoreTMSPathName();
|
||||
|
||||
// Ensure the GameHDD save directory exists at runtime (the 4J_Storage lib expects it)
|
||||
{
|
||||
wchar_t exePath[MAX_PATH];
|
||||
@@ -1052,6 +1058,14 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
||||
|
||||
app.InitGameSettings();
|
||||
|
||||
if(app.GetGameSettings(eGameSetting_Fullscreen) != 0)
|
||||
{
|
||||
if(!g_isFullscreen)
|
||||
{
|
||||
ToggleFullscreen();
|
||||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
//bool bDisplayPauseMenu=false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user