Commit graph

1504 commits

Author SHA1 Message Date
Nikita Edel caadcfe9db faulty casts of templated classes 2026-03-11 03:45:56 +01:00
Tropical 35a45063b1 fix: remove the fallback null LeaderboardManager 2026-03-10 21:39:46 -05:00
Nikita Edel e76ec32824 dangerous alignment issues
the processDLCData() fn, was constantly casting a raw byte pointer to scalars/structs, replaced those calls with memcpy, also optimized and improved the guards for __linux__ at the top of the file
2026-03-11 03:24:46 +01:00
Tropical 8ae9e62be3 feat: reimplement absolute mouse input on SDL 2026-03-10 21:14:19 -05:00
Tropical cf3defee35 Merge branch 'dev' into feat/restore-java-gui 2026-03-10 21:02:58 -05:00
Tropical deeee2a5d5 fix: add dummy LinuxLeaderboardManager implementation 2026-03-10 20:56:57 -05:00
Leah Anderson d9dbb5c39c
Merge pull request #157 from 4jcraft/feat/sdl-support
Added SDL support & Remade 4j_Input
2026-03-10 19:42:49 -06:00
Tropical ca9ac8e7f7 fix: hotbarSlot is zero-indexed, move max hotbar slots into a constant
Some checks are pending
Build (Linux, x86_64) / build-linux (push) Waiting to run
Build (Linux, x86_64) / build-linux-debug (push) Waiting to run
2026-03-10 20:18:03 -05:00
Tropical 28018e5022 refactor: die FPS flamegraph 2026-03-10 20:11:35 -05:00
Tropical 304c591512 fix: hotbarSlot bounds check 2026-03-10 20:08:54 -05:00
Tropical 9752dec5e7 fix: remove juicey's visionary offhand implementation 2026-03-10 20:08:01 -05:00
JuiceyDev c2728cd2d9 SDL scroll wheel w/ hotbar & numbr support !!!!!! 2026-03-11 01:52:27 +01:00
Nikita Edel dfb200d037 integer oferflow, shift of negative value 2026-03-11 00:26:31 +01:00
Tropical f90d9a2b0d docs: don't list meson as a build dep 2026-03-10 18:13:57 -05:00
Tropical 6c67565a0b fix: dont invoke apt-get with sudo in dockerfile 2026-03-10 18:10:45 -05:00
Tropical c606302808 fix: dl dep is gone 2026-03-10 18:09:03 -05:00
Tropical 47db746861 no png go away shoo 2026-03-10 17:59:43 -05:00
Tropical 52ee114f24 refactor: dont depend on libpng and libdl, update docs 2026-03-10 17:57:56 -05:00
Tropical bce996a2ef refactor: simplify and update CI pipeline 2026-03-10 17:49:34 -05:00
Tropical 197bf0033f Merge branch 'dev' into feat/sdl-support 2026-03-10 17:38:52 -05:00
Tropical fe631bcff8 chore: undo unintentional meson changes, update README 2026-03-10 17:32:53 -05:00
Nikita Edel a006cc5aa0 uninitialized vptr
the vptr to isSolidRender() is not known before contruction of the Tile. Its true by default. if false, need to pass false. that is what i did. i verfied what isSolidRender() is in every file. and did exactly what isSolidRender() would return
2026-03-10 23:22:34 +01:00
MathiewMay 41d8202c47 applied changes requested by tropicaaal
"i would prefer that these be cast to sized integer types int8_t for portability reasons."

 "The light layer changes are ultimately a hack over the broken renderer implementation and probably out of scope for this PR. There's an in-progress fix for the root cause of this, so this should be removed."

 "std::numeric_limits<int16_t>::max()"
2026-03-10 18:20:33 -04:00
Nikita Edel 8865194e47 uninitialized data 2026-03-10 21:59:51 +01:00
Leah Anderson 4e39635f20
Merge pull request #167 from 4jcraft/fix/missing-asset-error
Some checks are pending
Build Linux Release / build-linux (push) Waiting to run
Build Linux Release / build-linux-debug (push) Waiting to run
fix: remove unused console-only asset archive imports
2026-03-10 14:31:36 -06:00
Tropical 687d4e66a3
Merge pull request #147 from nikita-edel/dev
enhancement: make LCE runnable with ASan
2026-03-10 15:27:22 -05:00
Tropical 12ede0691a fix: remove unused console-only asset archive imports 2026-03-10 15:22:37 -05:00
Nikita Edel cc305944e5
Merge branch '4jcraft:dev' into dev 2026-03-10 20:59:25 +01:00
Tropical fd785ad3f2
Merge pull request #132 from TheComputerGuy96/ci-debug-job
Debug build split (and other minor CI fixups)
2026-03-10 14:58:13 -05:00
Nikita Edel c86bfe35f3
Merge branch '4jcraft:dev' into dev 2026-03-10 20:51:42 +01:00
MatthewBeshay ca942717cb
Merge branch '4jcraft:dev' into issue/51-phase-1-portable-win32-cleanup 2026-03-11 06:44:56 +11:00
Nikita Edel 0ff6f767e5 formailize comments 2026-03-10 20:30:31 +01:00
Nikita Edel da3d69b5bd final commit, removed scripts and reset meson.build 2026-03-10 20:27:11 +01:00
Nikita Edel af16088015 improved a change 2026-03-10 20:13:01 +01: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
Nikita Edel f9fc430c43
Merge branch '4jcraft:dev' into dev 2026-03-10 19:34:42 +01:00
Tropical d495ebf841
Merge pull request #166 from TheComputerGuy96/non-infinity
GameNetworkManager: Fix incorrect infinity value redefinition
2026-03-10 13:32:24 -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
MathiewMay 752daaa873 Removed the remaining turnOnLightLayer in GameRender, this fixes the particles being dark. 2026-03-10 13:46:45 -04:00
Tropical 5406648692 fix: implement CConsoleMinecraftApp::FatalLoadError on linux 2026-03-10 11:16:42 -05:00
JuiceyDev 69c3e61ca3
Merge branch 'dev' into feat/sdl-support 2026-03-10 17:03:17 +01:00
JuiceyDev ae00c4719f
Merge pull request #164 from realffqq/feat/restore-java-gui
Some checks are pending
Build Linux Release / build-linux (push) Waiting to run
(feat/restore-java-gui) fix: pass ESC keypress to screen
2026-03-10 15:28:25 +01:00
Sally Knight 716fa4fc21 fix: pass ESC keypress to screen (#161) 2026-03-10 16:49:50 +03:00
Mathiew May 02dddf1cb3
Merge branch 'dev' into dev 2026-03-10 09:42:30 -04:00
MatthewBeshay d8ed82d703
Merge branch '4jcraft:dev' into issue/51-phase-1-portable-win32-cleanup 2026-03-10 21:06:10 +11:00
JuiceyDev 712c3f1f47 better ci 2026-03-10 10:41:56 +01:00
JuiceyDev 56245448d3
Merge pull request #160 from vekidev/patch-1
Some checks are pending
Build Linux Release / build-linux (push) Waiting to run
the biggest pr of them all
2026-03-10 10:37:46 +01:00
vekidev 45c90ef358
the biggest commit of them all
its the biggest one what can i tell you
2026-03-10 10:27:24 +01:00
JuiceyDev 71f542a860 added back build-linux workflow 2026-03-10 09:43:30 +01:00
JuiceyDev 1c67f134b2 added files from pr 2026-03-10 09:18:20 +01:00