Commit graph

370 commits

Author SHA1 Message Date
notmatthewbeshay 6556b316dc Use standard counters in DLC manager 2026-03-11 15:38:50 +11:00
notmatthewbeshay ab89d415a2 Use standard message option arrays in app flows 2026-03-11 15:38:50 +11:00
notmatthewbeshay fba6dd8275 Use standard temporary counters in common app 2026-03-11 15:38:49 +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 1ba21c1250 Use standard DLC image buffers in app structs 2026-03-11 15:38:49 +11:00
notmatthewbeshay 09b12e287c Use standard notification data in common app 2026-03-11 15:38:49 +11:00
notmatthewbeshay c1594579a2 Use standard banned list buffers 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 828ab5e277 Use standard types in invite join flow 2026-03-11 15:38:48 +11:00
notmatthewbeshay c9f96cae17 Use standard callback params in network session updates 2026-03-11 15:38:48 +11:00
notmatthewbeshay 8302870fec Use standard wide string returns for tutorial messages 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 d285f41969 Use standard types in keyboard request APIs 2026-03-11 15:38:47 +11:00
notmatthewbeshay b82e0af700 Use portable file reads for debug save transfer 2026-03-11 15:38:47 +11:00
notmatthewbeshay fdf2a6fa78 Remove DWORD from UI thumbnail callback headers 2026-03-11 15:38:47 +11:00
notmatthewbeshay 02d3bba5f0 Use standard buffer types in load or join save transfer 2026-03-11 15:38:46 +11:00
notmatthewbeshay bd5b092357 Remove Win32 local state from common UI helpers 2026-03-11 15:38:46 +11:00
notmatthewbeshay dc342c092d Remove Win32 wide char aliases from DLC UI flows 2026-03-11 15:38:46 +11:00
notmatthewbeshay c17c613692 Remove Win32 wide char aliases from debug UI scenes 2026-03-11 15:38:46 +11:00
notmatthewbeshay 6b149fdc38 Remove Win32 wide char aliases from world load menus 2026-03-11 15:38:46 +11:00
notmatthewbeshay 124b3becb6 Remove Win32 wide char aliases from settings menus 2026-03-11 15:38:46 +11:00
notmatthewbeshay cf1670579f Remove Win32 exit code types from fullscreen progress 2026-03-11 15:38:46 +11:00
notmatthewbeshay 4e102e1391 Remove Win32 local state types from create world menu 2026-03-11 15:38:46 +11:00
notmatthewbeshay e2bbccf7eb Remove Win32 local state types from join and load menus 2026-03-11 15:38:46 +11:00
notmatthewbeshay 7f29aa5d99 Remove Win32 local types from UI controller 2026-03-11 15:38:46 +11:00
notmatthewbeshay 015cdd3824 Remove Win32 string aliases from UI menus 2026-03-11 15:38:46 +11:00
notmatthewbeshay 986dbd60ef Remove Win32 callback types from pause menu helpers 2026-03-11 15:38:45 +11:00
notmatthewbeshay 35035cfe4d Remove Win32 wide char types from leaderboard UI 2026-03-11 15:38:45 +11:00
notmatthewbeshay 56f6bb8da6 Remove Win32 wide char aliases from skin select menu 2026-03-11 15:38:45 +11:00
notmatthewbeshay 4506a204f9 Remove Win32 preview state types from skin select menu 2026-03-11 15:38:45 +11:00
notmatthewbeshay 86c900239b Remove Win32 index types from skin select menu 2026-03-11 15:38:45 +11:00
notmatthewbeshay e20cd0acd0 Remove Win32 callback types from load or join transfers 2026-03-11 15:38:45 +11:00
notmatthewbeshay 470fc532f8 Remove Win32 count types from leaderboard UI 2026-03-11 15:38:45 +11:00
notmatthewbeshay 147ce20bc5 Remove Win32 wide string aliases from common UI 2026-03-11 15:38:45 +11:00
notmatthewbeshay 3b199b9ba2 Remove Win32 input types from abstract container menus 2026-03-11 15:38:45 +11:00
notmatthewbeshay 12bc5aa597 Remove Win32 state types from player skin preview 2026-03-11 15:38:45 +11:00
notmatthewbeshay 305d5f0812 Use standard player IDs in kick confirmation callbacks 2026-03-11 15:38:44 +11:00
notmatthewbeshay b40e716b2c Remove Win32 player ID types from in-game info menu 2026-03-11 15:38:44 +11:00
notmatthewbeshay 4306e80068 Remove Win32 player ID types from teleport menu 2026-03-11 15:38:44 +11:00
notmatthewbeshay 7f917af01c Use standard save image buffers in load or join menu 2026-03-11 15:38:44 +11:00
notmatthewbeshay a55fddf270 Use standard image buffers in UI scenes 2026-03-11 15:38:44 +11:00
notmatthewbeshay b9b2e51bc8 Remove Win32 callback types from UI helper scenes 2026-03-11 15:38:44 +11:00
notmatthewbeshay c50aa9c152 Use portable file IO for UI TTF fonts 2026-03-11 15:38:44 +11:00
notmatthewbeshay 594e799089 Remove Win32 callback types from progress scenes 2026-03-11 15:38:44 +11:00
notmatthewbeshay 9daa8f9c1a Remove Win32 callback types from common UI scenes 2026-03-11 15:38:44 +11:00
notmatthewbeshay 80f1a8d1b5 Remove Win32 callback types from UI keyboard scenes 2026-03-11 15:38:44 +11:00
notmatthewbeshay 3b785b6787 Remove Win32 callback types from save management menu 2026-03-11 15:38:44 +11:00
notmatthewbeshay b28f6bdbe8 Remove Win32 callback types from join and load menus 2026-03-11 15:38:43 +11:00
notmatthewbeshay db4ea77ed9 Use standard timer types in UIController 2026-03-11 15:38:43 +11:00
notmatthewbeshay 7f1c1ce7f8 Use bool for tooltip enable state 2026-03-11 15:38:43 +11:00
notmatthewbeshay b4a005fb8c Remove Win32 callback types from launch menus 2026-03-11 15:38:43 +11:00
notmatthewbeshay 7b3b49c662 Remove LPCWSTR from shared UI text structs 2026-03-11 15:38:43 +11:00
notmatthewbeshay c3f3bc5a66 Use bool launch option flags in XUI 2026-03-11 15:38:43 +11:00
notmatthewbeshay 74650536f7 Use bool launch option flags in common UI 2026-03-11 15:38:43 +11:00
notmatthewbeshay 3e40aa45af Remove BOOLs from launch option params 2026-03-11 15:38:43 +11:00
notmatthewbeshay 4e975540a9 Remove Win32 types from UI message boxes 2026-03-11 15:38:43 +11:00
notmatthewbeshay d89db4917a Use standard small-id types in player options 2026-03-11 15:38:43 +11:00
notmatthewbeshay c72b3d757a Use standard pointers and bools in UI structs 2026-03-11 15:38:43 +11:00
notmatthewbeshay 9e20f8007f Use standard thumbnail types in save list data 2026-03-11 15:38:43 +11:00
notmatthewbeshay ca72052b4c Remove Win32 types from UI substitution textures 2026-03-11 15:38:42 +11:00
notmatthewbeshay e83cf9a2f3 Use standard buffer types for TMS files 2026-03-11 15:38:42 +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 2bc55b838d Remove Win32 byte types from game rule helpers 2026-03-11 15:38:42 +11:00
notmatthewbeshay 0437fb921f Use standard byte counts for base save data 2026-03-11 15:38:42 +11:00
notmatthewbeshay 0ab0fd9209 Standardise fixed-width integer usage in touched files 2026-03-11 15:38:42 +11:00
notmatthewbeshay 83ba8d8384 Use a portable seek origin for save files 2026-03-11 15:38:41 +11:00
Nikita Edel b64280a978
Merge branch '4jcraft:dev' into fix-with-ubsan 2026-03-11 05:29:51 +01:00
Tropical c774e1eb18 feat(input): add sprint keys 2026-03-10 22:42:14 -05:00
Nikita Edel 142e41e1ca fix sort function 2026-03-11 04:08:40 +01:00
Nikita Edel caadcfe9db faulty casts of templated classes 2026-03-11 03:45:56 +01:00
Tropical 35a45063b1 fix: remove the fallback null LeaderboardManager 2026-03-10 21:39:46 -05:00
Nikita Edel e76ec32824 dangerous alignment issues
the processDLCData() fn, was constantly casting a raw byte pointer to scalars/structs, replaced those calls with memcpy, also optimized and improved the guards for __linux__ at the top of the file
2026-03-11 03:24:46 +01:00
Tropical cf3defee35 Merge branch 'dev' into feat/restore-java-gui 2026-03-10 21:02:58 -05:00
Nikita Edel a006cc5aa0 uninitialized vptr
the vptr to isSolidRender() is not known before contruction of the Tile. Its true by default. if false, need to pass false. that is what i did. i verfied what isSolidRender() is in every file. and did exactly what isSolidRender() would return
2026-03-10 23:22:34 +01:00
Nikita Edel 8865194e47 uninitialized data 2026-03-10 21:59:51 +01:00
MatthewBeshay ca942717cb
Merge branch '4jcraft:dev' into issue/51-phase-1-portable-win32-cleanup 2026-03-11 06:44:56 +11:00
Nikita Edel 0ff6f767e5 formailize comments 2026-03-10 20:30:31 +01:00
Nikita Edel f9fc430c43
Merge branch '4jcraft:dev' into dev 2026-03-10 19:34:42 +01:00
Echo J. 8a8280b242
GameNetworkManager: Fix incorrect infinity value redefinition
WaitForSingleObject() uses the maximum 32-bit value for specifying infinite timeout (while INFINITY might overflow that sized value back to 0) which caused the server wait event to not actually wait when compiled with Clang (and the game to be forever stuck on a black screen due to abnormal server state)
2026-03-10 20:00:07 +02:00
MatthewBeshay 2a2558ace3
Merge branch '4jcraft:dev' into issue/51-phase-1-portable-win32-cleanup 2026-03-10 18:39:30 +11:00
Tropical 1d406debe6 Merge branch 'dev' into feat/restore-java-gui
Some checks are pending
Build Linux Release / build-linux (push) Waiting to run
2026-03-10 02:29:05 -05:00
Tropical db7a5f9519 feat: restore unused java GUI
Co-Authored-By: ffqq <36998498+realffqq@users.noreply.github.com>
2026-03-09 22:29:32 -05:00
Nikita Edel 021c2809f4 purged -Wdelete-non-abstract-non-virtual-dtor 2026-03-10 02:13:56 +01:00
Tropical e4868446bd chore: add comments for 4jcraft-added functionality, undo #135 2026-03-09 19:46:54 -05:00
notmatthewbeshay d1b2b8cedb Use standard byte counts in save file IO 2026-03-10 10:20:17 +11:00
notmatthewbeshay f5326bfe3b Remove Win32 byte types from colour tables 2026-03-10 10:14:00 +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
notmatthewbeshay e372b25075 Remove DWORD texture pack IDs from UI launch params 2026-03-10 10:13:59 +11:00
notmatthewbeshay b47ed0af98 Remove Win32 metadata types from level generation interfaces 2026-03-10 10:13:59 +11:00
notmatthewbeshay c10b1a1706 Remove DWORD sizes from DLC payload APIs 2026-03-10 10:13:59 +11:00
notmatthewbeshay 7bdf4c8ced Remove Win32 byte counts from texture pack images 2026-03-10 10:13:59 +11:00
notmatthewbeshay 61808e925a Remove Win32 byte pointers from DLC pack blobs 2026-03-10 10:13:58 +11:00
notmatthewbeshay 66538b67f2 Remove Win32 byte pointers from DLC file interfaces 2026-03-10 10:13:58 +11:00
Nikita Edel 66b31669c3 new batch of delete operator missmatch 2026-03-09 22:48:36 +01:00
Nikita Edel 5265eef759 first patch of UB 2026-03-09 21:54:43 +01:00
Tropical 66b10b8226 fix: remove vibecoded socket initialization fix 2026-03-09 09:52:47 -05:00
Tropical 4be19958ea Merge branch 'dev' into refactor/untangle-assets-mess
Some checks failed
Build Linux Release / build-linux (push) Has been cancelled
2026-03-09 01:20:45 -05:00
Tropical 4d543dd59d fix: use Common/Media/MediaLinux.arc for mediapath 2026-03-09 00:34:28 -05:00
Tropical 5a36950239 fix: shuffle around remaining paths to get everything building again/home/tropical/Documents/GitHub/4jcraft-real/Minecraft.World/Level/../../Minecraft.Client/Textures/Packs/TexturePack.h 2026-03-09 00:34:09 -05:00
Tropical ad1e8369bc refactor: move Common to Platform/Common 2026-03-09 00:17:42 -05:00