Commit graph

394 commits

Author SHA1 Message Date
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
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