Commit Graph
9 Commits
Author SHA1 Message Date
Zero fc5897dbbb I noticed it, that was my mistake xD. 2026-06-14 16:20:25 +02:00
Zero 4f5eca9194 Implement MessageBox UI: Add styles and structure for message box, including buttons and event handling 2026-06-14 15:57:59 +02:00
Zero 5f55b271f4 Add StringTableNameMap.h with 2312 name-to-ID entries for static mode fallback 2026-06-12 21:06:48 +02:00
Zero 5355394a5a Implement RMLUI string translation via LCE StringTable
Replace hardcoded English strings in RML UI files with {IDS_XXX}
placeholders that are translated at runtime via RmlUi's TranslateString
override, which looks up keys in the LCE StringTable.

- Override SystemInterface_Win64::TranslateString to scan for {KEY}
  patterns and resolve them via StringTable::getString(wstring)
- Add GetLCEStringTable() accessor to CConsoleMinecraftApp
- Update PauseMenu.rml, SettingsMenu.rml, HelpOptions.rml with IDS_XXX keys
- Update dynamic dialog SetInnerRML calls in UIScene_PauseMenu.cpp
- Fix CMakePresets.json: remove hardcoded VS2022 ml64.exe path
2026-06-12 15:46:34 +02:00
Zero 233aea0110 Revert "Refresh localized text on gainFocus for RmlUI menus"
This reverts commit 6399a965d6.
2026-06-12 15:46:22 +02:00
Zero 6399a965d6 Refresh localized text on gainFocus for RmlUI menus 2026-06-12 15:06:50 +02:00
Zero d33ac0e45e Fix zlib/zstd linking, add MinGW .a fallback libs 2026-06-12 14:40:37 +02:00
Zero d2b7ff5f43 Add RmlUi 2026-06-10 16:12:51 +02:00
Zero 5ccc8db088 Fix multiple memory leaks and stale pooled allocations
* Fix Vec3/AABB pool reset logic

  * resetPool()/clearPool() now reset poolPointer to 0
  * Prevents endless pool growth, invalid temporary references,
    and increasing memory usage
  * Resolves the leaderboard-related crash mentioned in
    Windows64_Minecraft.cpp

* Properly free old screens in Minecraft::setScreen()

  * Added virtual destructor to Screen
  * Screen destructor now cleans up GuiParticles and Buttons
  * Previous screen is now deleted after screen transitions
  * Screen::init() now clears old buttons/particles before re-init

* Fix GuiParticles memory leak

  * Removed GuiParticle instances are now deleted in tick()
  * Added GuiParticles destructor to free remaining particles
2026-05-26 16:08:09 +02:00