Commit graph

534 commits

Author SHA1 Message Date
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
DecalOverdose 3f7a53ad50
Merge pull request #173 from 4jcraft/fix/leaderboard-manager-null
fix: add dummy `LinuxLeaderboardManager` implementation
2026-03-11 07:53:56 +04: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
Tropical deeee2a5d5 fix: add dummy LinuxLeaderboardManager implementation 2026-03-10 20:56:57 -05:00
Tropical 197bf0033f Merge branch 'dev' into feat/sdl-support 2026-03-10 17:38:52 -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
Leah Anderson 4e39635f20
Merge pull request #167 from 4jcraft/fix/missing-asset-error
Some checks are pending
Build Linux Release / build-linux (push) Waiting to run
Build Linux Release / build-linux-debug (push) Waiting to run
fix: remove unused console-only asset archive imports
2026-03-10 14:31:36 -06:00
Tropical 12ede0691a fix: remove unused console-only asset archive imports 2026-03-10 15:22:37 -05:00
Nikita Edel c86bfe35f3
Merge branch '4jcraft:dev' into dev 2026-03-10 20:51:42 +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
Tropical 750436d815
Merge pull request #165 from 4jcraft/fix/fatal-load-error
fix: implement `CConsoleMinecraftApp::FatalLoadError` on linux
2026-03-10 13:57:00 -05: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
Tropical 5406648692 fix: implement CConsoleMinecraftApp::FatalLoadError on linux 2026-03-10 11:16:42 -05:00
JuiceyDev 1c67f134b2 added files from pr 2026-03-10 09:18:20 +01: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
JuiceyDev 6753364573
Merge pull request #128 from 4jcraft/fix/remove-vibecode
fix: remove LLM-generated socket initialization fix
2026-03-09 16:13:36 +01:00
Tropical 66b10b8226 fix: remove vibecoded socket initialization fix 2026-03-09 09:52:47 -05:00
sewn bf5f416ba5
fix: support backtrace only on glibc systems
execinfo is glibc only, and prevents compiling on
other systems.
2026-03-09 15:12:39 +03: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
Tropical 49672a019f refactor: move anything in Build that isn't strictly source into Assets 2026-03-08 23:54:30 -05:00
Tropical 54dab7708d refactor: rename Build -> Platform in Minecraft.World 2026-03-08 21:33:18 -05:00
JuiceyDev c7ede72c91
Merge pull request #100 from nikita-edel/dev
fix: wstring_to_utf8, depracated function and generated warnings.
2026-03-08 23:57:29 +01:00
JuiceyDev 21430e1758 fix new folder 2026-03-08 23:37:39 +01:00
JuiceyDev f12cd2e1f2 Merge origin/dev into reapply/dev-on-upstream-202603082259 - auto-resolved conflicts preferring origin/dev 2026-03-08 23:19:14 +01:00
Nikita Edel 1c4aa32b13 typo 2026-03-08 23:06:52 +01:00
JuiceyDev cb7bc7c9c9 Added winapistubs cuz it pissed me off 2026-03-08 22:59:57 +01:00
Nikita Edel 85df07e232 fixed typos 2026-03-08 22:59:29 +01:00
Tropical 63d216a672 fix: add remaining std:: namespaces 2026-03-08 22:44:00 +01:00
Tropical 66248339e5 refactor: unglob std::dynamic_pointer_cast 2026-03-08 22:44:00 +01:00
Tropical 39a359ca56 fix: remove some unintended changes to DirectX library comments 2026-03-08 22:44:00 +01:00
Tropical 5045acb86e fix: unglob everything else and make it build 2026-03-08 22:44:00 +01:00
Tropical a2e6957383 fix: unglob std::{min, max}, manual stuff 2026-03-08 22:43:59 +01:00
Tropical a05a15eb73 fix: stupid 2026-03-08 22:43:59 +01:00
Tropical a744f8f471 refactor: deglob std::weak_ptr 2026-03-08 22:43:59 +01:00
Tropical 9a1e4e7752 refactor: byebye using namespace std
shoo
2026-03-08 22:43:44 +01:00
Tropical 6c4c3a9c94 refactor: unglob std::unordered_set 2026-03-08 22:43:43 +01:00
Tropical 5fad08b9fd refactor: begin unglobbing std::vector 2026-03-08 22:43:43 +01:00
Tropical cff2fc5f44 refactor: unglob std::wstring 2026-03-08 22:43:43 +01:00
Tropical c571014bc9 refactor: unglob std::unordered_map 2026-03-08 22:43:43 +01:00
Tropical 8812c3967b refactor: unglob std::shared_ptr 2026-03-08 22:43:43 +01:00
Pyogenics 53c22968ee Quick patch to just get strings.h generation to generate a file that can be used to compile with 2026-03-08 22:42:33 +01:00
Pyogenics 5c7485144c Create dedicated assets project to enable localisation header generation 2026-03-08 22:42:32 +01:00
Pyogenics f4c9f0f51c Full meson asset build and copy hooked up 2026-03-08 22:42:08 +01:00
Pyogenics 18a5f2dbb3 Move Common/Media to Platform/MediaXbox 2026-03-08 22:42:08 +01:00
zukrmn 53b5f7058e fix: remove GCC diagnostic pragmas suppressing std::wstring_convert deprecation 2026-03-08 22:40:41 +01:00
zukrmn 42b0352ec3 fix: resolve all remaining compilation warnings 2026-03-08 22:40:41 +01:00
Nikita Edel 17a10ca9a3 fix wstring_to_utf8 2026-03-08 22:39:41 +01:00
Tropical bcbaa98f90 fix: more replacement mistakes 2026-03-08 22:39:41 +01:00
Tropical 95c26f69cf fix: undo some mistakes 2026-03-08 22:39:40 +01:00
Tropical 052a656673 fix: remove byte type alias 2026-03-08 22:39:40 +01:00
Tropical 43a28fc490
Merge pull request #71 from 4jcraft/refactor/no-std-wildcard
refactor: remove `using namespace std`
2026-03-08 10:09:33 -05:00
DecalOverdose a508412246
Merge pull request #75 from Pyogenics/assetbuild
Asset build on compile
2026-03-07 20:44:12 +04:00
Pyogenics d0de4c695d Quick patch to just get strings.h generation to generate a file that can be used to compile with 2026-03-07 15:26:59 +00:00
Pyogenics edae8c85c9 Create dedicated assets project to enable localisation header generation 2026-03-07 14:36:34 +00:00
Tropical 06ca3c6b78 fix: add remaining std:: namespaces 2026-03-06 23:51:37 -06:00
zukrmn b12f34950c fix: remove GCC diagnostic pragmas suppressing std::wstring_convert deprecation 2026-03-07 05:31:04 +00:00
zukrmn ca11afdfca fix: resolve all remaining compilation warnings 2026-03-07 04:43:50 +00:00
Tropical ed551d8658 refactor: unglob std::dynamic_pointer_cast 2026-03-06 22:13:29 -06:00
Tropical 3832982eff fix: remove some unintended changes to DirectX library comments 2026-03-06 21:23:59 -06:00
Tropical e0479e90b4 fix: unglob everything else and make it build 2026-03-06 21:06:31 -06:00
Pyogenics d93b5b4a08 Full meson asset build and copy hooked up 2026-03-07 02:58:30 +00:00
Tropical 04ff82ba70 fix: unglob std::{min, max}, manual stuff 2026-03-06 20:47:11 -06:00
Tropical 653a2c4289 fix: stupid 2026-03-06 20:39:58 -06:00
Tropical 6131826226 refactor: deglob std::weak_ptr 2026-03-06 20:38:50 -06:00
Pyogenics b9247c698c Move Common/Media to Platform/MediaXbox 2026-03-07 01:30:34 +00:00
Tropical bc7d4ff1d8 refactor: byebye using namespace std
shoo
2026-03-06 12:16:41 -06:00
Tropical 0855e6ddf4 refactor: unglob std::unordered_set 2026-03-06 12:13:01 -06:00
Tropical 7c95bfc0bd refactor: begin unglobbing std::vector 2026-03-06 11:58:11 -06:00
Tropical cdc08700e4 refactor: unglob std::wstring 2026-03-06 11:50:22 -06:00
JuiceyDev 417ea73050 painful update 2026-03-06 18:31:46 +01:00
Tropical ecf7fc7f61 refactor: unglob std::unordered_map 2026-03-06 11:29:36 -06:00
Tropical 67ceccf2d4 refactor: unglob std::shared_ptr 2026-03-06 11:20:45 -06:00
JuiceyDev f9932754e5 so we back in the mines,, grab my pickaxe 2026-03-06 15:04:49 +01:00
JuiceyDev 9a108ea57c Added winapistubs cuz it pissed me off 2026-03-06 12:43:15 +01:00
Tropical b8c4e96409 fix: more replacement mistakes 2026-03-06 05:09:17 -06:00
Tropical 6c56d884e5 fix: undo some mistakes 2026-03-06 05:06:27 -06:00
Tropical 15af35eef2 fix: remove byte type alias 2026-03-06 05:03:37 -06:00
Tropical 29cc47183f Merge remote-tracking branch 'origin/dev' into create-juicey-app/dev 2026-03-06 03:43:13 -06:00
Tropical 953d7257d3 Merge branch 'dev' of https://github.com/create-juicey-app/4jcraft-juicefork into juice-dev 2026-03-06 00:18:34 -06:00
Tropical 7baf1cbfa1 refactor: clean up meson build scripts, use in-tree zlib 2026-03-06 00:17:31 -06:00
JuiceyDev 17ac8deddf hhhhh 2026-03-06 07:13:57 +01:00
JuiceyDev c55ed7b261 game compiles 2026-03-06 06:13:22 +01:00
JuiceyDev fddd777399 fixed font 2026-03-06 00:34:36 +01:00
JuiceyDev 1f37e1d422 some updates 2026-03-06 00:28:53 +01:00
JuiceyDev 2f7962cbb2 woah 2026-03-06 00:19:13 +01:00
JuiceyDev 06afba4d34
Merge branch 'dev' into dev 2026-03-05 22:33:38 +01:00
JuiceyDev 6b6fa9a6b0 find my renderers - slenderman or some shit 2026-03-05 22:28:13 +01:00
JuiceyDev ad50bf21d4 shit renderer 2026-03-05 21:31:54 +01:00
JuiceyDev 60ad8c291e fuck you git 2026-03-05 20:31:54 +01:00
Pyogenics 20df5342de Remove unused vs studio files 2026-03-05 19:01:54 +00:00
JuiceyDev 44b4ba84c2 Horrible code alert 2026-03-05 19:06:07 +01:00
JuiceyDev cb4e0e82b7 Basic IGGY renderer implementation, do not PR. 2026-03-05 16:54:56 +01:00
ThePixelMoon 45e5286e55 Minecraft.Client: All i did is just set a false to true 2026-03-05 15:11:48 +02:00
JuiceyDev 299564be0a FIX 2026-03-05 14:07:07 +01:00
JuiceyDev a1f1681ce7 Starting IGGY impl 2026-03-05 14:02:05 +01:00
JuiceyDev e7dfce35d4 feat: enhance Linux rendering support and clean up unused UI code 2026-03-05 13:31:12 +01:00
Mohamed Ashraf 1ae227e9ba FIX COMPILE AND IT'S ALMOST DONE HOLY SHIT 2026-03-05 16:12:37 +04:00
JuiceyDev 6c5a675f3c fix: correct stale include paths after folder refactor 2026-03-05 11:40:43 +01:00
JuiceyDev 70a5f01070 feat: OpenGL rendering implementation (GLFW/OpenGL 2.1 pipeline) 2026-03-05 11:18:20 +01:00
Mohamed Ashraf a92d346a46 fix(winapi_stubs): DON'T REDEFINE DEFINITIONS 2026-03-05 14:13:49 +04:00
JuiceyDev 3a9af73c63 remove redundant stubs already handled by PR #33 2026-03-05 10:52:11 +01:00
JuiceyDev f622fe08a8 fixed most stuff theres still linker issues 2026-03-05 10:51:53 +01:00
JuiceyDev ca0363b07b implement input, profile, render, and storage management functionalities 2026-03-05 10:48:23 +01:00
JuiceyDev 3379b2ab6a fix: update include paths and add Linux compatibility for various files 2026-03-05 10:48:23 +01:00
ella love 2383fcee6e feat: move script & folder refactor 2026-03-05 03:29:23 -05:00