Commit Graph

122 Commits

Author SHA1 Message Date
GabsPuNs
42775cfb9b Implement MessageBox UI (#5) 2026-06-14 11:50:54 -04:00
GabsPuNs
6988c751b6 Update RmlManagerStub.cpp 2026-06-14 11:50:27 -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
GabsPuNs
9c20f28641 Add StringTableNameMap.h (#4) 2026-06-13 14:05:52 -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
GabsPuNs
718dcbaacc RmlUi Migration Fixes: Linking and Localization Updates (#3)
RmlUi Migration Fixes: Linking and Localization Updates
2026-06-12 14:48:31 -04: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
GabsPuNs
503124a893 WIP: Begin Migration from Iggy Game UI to RmlUi (#2) 2026-06-10 15:03:26 -04:00
Zero
d2b7ff5f43 Add RmlUi 2026-06-10 16:12:51 +02:00
GabsPuNs
b1d5ea2253 Delete nightly.yml 2026-06-07 16:46:00 -04:00
GabsPuNs
c38286e075 Fix all the Cherry Pick Commits from TU24 to TU30 nightly-tu30 2026-06-07 01:25:23 -04:00
GabsPuNs
23f1c2255e Remove leftovers. 2026-06-07 00:21:44 -04:00
GabsPuNs
cda82afd11 Nothing 2026-06-07 00:21:20 -04:00
GabsPuNs
c7daaafa65 Update Random.cpp 2026-06-07 00:20:32 -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
b14dfe07f7 I forgot to enable this again
This was disabled for try to find the FPS Issue
2026-06-07 00:16:37 -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
7eab6cc0c1 Remove project title from README 2026-06-07 00:11:48 -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
4c22e21e0f Fix Server Size 2026-06-07 00:09:23 -04:00
GabsPuNs
39718b3d32 Update CMakePresets.json 2026-06-07 00:08:49 -04:00
GabsPuNs
0461787287 Fix 2026-06-07 00:08:00 -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
GabsPuNs
746c54dbe8 Update Docker 2026-06-06 23:15:42 -04:00
GabsPuNs
4d12725736 Fix multiple memory leaks and stale pooled allocations #1 2026-05-26 13:11:08 -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