MatthewBeshay
a513fa7597
Rename CriticalSection wrapper functions to match std::mutex usage
...
EnterCallbackIdCriticalSection/LeaveCallbackIdCriticalSection -> lockCallbackScenes/unlockCallbackScenes, EnterSaveNotificationSection/LeaveSaveNotificationSection -> lockSaveNotification/unlockSaveNotification, m_saveNotificationCriticalSection -> m_saveNotificationMutex.
2026-03-31 00:16:16 +11:00
MatthewBeshay
f1df21590b
Merge dev and resolve formatting conflicts
2026-03-30 19:00:30 +11:00
MatthewBeshay
bc6013ab70
Replace all CRITICAL_SECTION usage with std::mutex and std::lock_guard
...
Migrates 59 files from WinAPI CRITICAL_SECTION to portable C++ std::mutex/std::lock_guard/std::unique_lock. Removes Linux CRITICAL_SECTION shims from winapi_stubs.h.
2026-03-30 18:45:55 +11:00
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
Tropical
f03c7163f4
WCHAR -> wchar_t
2026-03-30 00:42:26 -05: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
51e61a12b4
refactor: replace some win32 typedefs
2026-03-30 00:16:26 -05:00
Tropical
6ed953a3c3
refactor: replace double-underscore MSVC integer types with stdint
2026-03-30 00:08:25 -05:00
MatthewBeshay
f19563bbd7
cleanup: flatten dead branches in common app and ui code
2026-03-26 20:18:29 +11:00
MatthewBeshay
6ef7d05f7e
cleanup: collapse common app and ui console branches
2026-03-26 18:49:24 +11:00
MatthewBeshay
2117a772d7
checkpoint: refresh supported-path portability baseline
2026-03-26 17:05:31 +11:00
Tropical
23493c4681
fix various missing methods, update StringTable implementation
2026-03-22 14:52:55 -05:00
Tropical
195d82340a
merge Consoles_App.h
2026-03-22 01:03:39 -05:00
Tropical
fb2faecf33
format Consoles_app
2026-03-22 00:12:31 -05:00
Tropical
e444bef081
implement DebugArtToolsOn, fix strings and includes
2026-03-21 23:50:56 -05:00
notmatthewbeshay
4866a895dc
Rename misleading DWORD-style count parameters
2026-03-16 05:30:42 +11:00
notmatthewbeshay
3a98ff640c
Remove WinAPI primitives from common app helpers
2026-03-16 04:49:34 +11:00
notmatthewbeshay
60790a86af
Remove WinAPI types from console utility helpers
2026-03-14 07:32:45 +11:00
notmatthewbeshay
1490d0b067
Use standard callback cookies in profile manager
2026-03-11 16:21:14 +11:00
notmatthewbeshay
2b638adf93
Use standard types in storage callbacks
2026-03-11 16:12:53 +11:00
notmatthewbeshay
082dc2033d
Use standard DLC mount callback types
2026-03-11 15:46:23 +11:00
notmatthewbeshay
b7886c46d7
Use standard locale IDs in common app
2026-03-11 15:38:49 +11:00
notmatthewbeshay
1b6447a3ca
Use standard DLC content types in common app
2026-03-11 15:38:49 +11:00
notmatthewbeshay
7ae8c7c373
Use standard TMSPP buffers in common app
2026-03-11 15:38:49 +11:00
notmatthewbeshay
05f47282da
Use standard DLC file buffers in common app
2026-03-11 15:38:49 +11:00
notmatthewbeshay
64322c07a3
Use standard tip IDs in common app
2026-03-11 15:38:49 +11:00
notmatthewbeshay
c8150b1338
Use standard small IDs in player colour tracking
2026-03-11 15:38:49 +11:00
notmatthewbeshay
bdb3341a99
Use standard launch data buffers in common app
2026-03-11 15:38:48 +11:00
notmatthewbeshay
c0e59f652e
Use standard banned list buffers in app structs
2026-03-11 15:38:48 +11:00
notmatthewbeshay
3f8374bc45
Use standard skin IDs in common app helpers
2026-03-11 15:38:48 +11:00
notmatthewbeshay
09d56dc853
Use standard skin and cape IDs in common app
2026-03-11 15:38:48 +11:00
notmatthewbeshay
1bd031eacb
Use standard invite types in common app
2026-03-11 15:38:48 +11:00
notmatthewbeshay
015fce0b3a
Use standard wide strings in credit text
2026-03-11 15:38:48 +11:00
notmatthewbeshay
09896918cd
Use standard wide string returns in game rules
2026-03-11 15:38:47 +11:00
notmatthewbeshay
dd726f8ba1
Use standard callback params in common app
2026-03-11 15:38:47 +11:00
notmatthewbeshay
d0a741544c
Use standard action helper types in common app
2026-03-11 15:38:47 +11:00
notmatthewbeshay
f7e6b02835
Use standard callback types in 4J input headers
2026-03-11 15:38:47 +11:00
notmatthewbeshay
eb52911d25
Use standard buffer types for TPD extraction
2026-03-11 15:38:42 +11:00
notmatthewbeshay
5f991ccd6a
Use standard buffer types for in-memory TPD data
2026-03-11 15:38:42 +11:00
notmatthewbeshay
37aa3463be
Use standard buffer types for in-memory textures
2026-03-11 15:38:42 +11:00
notmatthewbeshay
c4947ce99a
Use standard screenshot buffer types
2026-03-11 15:38:42 +11:00
notmatthewbeshay
d2db55e050
Use standard thumbnail buffer types
2026-03-11 15:38:42 +11:00
notmatthewbeshay
3e89da8dff
Use standard byte buffers for save image metadata
2026-03-11 15:38:42 +11:00
notmatthewbeshay
26c3ac6197
Remove DWORD texture pack IDs from image metadata APIs
2026-03-10 10:13:59 +11:00
notmatthewbeshay
fc1e696409
Remove DWORD texture pack IDs from app path helpers
2026-03-10 10:13:59 +11:00
notmatthewbeshay
91c8698358
Remove DWORD from required texture pack app state
2026-03-10 10:13:59 +11:00
Tropical
ad1e8369bc
refactor: move Common to Platform/Common
2026-03-09 00:17:42 -05:00