Commit graph

429 commits

Author SHA1 Message Date
Tropical ed551d8658 refactor: unglob std::dynamic_pointer_cast 2026-03-06 22:13:29 -06:00
Tropical e0479e90b4 fix: unglob everything else and make it build 2026-03-06 21:06:31 -06: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
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
zukrmn e3fc6ebe52 fix: resolve high-severity Linux compiler warnings 2026-03-06 22:57:02 +00:00
JuiceyDev 3f489a4202 fixed a bunch of shit, might fix renderer ? 2026-03-06 20:09:37 +01:00
Tropical bc7d4ff1d8 refactor: byebye using namespace std
shoo
2026-03-06 12:16:41 -06:00
Tropical 2ed4b1fe9e refactor: unglob std::type_info 2026-03-06 12:14:56 -06:00
Tropical 0855e6ddf4 refactor: unglob std::unordered_set 2026-03-06 12:13:01 -06:00
Tropical 49d02788c0 refactor: unglob std::enable_shared_from_this 2026-03-06 12:04:16 -06:00
Tropical f3ac01c76e refactor: unglob std::(w)ostream 2026-03-06 12:02:08 -06:00
Tropical b9d67d14af refactor: unglob std::endl 2026-03-06 11:59:50 -06:00
Tropical 7c95bfc0bd refactor: begin unglobbing std::vector 2026-03-06 11:58:11 -06:00
Tropical ac9f3cbca3 chore: resolve some void* memset cast warnings 2026-03-06 11:55:28 -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
Tropical 0dd1654dec docs: undo accidental comment replacement 2026-03-06 05:13:40 -06:00
JuiceyDev cdb02fa0af Fix: Ensure host-local socket streams created before any Connection is built 2026-03-06 12:10:39 +01:00
Tropical 15af35eef2 fix: remove byte type alias 2026-03-06 05:03:37 -06:00
JuiceyDev b589b86f40 buffer fix 2026-03-06 11:27:47 +01:00
JuiceyDev 3f7249d5e5 datastream 2026-03-06 11:03:12 +01:00
JuiceyDev d99ef6a1b8 socket UGUHH 2026-03-06 10:28:41 +01:00
Tropical 29346e056c chore: nuke CMake and visual studio solutions
bye
2026-03-06 02:01:20 -06:00
JuiceyDev 57ed1aab14 fix: prevent zlib Byte typedef clash with project class Byte under clang 2026-03-06 08:32:04 +01:00
JuiceyDev e7f98a2410 fix: use system zlib in Minecraft.World to avoid Byte typedef conflict with clang unity build 2026-03-06 08:24:07 +01:00
JuiceyDev bafbdc62a1 bwbwa 2026-03-06 08:10:29 +01:00
JuiceyDev 50d28ade69 filez 2026-03-06 08:03:07 +01:00
JuiceyDev 834e0e6e72 Merge branch 'dev' of https://github.com/create-juicey-app/4jcraft-juicefork into dev 2026-03-06 07:31:28 +01:00
JuiceyDev 9dd73aaa0d udjfjdkd 2026-03-06 07:31:16 +01: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 baab1724ff fix include 2026-03-06 02:02:49 +01:00
JuiceyDev b04a2369b6 meson basic intergration 2026-03-06 01:59:57 +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 c391d290ec Networking Fixes & Updates 2026-03-05 20:03:06 +01:00
JuiceyDev 44b4ba84c2 Horrible code alert 2026-03-05 19:06:07 +01:00
JuiceyDev 5583e04e0f Fix runtime issues, 2026-03-05 10:52:11 +01:00
JuiceyDev d0e7106cdf fix: SIOF crash in ChatScreen/TextEditScreen, RemoveEntitiesPacket MAX_PER_PACKET on linux 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 240a7e91a6 uncomment those thx 2026-03-05 10:49:11 +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
ThePixelMoon b9c29c69d8 Minecraft.World: fix another gcc moment 2026-03-05 07:35:18 +02:00
ThePixelMoon de71d80b57 Minecraft.World: fix a gcc moment 2026-03-05 07:34:16 +02:00
Tropical 5cf845ad1b fix: Entity::tlsIdx shouldn't be WIN32-specific 2026-03-04 19:38:28 -06:00
Tropical 4c770ce4c3 fix: add extra Tile constants for __linux__ 2026-03-04 19:38:00 -06:00
Tropical 1eac848d3d fix: remove hardcoded win64 app includes 2026-03-04 18:24:32 -06:00
Tropical 8a9b2fd336 fix: link Minecraft.World to Minecraft.Client on linux 2026-03-04 16:01:49 -06:00
Tropical d79b1ba555 fix: resolve a lot of conversion warnings 2026-03-03 19:33:12 -06:00
Tropical 7abf08a804 refactor: remove a bunch of linux-specific ifndefs
Now that we're stubbing winapi through stdafx, these need to go.
2026-03-03 18:16:42 -06:00
Tropical 4d9a1c73e6 fix: the usual 2026-03-03 16:31:29 -06:00
Tropical cc34168277 refactor: add dxmath, restructure linux folder 2026-03-03 15:32:27 -06:00
Mohamed Ashraf 0f83583a31 Changes from localcc 2026-03-03 13:57:19 +04:00
DecalOverdose 61a8953fe4
Merge pull request #10 from tropicaaal/refactor/tropical-dev
fix: implement many POSIX stubs over required winapi calls
2026-03-03 12:04:46 +04:00
Tropical 9dc8d0b2b1 start adding back win64 4jlibs includes 2026-03-03 01:30:13 -06:00
Tropical eea516a139 fix: stdafx linux platform, typedefs 2026-03-03 00:45:10 -06:00
Tropical bb741c8bec fix: extraX64.h 2026-03-02 22:34:37 -06:00
Tropical 300b1ff841 fix: more miscapitalized includes 2026-03-02 22:01:56 -06:00
Tropical 42035b71d8 refactor: move linux stubs to Minecraft.Client
Existing platform abstraction layers are all located in Minecraft.Client, making the `linux` folder the odd one out in `Minecraft.World`. This relocates `linux/wlinux.h` and its supporting helper files to `Minecraft.Client/Linux`. `wlinux.h` has been renamed to `LinuxStubs.h` for consistency.
2026-03-02 21:21:51 -06:00
ella love b7c6512445 feat: implement win32 file I/O stubs over POSIX in wlinux.h 2026-03-02 22:00:33 -05:00
Tropical fd1dd31c6b fix: follow the time-honored 4J tradition of being lazy and not stubbing _itow in ChunkStorage 2026-03-02 19:40:40 -06:00
Tropical d75e0570b0 fix: cast InterlockedCompareExchangeRelease64 args in storage classes 2026-03-02 19:40:11 -06:00
Tropical 22b97a4dc0 feat: nanosleep-based Sleep stub 2026-03-02 19:33:37 -06:00
Tropical 065ffff071 feat: stub critical sections on top of pthread recursive mutexes 2026-03-02 19:25:37 -06:00
Tropical c4b25bc622 feat: add stubs for memory stats, atomics, errno 2026-03-02 19:08:25 -06:00
Tropical 006dba0602 feat: stub winapi TLS functions with pthread keys
Not sure how sound implicit casting `pthread_key_t` to `DWORD` is, but we can get away with it for now. Otherwise, we're gonna need to keep a global list of registered keys and mutex that and blah blah blah
2026-03-02 18:28:06 -06:00
Tropical 70c8a010e8 refactor: move stubs out of App_Defines.h into wlinux/extraX64 2026-03-02 17:57:20 -06:00
Tropical 81c9b9d021 feat: stub InitializeCriticalSection in extraX64 2026-03-02 17:48:28 -06:00
Tropical 62551094c6 fix: remove redefinitions of various xbox-related constants 2026-03-02 17:47:19 -06:00
Tropical 6f80c79e80 remove duplicate includes of extraX64
Now that we support stdafx.h, these are unnecessary
2026-03-02 17:47:01 -06:00
Leah Anderson 1003ed9cd3
Merge pull request #8 from tropicaaal/refactor/no-more-backslash
refactor: all backslash includes must die
2026-03-02 16:34:36 -07:00
Tropical d096d9b831 fix: more improper capitalization 2026-03-02 16:44:52 -06:00
Leah Anderson 092001eeab more fixes 2026-03-02 15:37:06 -07:00
Tropical 5fe4d56b98 refactor: all backslash includes must die 2026-03-02 16:36:59 -06:00
Tropical 20af84454a fix: add boolean typdef, more case-insensitive includes 2026-03-02 16:15:26 -06:00
Tropical 180647231b fix: improperly cased biome.h include 2026-03-02 16:09:31 -06:00
Tropical a643690658 fix: duplicate telemetry includes 2026-03-02 16:09:21 -06:00
Tropical 0f560867c0 fix: remove hardcoded locales and include through stdafx 2026-03-02 15:56:38 -06:00
Mohamed Ashraf 36daeebed0 MORE 2026-03-03 01:35:55 +04:00
Mohamed Ashraf 69dc7a2279 fix missing app 2026-03-03 01:15:38 +04:00
Leah Anderson d6d7fa7ada fix a myriad of other files 2026-03-02 14:09:40 -07:00
Leah Anderson b2e255fc05 resolve conflicts 2026-03-02 13:57:58 -07:00
Mohamed Ashraf 365f6ad5eb fix(TLS): tls shit 2026-03-03 00:41:40 +04:00
Leah Anderson 41a0befd07 preliminary fix because this is relatively easy to do 2026-03-02 13:36:12 -07:00
Mohamed Ashraf d63a688bec 6th batch of changes 2026-03-03 00:26:38 +04:00
Mohamed Ashraf 2e34f54ba7 fix(hasher): USE OPENSSL 2026-03-02 23:52:30 +04:00
Leah Anderson a7a1ceed39 fuck 2026-03-02 12:29:25 -07:00
Leah Anderson 9a3dd2df38 Merge branch 'leahs-dev-branch' of github.com:4jcraft/4jcraft into leahs-dev-branch 2026-03-02 12:28:03 -07:00
Leah Anderson 71db263e5d yet another quickfix 2026-03-02 12:27:29 -07:00
Mohamed Ashraf a41f601bf8 fix(Minecraft.World): uhh 2026-03-02 23:27:12 +04:00
Mohamed Ashraf 334cad146b chore(core): replace \ with / 2026-03-02 23:19:20 +04:00
Leah Anderson 79c1737c34 4th batch 2026-03-02 12:00:59 -07:00
Mohamed Ashraf 9cfc2e5b16 now its time to go through std hell... 2026-03-02 22:41:28 +04:00
Mohamed Ashraf 19da56305e chore: Merge branch 'leahs-dev-branch' of https://github.com/ThePixelMoon/4jcraft into leahs-dev-branch 2026-03-02 22:36:16 +04:00
Mohamed Ashraf a6bce04f9d hopefully fix std ver? 2026-03-02 22:36:04 +04:00
Leah Anderson e729d27372 third batch of fixes 2026-03-02 11:28:02 -07:00
Leah Anderson 87c2aa0dba fix that one error 2026-03-02 11:07:34 -07:00
Leah Anderson 8947b89f22 more casting errors fixed 2026-03-02 10:52:12 -07:00
Leah Anderson daa04a789a to whoever at 4j made this code not adhere to any C standard: why 2026-03-02 10:40:53 -07:00
Mohamed Ashraf f10f5845fd more fixes 2026-03-02 20:49:57 +04:00
Mohamed Ashraf a454171f42 fix(linux): more shit 2026-03-02 18:29:17 +04:00
Mohamed Ashraf 3ece2a588d You shall fix ze bugs you shall ve happy 2026-03-02 16:30:43 +04:00
Mohamed Ashraf 0803f67f47 fix(File): Remove WinAPI related shit 2026-03-02 14:27:09 +04:00
Mohamed Ashraf 141819a6c4 fix(bytebuffer): Fix bytebuffer compile 2026-03-02 12:42:45 +04:00
Mohamed Ashraf 115da74e1e fix(Minecraft.World) major fixes, now i need to fix byte bullshit 2026-03-02 12:18:09 +04:00
Mohamed Ashraf 84f61b0131 fix(world): attempts 2026-03-02 10:05:28 +04:00
Mohamed Ashraf 96e219ee1e fix(solution): HOLY SHIT IT'S COMPILING 2026-03-02 09:38:48 +04:00
Mohamed Ashraf dcb2c43944 major fixes of my shit code 2026-03-02 08:58:33 +04:00
ThePixelMoon 769d9ceb0d wlinux: move defines to the top 2026-03-01 21:16:38 +02:00
ThePixelMoon 32f065e21d Minecraft.World: move linux win defs into its own file 2026-03-01 21:14:51 +02:00
Mohamed Ashraf 1c9953733f Moon forced me to this, i'm sorry valve 2026-03-01 23:09:07 +04:00
Mohamed Ashraf 7a83b33df1 SAVE_FILE_PLATFORM_LOCAL stub 2026-03-01 22:58:18 +04:00
Mohamed Ashraf 9bc3f561d9 fix(Renderer): Fix renderer compile 2026-03-01 22:48:35 +04:00
Mohamed Ashraf 6dc2e3bd71 fix(4JLibs): Fix 4J renderer to use normal OpenGL and not some hacky D3D11 shit 2026-03-01 22:03:58 +04:00
Mohamed Ashraf ed614e0fa0 fix: Compile fixes in both Minecraft.Client|World. 2026-03-01 21:55:20 +04:00
Mohamed Ashraf d6f88335e7 fix(Minecraft.Client|World) FIX ALL HEADERS HOLY SHIT 2026-03-01 21:42:44 +04:00
Mohamed Ashraf 241491e122 fix(solution): Enough changes to get CMake generation 2026-03-01 21:16:31 +04:00
Mohamed Ashraf b81823c0c0 feat(cmake): Initial CMake Port from CMake-Converter 2026-03-01 18:22:34 +04:00
ThePixelMoon 1a0dd4bd06 Initial dump 2026-03-01 15:49:25 +02:00