Commit Graph

55 Commits

Author SHA1 Message Date
Tropical
5572846d25 move PortableFileIO to ConsoleHelpers 2026-04-01 09:46:25 -05:00
Tropical
31a17ff8df replace D3DXVECTOR3 with Vec3, rename Source Files and Header Files to src/include 2026-04-01 09:36:14 -05:00
Tropical
4fc56e0225 split out extraX64.h and delete x64headers folder 2026-04-01 09:27:02 -05:00
Tropical
1451a991b3 Merge pull request #384 from silverhadch/rubicon
Increase stream buffer size from 255 to 1024 to prevent overflow
2026-04-01 08:09:13 -05:00
Hadi Chokr
c31b086791 Increase stream buffer size from 255 to 1024 to prevent overflow 2026-04-01 08:48:55 +02:00
MatthewBeshay
f70d4b703b refactor: split extraX64.h into NetTypes.h and XboxStubs.h
World no longer depends on Xbox/network stubs. INVALID_XUID moved to
4J_Compat.h. XPhysicalAlloc replaced with std::vector in HellFlatLevelSource.
2026-04-01 17:48:04 +11:00
Tropical
5e7cdabea3 replace XPhysicalAlloc 2026-04-01 01:23:05 -05:00
Tropical
7df158d266 replace XMemSet/XMemSet128 2026-04-01 01:18:36 -05:00
Tropical
7f71a9b980 remove more x64 stubs 2026-04-01 01:16:47 -05:00
Tropical
5b9632dc15 remove win64 4J_Profile stub 2026-04-01 01:14:15 -05:00
Tropical
564959f4e9 from unused PIX profiler events 2026-04-01 01:12:36 -05:00
Tropical
181b697327 purge unused winapi stubs 2026-04-01 00:56:17 -05:00
Tropical
f047de62e2 remove ZeroMemory macro 2026-04-01 00:47:23 -05:00
MatthewBeshay
b4feb6ce92 chore: mark comment 4jcraft 2026-04-01 16:28:57 +11:00
MatthewBeshay
cca286b73a fix: getSubimage pixel data written to copy, not actual buffer 2026-04-01 16:18:40 +11:00
MatthewBeshay
be3cb9ad92 fix: undef stb_vorbis macros leaking into unity build chunks 2026-04-01 13:47:25 +11:00
Tropical
a9d30ab5c8 attempt to make CI happy 2026-03-31 21:39:54 -05:00
Tropical
251ec595e8 fix a whole lot of missing includes 2026-03-31 21:24:23 -05:00
MatthewBeshay
4271e562a6 fix: clean up __valid macro leak at source in sal.h instead of patching every include site 2026-04-01 13:15:16 +11:00
Tropical
70194c6a3b refactor: prune Minecraft.Client stdafx includes 2026-03-31 18:45:41 -05:00
Sally Knight
0958c5bb78 fix(jui): assign screen only after conditional initialization
Fixes death screen not showing up on java ui
2026-04-01 02:27:35 +03:00
Tropical
c2b4de1a03 refactor: prune stdafx includes from world 2026-03-31 18:16:48 -05:00
Tropical
d128801a35 nuke ArrayWithLength 2026-03-31 18:07:25 -05:00
Tropical
1ce8413cfa nuke Minecraft.World stdafx.h 2026-03-31 17:58:27 -05:00
Tropical
a10c106c24 remove most of Minecraft.Client stdafx 2026-03-31 16:47:34 -05:00
Tropical
6ef973ef8b remove implicit stdafx inclusion from Client 2026-03-31 15:33:45 -05:00
Tropical
1a2cfd5199 fix UI include issues 2026-03-31 14:11:47 -05:00
Tropical
2ea30f3ae2 run IWYU on Minecraft.Client 2026-03-31 13:50:13 -05:00
MatthewBeshay
ee31bfcec5 refactor: replace POSIX/Win32 APIs with standard C++ equivalents
Replaces platform-specific APIs across 21 files with std::chrono, std::fstream, std::filesystem, and std::this_thread. Adds PlatformTime.h utility header wrapping std::chrono::steady_clock for GetTickCount/QueryPerformanceCounter patterns.
2026-04-01 05:01:37 +11:00
MatthewBeshay
2f92b07c1f fix: resolve ByteBuffer hardcoded path and static const linker errors 2026-03-31 21:50:15 +11:00
MatthewBeshay
a18cb3d484 refactor: replace shared_ptr(new T) with make_shared<T> 2026-03-31 20:42:45 +11:00
MatthewBeshay
8b836cf604 refactor: remove remaining trial/upsell from platform interfaces 2026-03-31 20:12:15 +11:00
MatthewBeshay
940b214539 refactor: apply C++ best practices to platform interfaces
Extract shared types to PlatformTypes.h, add [[nodiscard]] to query
methods, convert file-scope enums to enum class with compat aliases.
2026-03-31 20:05:59 +11:00
MatthewBeshay
42839182cd refactor: break World dependency on 4J modules via platform interfaces 2026-03-31 20:05:59 +11:00
MatthewBeshay
5c3668ec3c refactor: remove IsFullVersion and all trial mode code 2026-03-31 20:05:59 +11:00
MatthewBeshay
9e207250cb refactor: add platform interfaces, move GetPrimaryPad to Input, gut Profile stubs 2026-03-31 20:05:59 +11:00
Tropical
0b52cf8727 remove more auto-generated files 2026-03-30 22:03:56 -05:00
Tropical
818f0d9621 remove unused auto-generated durango render test file 2026-03-30 22:01:22 -05:00
Tropical
f9e89c2be6 nuke memory tracking 2026-03-30 21:58:19 -05:00
Tropical
e00c95e7ab nuke SocialManager 2026-03-30 21:50:28 -05:00
MatthewBeshay
e942d0d472 refactor: revert GameMath rename back to Mth 2026-03-31 13:38:53 +11:00
Tropical
72ae771560 remove unused memory pool allocator 2026-03-30 21:38:41 -05:00
Tropical
c6139b5667 remove unused Console_Utils.cpp 2026-03-30 21:37:35 -05:00
Tropical
4375f8acdf remove SonyLeaderboardManager 2026-03-30 21:32:40 -05:00
Tropical
a9dd396836 remove unused glWrapper 2026-03-30 21:28:26 -05:00
Tropical
07861307a2 Merge branch 'rubicon' of https://github.com/4jcraft/4jcraft into rubicon 2026-03-30 21:17:57 -05:00
Tropical
ffb4f6801f nuke miles headers 2026-03-30 21:17:44 -05:00
MatthewBeshay
8f0c2a3f26 refactor: replace Mth with GameMath, switch to stdlib math and std::numbers::pi
Inlined trivial wrappers, moved ranged random methods to Random, replaced M_PI with std::numbers::pi, unified DEGRAD/RAD_TO_GRAD as DEG_TO_RAD, fixed getInt/getDouble default fallback bug, and switched non-worldgen sin/cos to sinf/cosf.
2026-03-31 13:12:34 +11:00
Tropical
56dfb0badf nuke the rest of Sentient 2026-03-30 21:12:28 -05:00
Tropical
e8052fc495 nuke TelemetryManager 2026-03-30 21:03:21 -05:00