Commit graph

427 commits

Author SHA1 Message Date
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
MatthewBeshay ca942717cb
Merge branch '4jcraft:dev' into issue/51-phase-1-portable-win32-cleanup 2026-03-11 06:44:56 +11: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
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
MatthewBeshay 2a2558ace3
Merge branch '4jcraft:dev' into issue/51-phase-1-portable-win32-cleanup 2026-03-10 18:39:30 +11: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 344921bb26 Remove DWORD from tesselator TLS storage 2026-03-10 10:14:01 +11:00
notmatthewbeshay 96a7519f5d Remove DWORD from chunk TLS storage 2026-03-10 10:14:01 +11:00
notmatthewbeshay 529ecb8185 Remove LPVOID from level renderer rebuild threads 2026-03-10 10:14:01 +11:00
notmatthewbeshay 8da27c59ad Remove LPVOID from game renderer update thread 2026-03-10 10:14:01 +11:00
notmatthewbeshay b59ab4a4b8 Remove LPVOID from server chunk save threads 2026-03-10 10:14:01 +11:00
notmatthewbeshay 5d72f9214a Remove DWORD from client connection user index 2026-03-10 10:14:01 +11:00
notmatthewbeshay 97d12ae2d8 Remove LPVOID from save data thread params 2026-03-10 10:14:00 +11:00
notmatthewbeshay c247f918f1 Remove DWORD from server init settings 2026-03-10 10:14:00 +11:00
notmatthewbeshay 238bf98cad Remove DWORD from server UGC version state 2026-03-10 10:14:00 +11:00
notmatthewbeshay 3aeb023869 Remove Win32 types from prelogin packets 2026-03-10 10:14:00 +11:00
notmatthewbeshay d041044000 Remove BYTE from network player IDs 2026-03-10 10:14:00 +11:00
notmatthewbeshay b1de3b9065 Remove DWORD player indices from player state 2026-03-10 10:14:00 +11:00
notmatthewbeshay 3f374cecad Remove DWORD skin IDs from player customisation APIs 2026-03-10 10:14:00 +11:00
notmatthewbeshay f5326bfe3b Remove Win32 byte types from colour tables 2026-03-10 10:14:00 +11:00
notmatthewbeshay 474d8b2896 Remove Win32 byte types from texture packets 2026-03-10 10:14:00 +11:00
notmatthewbeshay 6026f078ac Remove Win32 byte types from memory texture loaders 2026-03-10 10:14:00 +11:00
notmatthewbeshay e76f427e34 Remove DWORD from GUI chat accessors 2026-03-10 10:13:59 +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 52b462fffd Remove DWORD texture pack IDs from server prelogin state 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 2dbce494d1 Remove DWORD texture pack IDs from pack interfaces 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 65dc775e84 Remove Win32 byte aliases from DLC texture loading 2026-03-10 10:13:58 +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
notmatthewbeshay b02bcd27f5 Remove Win32 byte pointers from texture pack icons 2026-03-10 10:13:58 +11:00
notmatthewbeshay e4cc79387a Remove Win32 byte types from ArchiveFile 2026-03-10 10:13:58 +11:00
notmatthewbeshay 88ffcab9a1 Remove Win32 types from WstringLookup 2026-03-10 10:13:58 +11:00
notmatthewbeshay e38e7c1fc0 Remove Win32 types from StringTable 2026-03-10 10:13:58 +11:00
notmatthewbeshay 62a5c364f2 Use portable file reads for DLC texture data 2026-03-10 10:13:58 +11:00
notmatthewbeshay e1a66b0ad0 Modernise portable file and timing utilities 2026-03-10 10:13:58 +11:00
MathiewMay 3f1c95418f removed the turnOnLightLayer on handRenderer so that it renders correctly (similar to how chunk renderer had to be disbaled for proper rednering)
Add nullptr check before calling redner on itemInHandRenderre to prevent a occasional seg fault.
2026-03-09 13:25:56 -04:00
Emily e13c573ecc disable vsync and force maxFps to zero 2026-03-09 13:03:23 -04: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
Sally Knight 63bed1be5d fix: remove hardcoded interpolation
fixes the game feeling like low fps
2026-03-09 14:12:02 +04:00
DecalOverdose a73e6e145f
Merge pull request #107 from 4jcraft/refactor/untangle-assets-mess
refactor: untangle assets from source
2026-03-09 11:10:27 +04:00
Tropical c1d9413968 feat: render HUD 2026-03-09 02:04:02 -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 dec2f8d8d0 fix: hopefully get assets building 2026-03-09 00:22:02 -05:00
Tropical ad1e8369bc refactor: move Common to Platform/Common 2026-03-09 00:17:42 -05:00
Tropical 10920d7be7 refactor: move unused assets in Client to .Assets/_unused 2026-03-08 23:56:50 -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 1308333c86 refactor: move redist64 and x64 into Minecraft.Assets
These are
2026-03-08 23:46:15 -05:00
lotaviods d1c602c2d7 fix: Camera movement and player hand 2026-03-09 00:53:44 -03: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
JuiceyDev e631a62620 Fix: Ensure host-local socket streams created before any Connection is built 2026-03-08 22:59:57 +01:00
Nikita Edel 85df07e232 fixed typos 2026-03-08 22:59:29 +01:00
JuiceyDev 31821399ac fixed whatever ts is 2026-03-08 22:49:11 +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 cce3b0fdfe refactor: unglob std::deque 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 6e56e07c6b refactor: unglob std::pair 2026-03-08 22:43:59 +01:00
Tropical 78ba464b8a refactor: unglob std::list 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 1e06432842 Sort localisation strings alphabetically like 4j does 2026-03-08 22:42:33 +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 a624c136fb Fix loc packer to use int based string ids (static mode) 2026-03-08 22:42:08 +01:00
Pyogenics 8ed5a8440c Trim meson asset install to remove unneeded stuff and make build smaller 2026-03-08 22:42:08 +01:00
Pyogenics 125a46ea85 Match MediaWindows64.arc content 2026-03-08 22:42:08 +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
Pyogenics 506532f2c1 Move assets to more logical location 2026-03-08 22:41:47 +01:00
Pyogenics c1c94293f1 Hookup asset build scripts to meson 2026-03-08 22:41:10 +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
JuiceyDev 44251492ff im gonna ry it works im so happy 2026-03-08 21:54:27 +01:00
JuiceyDev 3657169222 fixing my mistake in w 2026-03-08 17:18:21 +01:00
JuiceyDev 3c825a244c w 2026-03-08 17:03:55 +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
JuiceyDev afd41f33e8
Merge pull request #1 from lotaviods/amd_gpu_fixes
AMD chunk rendering failure caused by multithreaded OpenGL context usage
2026-03-08 11:26:02 +01:00
DecalOverdose a508412246
Merge pull request #75 from Pyogenics/assetbuild
Asset build on compile
2026-03-07 20:44:12 +04:00
Pyogenics dc54566cd4 Sort localisation strings alphabetically like 4j does 2026-03-07 16:08:44 +00:00
lotaviods 6d16d53114 chore: Perf graph looks cool i guess 2026-03-07 12:54:22 -03: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
Pyogenics 6b67ec3518 Fix loc packer to use int based string ids (static mode) 2026-03-07 13:16:19 +00:00
Pyogenics 386b96d695 Trim meson asset install to remove unneeded stuff and make build smaller 2026-03-07 11:36:27 +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 deaeef7f7d fix: missed some dynamic_pointer_cast calls in Common 2026-03-06 22:30:39 -06:00
Tropical ed551d8658 refactor: unglob std::dynamic_pointer_cast 2026-03-06 22:13:29 -06:00
Pyogenics 9062c58aa5 Match MediaWindows64.arc content 2026-03-07 03:35:55 +00: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 967ffbb2a6 refactor: unglob std::deque 2026-03-06 20:41:22 -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
Tropical e506b8fe7a refactor: unglob std::pair 2026-03-06 20:37:41 -06:00
Tropical e918160231 refactor: unglob std::list 2026-03-06 20:37:02 -06:00
Tropical 277e3a1e87 fix: unglob all of /Build/Common 2026-03-06 20:31:41 -06:00
Pyogenics b9247c698c Move Common/Media to Platform/MediaXbox 2026-03-07 01:30:34 +00:00
ThePixelMoon 87c9733e09
Merge pull request #80 from zukrmn/fix/linux-compiler-warnings
fix: resolve high-severity Linux compiler warnings
2026-03-07 03:23:05 +02:00
Pyogenics 3f3a0ab72a Move assets to more logical location 2026-03-06 23:47:26 +00:00
JuiceyDev 8077e706e7 wawa the third 2026-03-07 00:20:11 +01:00
JuiceyDev 6d46ef2273 wawa 2026-03-07 00:17:56 +01:00
JuiceyDev 9dda66e0fc wa 2026-03-07 00:16:44 +01:00
JuiceyDev 0ae4ba9dc6 wawa 2026-03-07 00:14:19 +01:00
JuiceyDev a4ad9f771e wawa 2026-03-07 00:11:28 +01:00
JuiceyDev ffbb8598d4 wawa 2026-03-07 00:09:19 +01:00
JuiceyDev 8281af31b6 this will break the whole renderer pipeline 2026-03-07 00:08:03 +01:00