Tropical
c9b90cae2c
chore: format everything
2026-03-30 02:17:54 -05:00
MatthewBeshay
28d68befd4
Replace remaining WinAPI types with standard C++ equivalents
...
DWORD→uint32_t, BYTE→uint8_t, HRESULT→int32_t, HANDLE→void*, UINT→uint32_t, INT→int32_t, WORD→uint16_t, LONG→int32_t, SHORT→int16_t, LONGLONG→int64_t, ULONG_PTR→uintptr_t, PBYTE→uint8_t*, LPWSTR/PWSTR→wchar_t*, FLOAT→float, CHAR→char, boolean→bool, CONST→const, TRUE→true, FALSE→false across 176 files (excluding vendor libs and Linux stubs).
2026-03-30 17:36:15 +11:00
MatthewBeshay
a0fdc643d1
Merge branch 'upstream-dev' into cleanup/nullptr-replacement
...
# Conflicts:
# Minecraft.Client/Network/PlayerChunkMap.cpp
# Minecraft.Client/Network/PlayerList.cpp
# Minecraft.Client/Network/ServerChunkCache.cpp
# Minecraft.Client/Platform/Common/Consoles_App.cpp
# Minecraft.Client/Platform/Common/DLC/DLCManager.cpp
# Minecraft.Client/Platform/Common/GameRules/LevelGenerationOptions.cpp
# Minecraft.Client/Platform/Common/GameRules/LevelRuleset.cpp
# Minecraft.Client/Platform/Common/Tutorial/Tutorial.cpp
# Minecraft.Client/Platform/Common/Tutorial/TutorialTask.cpp
# Minecraft.Client/Platform/Common/UI/IUIScene_CreativeMenu.cpp
# Minecraft.Client/Platform/Common/UI/UIComponent_Panorama.cpp
# Minecraft.Client/Platform/Common/UI/UIController.cpp
# Minecraft.Client/Platform/Common/UI/UIController.h
# Minecraft.Client/Platform/Extrax64Stubs.cpp
# Minecraft.Client/Platform/Windows64/4JLibs/inc/4J_Input.h
# Minecraft.Client/Platform/Windows64/4JLibs/inc/4J_Storage.h
# Minecraft.Client/Player/EntityTracker.cpp
# Minecraft.Client/Player/ServerPlayer.cpp
# Minecraft.Client/Rendering/EntityRenderers/PlayerRenderer.cpp
# Minecraft.Client/Textures/Packs/DLCTexturePack.cpp
# Minecraft.Client/Textures/Stitching/StitchedTexture.cpp
# Minecraft.Client/Textures/Stitching/TextureMap.cpp
# Minecraft.Client/Textures/Textures.cpp
# Minecraft.World/Blocks/NotGateTile.cpp
# Minecraft.World/Blocks/PressurePlateTile.cpp
# Minecraft.World/Blocks/TileEntities/PotionBrewing.cpp
# Minecraft.World/Enchantments/EnchantmentHelper.cpp
# Minecraft.World/Entities/HangingEntity.cpp
# Minecraft.World/Entities/LeashFenceKnotEntity.cpp
# Minecraft.World/Entities/LivingEntity.cpp
# Minecraft.World/Entities/Mobs/Boat.cpp
# Minecraft.World/Entities/Mobs/Minecart.cpp
# Minecraft.World/Entities/Mobs/Witch.cpp
# Minecraft.World/Entities/SyncedEntityData.cpp
# Minecraft.World/Items/LeashItem.cpp
# Minecraft.World/Items/PotionItem.cpp
# Minecraft.World/Level/BaseMobSpawner.cpp
# Minecraft.World/Level/CustomLevelSource.cpp
# Minecraft.World/Level/Level.cpp
# Minecraft.World/Level/Storage/DirectoryLevelStorage.cpp
# Minecraft.World/Level/Storage/McRegionLevelStorage.cpp
# Minecraft.World/Level/Storage/RegionFileCache.cpp
# Minecraft.World/Player/Player.cpp
# Minecraft.World/WorldGen/Biomes/BiomeCache.cpp
# Minecraft.World/WorldGen/Features/RandomScatteredLargeFeature.cpp
# Minecraft.World/WorldGen/Layers/BiomeOverrideLayer.cpp
2026-03-30 16:28:40 +11:00
MatthewBeshay
dfb0e3b03e
refactor: replace NULL with nullptr across C++ codebase
...
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
2026-03-30 16:25:52 +11:00
Tropical
6ed953a3c3
refactor: replace double-underscore MSVC integer types with stdint
2026-03-30 00:08:25 -05:00
Tropical
e45151ae64
refactor: expand AUTO_VAR macro
2026-03-29 23:59:05 -05:00
MatthewBeshay
6000900285
Merge branch 'upstream-dev' into cleanup/shared-portability-reset-v2
...
# Conflicts:
# Minecraft.Client/Level/ServerLevel.cpp
# Minecraft.Client/Minecraft.cpp
# Minecraft.Client/MinecraftServer.cpp
# Minecraft.Client/Network/ClientConnection.cpp
# Minecraft.Client/Network/ServerChunkCache.cpp
# Minecraft.Client/Platform/Common/Audio/SoundEngine.cpp
# Minecraft.Client/Platform/Common/Consoles_App.cpp
# Minecraft.Client/Platform/Common/Network/GameNetworkManager.cpp
# Minecraft.Client/Platform/Common/Network/Sony/SonyCommerce.cpp
# Minecraft.Client/Platform/Common/Network/Sony/SonyRemoteStorage.cpp
# Minecraft.Client/Platform/Common/UI/UIController.cpp
# Minecraft.Client/Platform/Common/UI/UIScene_CreateWorldMenu.cpp
# Minecraft.Client/Platform/Common/UI/UIScene_EnchantingMenu.cpp
# Minecraft.Client/Platform/Common/UI/UIScene_LaunchMoreOptionsMenu.cpp
# Minecraft.Client/Platform/Common/UI/UIScene_LoadOrJoinMenu.cpp
# Minecraft.Client/Platform/Common/UI/UIScene_MainMenu.cpp
# Minecraft.Client/Platform/Common/XUI/XUI_Death.cpp
# Minecraft.Client/Platform/Common/XUI/XUI_Leaderboards.cpp
# Minecraft.Client/Platform/Common/XUI/XUI_MultiGameJoinLoad.cpp
# Minecraft.Client/Platform/Common/XUI/XUI_PauseMenu.cpp
# Minecraft.Client/Platform/Common/XUI/XUI_TransferToXboxOne.cpp
# Minecraft.Client/Platform/Durango/Durango_Minecraft.cpp
# Minecraft.Client/Platform/Linux/Linux_Minecraft.cpp
# Minecraft.Client/Platform/Orbis/Orbis_Minecraft.cpp
# Minecraft.Client/Platform/PS3/PS3Extras/boost_1_53_0/boost/spirit/home/lex/lexer/lexertl/lexer.hpp
# Minecraft.Client/Platform/PS3/PS3_Minecraft.cpp
# Minecraft.Client/Platform/PS3/SPU_Tasks/ChunkUpdate/TileRenderer_SPU.cpp
# Minecraft.Client/Platform/PS3/SPU_Tasks/ChunkUpdate/Tile_SPU.cpp
# Minecraft.Client/Platform/PS3/Xbox_Minecraft.cpp
# Minecraft.Client/Platform/PSVita/PSVita_Minecraft.cpp
# Minecraft.Client/Platform/Xbox/Xbox_Minecraft.cpp
# Minecraft.Client/Platform/stdafx.h
# Minecraft.Client/Player/LocalPlayer.cpp
# Minecraft.Client/Rendering/Chunk.cpp
# Minecraft.Client/Rendering/EntityRenderers/ItemRenderer.cpp
# Minecraft.Client/Rendering/GameRenderer.cpp
# Minecraft.Client/Rendering/LevelRenderer.cpp
# Minecraft.Client/Textures/BufferedImage.cpp
# Minecraft.Client/UI/Screens/AchievementScreen.cpp
# Minecraft.Client/UI/Screens/ContainerScreen.cpp
# Minecraft.Client/UI/Screens/TrapScreen.cpp
# Minecraft.World/IO/Files/ConsoleSaveFileOriginal.cpp
# Minecraft.World/IO/Files/File.cpp
# Minecraft.World/Player/Player.cpp
# Minecraft.World/Util/C4JThread.cpp
2026-03-30 15:21:08 +11:00
Tropical
a856a7e54e
fix: rebase issue with CreativeInventoryScreen
2026-03-29 16:12:30 -05:00
Tropical
3653b7b465
fix: readjust VideoSettingsScreen ITEM_COUNT
2026-03-29 15:53:10 -05:00
Tropical
ad67f4be71
refactor: configure classic panorama at compile-time
2026-03-29 15:53:10 -05:00
Sally Knight
ca276943f2
fix(jui): make creative screen correctly override menu clicked()
...
(also made rendertooltip names in AbstractContainerScreen match so my editor stops complaining)
2026-03-29 15:52:38 -05:00
StevenSYS
7889fbb4d2
[Java Creative Inventory] Added tooltip when hovering over the tab icons.
2026-03-29 15:52:38 -05:00
Sally Knight
1ab985805a
feat(jui): add beacon screen
2026-03-29 15:52:35 -05:00
Sally Knight
03fac5b8e1
refactor(jui): backport tooltip overloads from JE 1.6.4
2026-03-29 15:52:34 -05:00
Sally Knight
cfb54e65bd
fix(jui): accidental ! in deprecated recipe check
2026-03-29 15:52:19 -05:00
Sally Knight
97c6704d82
feat(jui): add merchant screen
2026-03-29 15:52:19 -05:00
Sally Knight
32149b7ec3
refactor(jui): backport hovering over helper from 1.6.x
2026-03-29 15:52:18 -05:00
Sally Knight
80966a501c
refactor(jui): extract tooltip rendering into standalone method
...
so we can use tooltips elsewhere (the upcoming merchantscreen more specifically)
2026-03-29 15:52:18 -05:00
Sally Knight
affe60603c
make AbstractContainerScreen's itemRenderer protected
2026-03-29 15:52:18 -05:00
Sally Knight
3dcc985cd4
feat(jui): add brewing stand screen (+ fix enchantment screen not being used)
2026-03-29 15:52:18 -05:00
Sally Knight
ed83397c55
chore(jui): remove inaccurate "unused" comments
2026-03-29 15:52:18 -05:00
Sally Knight
141678ed96
fix(jui): add Slot.h include
...
Fixes clang builds
2026-03-29 15:52:18 -05:00
Sally Knight
02845d9a5f
chore: fmt
2026-03-29 15:52:18 -05:00
Sally Knight
1a478c8a5b
refactor(jui): specify overrides, resourcelocations, and localization
2026-03-29 15:51:23 -05:00
Sally Knight
c512bcb19c
feat(jui): add enchanting table screen
2026-03-29 15:50:37 -05:00
Sally Knight
5ac7f23577
feat(jui): add hopper screen
2026-03-29 15:50:36 -05:00
StevenSYS
b854af49c6
Added option to use the TU panorama or the Java one.
2026-03-29 15:50:36 -05:00
Sally Knight
975f716f9c
feat(jui): re-enable and update TrapScreen
...
(Dispenser and Dropper GUI)
2026-03-29 15:50:36 -05:00
Sally Knight
fbbf086f71
feat(jui): add anvil screen
2026-03-29 15:50:35 -05:00
StevenSYS
d18733b14c
Ported over the Java Edition's title screen panorama.
2026-03-29 15:50:35 -05:00
Sally Knight
11e944f78b
fix(jui): remove debug autoconfirm from ConfirmScreen
2026-03-29 15:50:34 -05:00
Sally Knight
7a0ebe7e36
fix(jui): remove debug world autocreate from CreateWorldScreen
2026-03-29 15:50:34 -05:00
Sally Knight
08a87c432a
fix: put jui-specific texture usage behind ifdefs
2026-03-29 15:50:34 -05:00
Sally Knight
65ff6a97f0
feat(jui): add horse inventory screen
2026-03-29 15:50:34 -05:00
Sally Knight
3f2c6e0012
feat(jui): add panorama and splashes to title screen
...
Also moved the version string to the same height as the copyright message, matching Beta 1.8+
2026-03-29 15:50:34 -05:00
StevenSYS
396e819b9b
Made the Java creative inventory more complete.
2026-03-27 14:32:47 +00:00
MatthewBeshay
12ff12a263
cleanup: flatten dead branches in client render texture and runtime code
2026-03-26 20:29:59 +11:00
Tropical
d4af59cf77
Merge branch 'dev' into tu19-take-2
2026-03-24 19:12:19 -05:00
Sally Knight
ba406c7e97
fix(jui): add null check for items to renderSlot()
Build (Linux, x86_64) / build-linux (push) Waiting to run
Build (Linux, x86_64) / build-linux-debug (push) Waiting to run
Clang Format / clang-format (push) Waiting to run
2026-03-24 07:08:37 +03:00
Tropical
4d1e34dab0
Merge branch 'dev' into tu19-take-2
2026-03-23 03:45:22 -05:00
ViniciusCruzMoura
94cabbe01b
fix(SelectWorldScreen): open Select World instead of Create New World
...
i restored the Select World scene so it no longer immediately opens
"Create New World"
i wrapped the not used code in if (0) so its ignored at runtime
but still compiled to catch build breaks. fixing the Select World scene
also fixed the Cancel button so you can go back to the previous scene
(before it was stuck on Create New World)
i didnt remove the weird code because i dont know why its there
left it disabled for now
Signed-off-by: ViniciusCruzMoura <contato.cruz.moura@gmail.com>
2026-03-23 02:03:38 -04:00
Tropical
3b77d6d806
update NetworkPlayerXbox, SimpleContainer fixes
2026-03-22 12:50:01 -05:00
Tropical
b9d18bf641
TU19: merge Minecraft.Client/Platform/Common/UI
2026-03-22 11:44:26 -05:00
Tropical
1c5311f058
fixes to java UI and Minecraft.cpp
2026-03-22 04:14:58 -05:00
Tropical
03355211ca
more fixes
2026-03-22 03:13:45 -05:00
Tropical
ad5e8dd012
getting further
2026-03-22 02:52:30 -05:00
Vinícius Moura
7775c59e3c
Merge branch '4jcraft:dev' into java_exit_btn_behaviour
2026-03-21 16:25:07 -04:00
ViniciusCruzMoura
cbfdef7ba5
fix(TitleScreen): handle Exit Game properly with ENABLE_JAVA_GUIS
...
i noticed the main menu had the same problem as #277 and applied
the same fix
tested with java gui and shiggy, both close correctly now
Signed-off-by: ViniciusCruzMoura <contato.cruz.moura@gmail.com>
2026-03-21 16:23:48 -04:00
Sally Knight
7f39d575a4
fix(jui): ensure serverside unpausing in all scenarios
2026-03-21 03:05:42 +03:00
Sally Knight
d968855cc4
fix(jui): correctly check if host or not for disconnect text
2026-03-19 18:57:19 +03:00