Commit Graph

101 Commits

Author SHA1 Message Date
GabsPuNs
441cf6072d Some fixes. 2026-06-14 12:53:15 -04:00
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
GabsPuNs
ec221ab410 Add all the Panorama Backgrounds. 2026-06-13 20:28:11 -04:00
GabsPuNs
197e88a72f Update Localisation
* Stringtables now support IDs and Strings at the same time. DLCs have a new branch for RMLUI now.
* Removed hardcoded StringTableNameMap for use Strings instead of IDs for RMLUI.
* Strings in RMLUI now uses [] since {} is used for data and it could affect future menus.
* Removed GetStringTable. app.GetString now support WStrings.
2026-06-13 19:44:27 -04: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
GabsPuNs
db621e41ef More accurate menus 2026-06-11 22:07:34 -04:00
GabsPuNs
84925823e8 Add Text Shadows. 2026-06-11 19:37:03 -04:00
GabsPuNs
fdcbe91ffa Move custom assets to "new" folder, add LCE assets to the "lce" folder. 2026-06-11 19:32:18 -04:00
GabsPuNs
ab32c7d768 Update Assets Path again for RMLUI 2026-06-11 18:57:56 -04:00
GabsPuNs
617273e1e6 Update RmlManager.cpp 2026-06-11 18:20:45 -04:00
GabsPuNs
50bac00e31 Remove more leftovers of the Hardcore Neo Legacy Mode. 2026-06-11 17:59:49 -04:00
GabsPuNs
3937b2d98c Use Nearest-Neigbor. Remove Neo Legacy Stuff
Nearest-Neighbor is the default filter used in Minecraft for the UI.
Hardcore mode never existed in console version. Someone just added it with fake 4J comments.
2026-06-11 17:04:49 -04:00
GabsPuNs
3ee643962d Fix compilation for MSVC, also moved some folders.
1. Added again the libraries for MSVC. If you need MinGW libraries version tell me
2. Removed "#include stdafx.h". Is not needed.
3. Renamed "RmlUIAssets" to "UI" and "Menus" to "Iggy"
2026-06-10 21:22:41 -04:00
Zero
d2b7ff5f43 Add RmlUi 2026-06-10 16:12:51 +02:00
GabsPuNs
c38286e075 Fix all the Cherry Pick Commits from TU24 to TU30 2026-06-07 01:25:23 -04:00
GabsPuNs
cda82afd11 Nothing 2026-06-07 00:21:20 -04:00
GabsPuNs
98e90474c4 Fix DLCs crashing 2026-06-07 00:20:11 -04:00
GabsPuNs
0cee3f6317 Fix credits and DLCs 2026-06-07 00:19:50 -04:00
GabsPuNs
df6907642e Probably for TU30 2026-06-07 00:19:16 -04:00
GabsPuNs
8bea50b1e5 Cleanups 2026-06-07 00:18:53 -04:00
GabsPuNs
d6e58df26d TU24: Maps placed in item frames now cover the whole block face.
And a temp way for do TU24: Third person sword blocking position slightly tweaked.
Also disabled LLVM since it have some lightning issues.
2026-06-07 00:17:57 -04:00
GabsPuNs
e01cd453fb Improvements
Also a "rewrite" of Texture.cpp but im not happy with it
2026-06-07 00:17:31 -04:00
GabsPuNs
f4db952884 Update .exe name 2026-06-07 00:17:04 -04:00
GabsPuNs
8dececbf90 Optimizations
This solves an FPS problem when 10 or more entities take damage
2026-06-07 00:16:16 -04:00
GabsPuNs
338604d7c5 Fix multiple memory leaks and stale pooled allocations (#1) 2026-06-07 00:15:45 -04:00
GabsPuNs
d7add3be09 Some cleanup
Just a bit. i dont want to clean all the ifdef for consoles right now
2026-06-07 00:14:39 -04:00
GabsPuNs
3b09eb95db New File System and Cleanup some code Part 3
* Remove stdafx.h and some <unordered_set> includes
* Update Minecraft Server Defines and remove more unused folders/files
* Unbloat stdafx.h from Minecraft.World
2026-06-07 00:10:47 -04:00
GabsPuNs
ab308f901d New File System and Cleanup some code Part 2 2026-06-07 00:07:03 -04:00
GabsPuNs
c6ae6b56f1 Remove files 2026-06-07 00:04:40 -04:00
GabsPuNs
5c2d0d9458 New File System and Cleanup some code Part 1
Trial code is almost cleaned.
Consoles are now unused.
stdafx unbloat for Minecraft.Client
2026-06-07 00:03:24 -04: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
GabsPuNs
b595d0bb55 Recompile Discord-RPC
Uhh... Idk why Discord Lib is failing in github actions so lets use a ver compiled by me.
2026-05-23 21:10:53 -04:00
GabsPuNs
9b3c3754d6 x2 2026-05-23 16:36:13 -04:00
GabsPuNs
050845cdab Simply a better way of doing it 2026-05-23 16:34:38 -04:00
GabsPuNs
c626952e12 Add a Very Wip Entity Distance option code
TODO:
* maxChunkDistance should be a define and not hardcoded.
* Add Entity Distance Slider code.
* Make a Better code. Specially for EntityTracker::addEntity
2026-05-23 16:17:04 -04:00
GabsPuNs
95354279c7 Fix Graphics Menu 2026-05-23 14:31:21 -04:00
GabsPuNs
d1dc087877 Fix Fullscreen 2026-05-23 14:20:08 -04:00
GabsPuNs
342a931cbc Update MediaWindows64.arc 2026-05-23 14:02:37 -04:00
GabsPuNs
d53b1d576a Fix crash (fullscreen dont work) 2026-05-23 01:09:38 -04:00
GabsPuNs
d243b9ef24 Fix Vsync 2026-05-23 00:55:25 -04:00
GabsPuNs
3bfd7d9bde Menu Progress
LaunchMoreOptionsMenu and SettingsGraphicsMenu works now.
Change seed dont work.
Label update for sliders dont work.
InGameHostOptionsMenu is disabled for now.
2026-05-22 23:48:03 -04:00
GabsPuNs
d8d80c3ec4 Use Fullscreen option 2026-05-22 23:46:39 -04:00
GabsPuNs
c85ac14c40 Add Strings 2026-05-22 23:46:18 -04:00
GabsPuNs
112951d11d Add Fullscreen and Vsync settings bits 2026-05-22 23:42:58 -04:00
GabsPuNs
9f188e060a Update Libs and Windows64Media 2026-05-22 00:26:57 -04:00