diff options
| author | dtentiion <dtentiongit@gmail.com> | 2026-03-05 20:57:37 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-05 14:57:37 -0600 |
| commit | aadb5115040cfe0199e79a3e32dada6aa4b99fda (patch) | |
| tree | 7aba2ccfc2d3361272ad0380ec69c98a4f6c3efe /Minecraft.Client/Common/UI/UIScene_CreateWorldMenu.h | |
| parent | f48a39ae3d72fc47ed3a050f6419716dc398d8f5 (diff) | |
Fix save list, delete save, exit without saving, and blank username on Windows64 (#539)
* Fix world save rename not applying new name
KeyboardCompleteWorldNameCallback had no _WINDOWS64 branch, so the
typed name was validated then silently discarded on every rename attempt.
Write the new name to a worldname.txt sidecar file next to the save
(Windows64\GameHDD\{folder}\worldname.txt) and update the in-memory
display name immediately. ReadLevelNameFromSaveFile now checks for this
sidecar first so renamed saves persist correctly across restarts.
* Fixed gamertag being blank upon renaming and re-joining a save
* Save deletion fix, exiting without saving fix
* Add native in-game keyboard UI for world naming and renaming
Diffstat (limited to 'Minecraft.Client/Common/UI/UIScene_CreateWorldMenu.h')
| -rw-r--r-- | Minecraft.Client/Common/UI/UIScene_CreateWorldMenu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Minecraft.Client/Common/UI/UIScene_CreateWorldMenu.h b/Minecraft.Client/Common/UI/UIScene_CreateWorldMenu.h index d6ae1c04..13f38a3b 100644 --- a/Minecraft.Client/Common/UI/UIScene_CreateWorldMenu.h +++ b/Minecraft.Client/Common/UI/UIScene_CreateWorldMenu.h @@ -51,6 +51,12 @@ private: DLCPack * m_pDLCPack; bool m_bRebuildTouchBoxes; +#ifdef _WINDOWS64 + bool m_bDirectEditing; + wstring m_worldNameBeforeEdit; + int m_iDirectEditCooldown; +#endif + public: UIScene_CreateWorldMenu(int iPad, void *initData, UILayer *parentLayer); virtual ~UIScene_CreateWorldMenu(); |
