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
Tropical
ed9701fc4d
nuke telemetry recording calls
2026-03-30 20:40:50 -05:00
Tropical
8580100ce4
Merge branch 'rubicon' of https://github.com/4jcraft/4jcraft into rubicon
2026-03-30 20:14:03 -05:00
Tropical
917a79caed
fix java package build
2026-03-30 20:14:00 -05:00
MatthewBeshay
7ddfaeb59e
refactor: remove arrayWithLength, replace with std::vector
...
Eliminates the custom arrayWithLength<T> wrapper and all typedefs, replacing with std::vector<T> directly.
2026-03-31 12:06:19 +11:00
Tropical
27a4964941
specify correct include path for java target
Build (Linux, x86-64) / build-linux (push) Waiting to run
Format Check / clang-format (push) Waiting to run
2026-03-30 17:19:50 -05:00
Tropical
69965844ce
fix double include
2026-03-30 15:52:05 -05:00
Tropical
0817878fe1
refactor: consistent include paths in java/nbt
2026-03-30 15:47:05 -05:00
Tropical
44f6982e96
nuke empty stdafx source files
2026-03-30 12:56:14 -05:00
Tropical
da1d6d8e97
refactor: split java libs and nbt into separate projects
2026-03-30 12:54:00 -05:00
JuiceyDev
ddfdbcd1bc
Update README progress numbers. ( #370 )
...
Publish Documentation / build (push) Has been cancelled
Build (Linux, x86-64) / build-linux (push) Has been cancelled
Format Check / clang-format (push) Has been cancelled
* Updated Readme numberz
* README: fix asset paths
---------
Co-authored-by: ffqq <36998498+realffqq@users.noreply.github.com>
2026-03-30 19:02:02 +03:00
Tropical
5c17c5c9ff
move everything to minecraft subdir, switch to absolute include path
2026-03-30 11:01:08 -05:00
Tropical
bedd46fcec
Merge pull request #366 from TheComputerGuy96/fix/ci-meson
...
CI improvements
2026-03-30 10:57:32 -05:00
Echo J.
b9b033c0a0
CI: Allow manual triggering for all workflows
2026-03-30 15:55:11 +00:00
Echo J.
a03bdcaedf
CI: Update cache action version
2026-03-30 15:55:11 +00:00
Echo J.
4f92504668
CI: Remove useless Meson cache/patchelf installation
2026-03-30 15:55:11 +00:00
Echo J.
a045d26f05
CI: Fix the ccache path (and re-add cache key fallback)
2026-03-30 15:55:11 +00:00
Echo J.
b6699f0269
CI: Use direct compiler variables instead of a native file
...
This interferes with our ccache setup
2026-03-30 15:55:11 +00:00
Echo J.
d393a09a58
CI: Remove redundant ccache options
2026-03-30 15:55:11 +00:00
Tropical
d570e28c16
make the game build
2026-03-30 10:43:58 -05:00
Tropical
451682693e
restructure codebase according to vcproj filters
2026-03-30 09:50:58 -05:00
Tropical
d5cf90c713
Merge pull request #369 from MatthewBeshay/refactor/nuke-critical-sections
...
Refactor/nuke critical sections
2026-03-30 09:37:57 -05:00
Tropical
1767c3f6e9
chore: fmt
2026-03-30 09:37:24 -05:00
MatthewBeshay
e911e07a58
Refactor C4JThread: modernise API naming and replace Windows constants
...
Rename all PascalCase methods to camelCase, replace Windows macro constants with C++ constexpr members, convert ThreadPriority to enum class, remove unused Sleep(), fix memory ordering on inline accessors, extract platform code into helpers.
2026-03-31 01:06:06 +11:00
MatthewBeshay
156a23d744
Remove dead _ENTITIES_RW_SECTION code and update stale critical section comments
...
The RW section code path was never compiled. Updated remaining comments to reflect mutex/lock terminology.
2026-03-31 00:23:35 +11:00
MatthewBeshay
a513fa7597
Rename CriticalSection wrapper functions to match std::mutex usage
...
EnterCallbackIdCriticalSection/LeaveCallbackIdCriticalSection -> lockCallbackScenes/unlockCallbackScenes, EnterSaveNotificationSection/LeaveSaveNotificationSection -> lockSaveNotification/unlockSaveNotification, m_saveNotificationCriticalSection -> m_saveNotificationMutex.
2026-03-31 00:16:16 +11:00
MatthewBeshay
e4520df31f
Restore recursive locking for mutexes converted from CRITICAL_SECTION
...
CRITICAL_SECTION is reentrant; std::mutex is not. This caused deadlocks during world generation, post-processing, and saving.
2026-03-30 22:14:14 +11:00
MatthewBeshay
57e4bdd973
Fix dirtyChunksLock scope in updateDirtyChunks
...
Move unique_lock declaration before the FRAME_PROFILE_SCOPE block so it remains in scope for the unlock() calls in the #if/#else branches below.
2026-03-30 19:12:22 +11:00
MatthewBeshay
f1df21590b
Merge dev and resolve formatting conflicts
2026-03-30 19:00:30 +11:00
MatthewBeshay
123c326881
Merge remote-tracking branch 'origin/dev' into refactor/nuke-critical-sections
2026-03-30 18:54:27 +11:00
MatthewBeshay
bc6013ab70
Replace all CRITICAL_SECTION usage with std::mutex and std::lock_guard
...
Migrates 59 files from WinAPI CRITICAL_SECTION to portable C++ std::mutex/std::lock_guard/std::unique_lock. Removes Linux CRITICAL_SECTION shims from winapi_stubs.h.
2026-03-30 18:45:55 +11:00
Tropical
8a83ea0879
Merge pull request #363 from 4jcraft/chore/fmt2
...
Publish Documentation / build (push) Waiting to run
Build (Linux, x86-64) / build-linux (push) Waiting to run
Format Check / clang-format (push) Waiting to run
chore: format everything
2026-03-30 02:33:42 -05:00
Tropical
a8b9e9a185
wtf
2026-03-30 02:31:58 -05:00
Tropical
078eb3a144
format UIScene_ControlsMenu
2026-03-30 02:24:37 -05:00
Tropical
826862e79e
format more things i missed
2026-03-30 02:19:38 -05:00
Tropical
c9b90cae2c
chore: format everything
2026-03-30 02:17:54 -05:00
Tropical
470ddf959d
Merge pull request #362 from 4jcraft/in-tree-4jlibs
...
nuke Windows64 4jlibs
2026-03-30 02:11:45 -05:00
Tropical
f1c9edb6b6
nuke Windows64 4jlibs
2026-03-30 02:11:28 -05:00
MatthewBeshay
c772cfe8b3
Merge pull request #361 from 4jcraft/in-tree-4jlibs
...
refactor: bring 4jlibs back in-tree
2026-03-30 18:09:11 +11:00
Tropical
ecc15c6148
refactor: bring 4jlibs back in-tree
2026-03-30 02:04:44 -05:00
Tropical
7c7446f407
Merge pull request #360 from MatthewBeshay/refactor/nuke-winapi-types
...
Refactor/nuke winapi types
2026-03-30 01:45:58 -05:00
MatthewBeshay
8a6d279230
Merge branch '4jcraft:dev' into refactor/nuke-winapi-types
2026-03-30 17:37:02 +11:00
MatthewBeshay
28d68befd4
Replace remaining WinAPI types with standard C++ equivalents
...
DWORD→uint32_t, BYTE→uint8_t, HRESULT→int32_t, HANDLE→void*, UINT→uint32_t, INT→int32_t, WORD→uint16_t, LONG→int32_t, SHORT→int16_t, LONGLONG→int64_t, ULONG_PTR→uintptr_t, PBYTE→uint8_t*, LPWSTR/PWSTR→wchar_t*, FLOAT→float, CHAR→char, boolean→bool, CONST→const, TRUE→true, FALSE→false across 176 files (excluding vendor libs and Linux stubs).
2026-03-30 17:36:15 +11:00
MatthewBeshay
56290446db
Merge pull request #359 from 4jcraft/nuke-zlib
...
remove xuiscene_base
2026-03-30 17:26:53 +11:00
Tropical
d42f37c3ee
remove xuiscene_base
...
duplicate of a file already in XboxMedia
2026-03-30 01:01:15 -05:00
MatthewBeshay
b9c32b580c
Merge pull request #358 from 4jcraft/nuke-zlib
...
nuke in-tree zlib
2026-03-30 16:57:57 +11:00
Tropical
df5d806c85
nuke in-tree zlib
2026-03-30 00:54:24 -05:00
MatthewBeshay
b28650976d
Merge pull request #357 from 4jcraft/refactor/expand-auto-var
...
nuke more winapi types
2026-03-30 16:44:08 +11:00