Commit graph

191 commits

Author SHA1 Message Date
Tropical 5ba98a547e fix: properly detect/skip UTF-8 text modifier character 2026-04-08 01:41:56 -05:00
Tropical dcf9e0bcdb refactor: convert DLC string data directly to UTF-8 w/ simdutf 2026-04-08 01:41:34 -05:00
Tropical 00fec789b5 fix: don't truncate codepoints in DataInputStream::readUTF 2026-04-08 00:05:37 -05:00
Tropical 2912e9ae2e refactor: nuke all widestrings and widechars everywhere 2026-04-07 23:23:31 -05:00
MatthewBeshay f1f1d116b3
Merge pull request #409 from 4jcraft/platform-refactor 2026-04-08 13:39:24 +10:00
Tropical 56caa4f2dc fix(perf): don't compute chunk connectivity when the BFS occluder is disabled 2026-04-07 19:11:30 -05:00
Tropical e4883d87fc replace __debugbreak with assert, fix full build
Some checks are pending
Build (Linux, x86-64) / build-linux-amalgamate (push) Waiting to run
Build (Linux, x86-64) / build-linux-full (push) Waiting to run
Format Check / clang-format (push) Waiting to run
Release Nightly (Linux, x86-64) / release-linux (push) Waiting to run
2026-04-07 18:58:49 -05:00
Tropical 6faa481013 byte byte DWORD 2026-04-07 18:38:04 -05:00
Tropical 4a365e19f2 nuke a ton of winapi garbage 2026-04-07 18:35:43 -05:00
Tropical 0e6a6cc537 nuke a ton of winapi stubs 2026-04-07 18:18:46 -05:00
Tropical 559b207ee2 nuke d3d11_stubs 2026-04-07 18:05:45 -05:00
Tropical d9f2cb03c7 nuke more unused stubs 2026-04-07 18:00:30 -05:00
Tropical 489ca2675d nuke in-tree base64 2026-04-07 17:42:07 -05:00
Tropical c6285c903d nuke PlatformServices 2026-04-07 17:38:21 -05:00
Tropical 2f1a6f265f reorganize file i/o 2026-04-07 17:32:19 -05:00
Tropical 32aaafeb7e remove GL/gl.h includes 2026-04-07 16:29:27 -05:00
Tropical 8a1b3cc1c4 attempt to clean up renderer 2026-04-07 15:55:45 -05:00
Tropical 28931d5380 split out platform/storage 2026-04-07 14:43:07 -05:00
Tropical 0bdef577f5 reorganize actions/constants for profile and input 2026-04-07 12:43:47 -05:00
Tropical 25e6f7159e split out platform/profile to its own folder 2026-04-07 12:24:36 -05:00
Tropical a3a21557f8 split out platform/input to its own folder 2026-04-07 12:12:42 -05:00
Tropical 2672ad5493 remove unused includes 2026-04-06 21:40:30 -05:00
Tropical 706db0c300 add more missing includes to XuiActions 2026-04-06 21:39:08 -05:00
Tropical e9fb5ea39a fix: make dlcCheckForCorrupt discardable
from the surrounding context, it seems like this is only called to alert the user rather than the result being used.
2026-04-06 21:09:01 -05:00
Tropical 8b35193cf7 fix: missing includes in MenuController/XuiActions 2026-04-06 21:01:39 -05:00
MatthewBeshay 5d9bcac156 refactor: decouple minecraft/ from app/ via IGameServices virtual interface 2026-04-06 20:32:24 -05:00
MatthewBeshay 7787015025 refactor: move HandleXuiActions to separate translation unit 2026-04-06 20:32:24 -05:00
MatthewBeshay 3b47b80762 refactor: extract GameSettingsManager, DLCController, NetworkController, MenuController from Game 2026-04-06 20:32:24 -05:00
MatthewBeshay d61d3cddab refactor: extract LocalizationManager, ArchiveManager, SkinManager from Game 2026-04-06 20:32:24 -05:00
MatthewBeshay 0c7800d28b refactor: extract SaveManager, BannedListManager, TerrainFeatureManager, DebugOptions from Game 2026-04-06 20:32:24 -05:00
MatthewBeshay 5f64818302 refactor: eliminate app. calls from minecraft via Log, Strings, GameHostOptions, and service wiring 2026-04-06 20:32:24 -05:00
MatthewBeshay f28c722da4 refactor: split QNet stubs out of XboxStubs.cpp, remove dead Xbox symbols 2026-04-06 20:32:24 -05:00
MatthewBeshay 54a1f90212 refactor: move misplaced headers to their proper modules 2026-04-06 20:32:24 -05:00
MatthewBeshay d814a78453 refactor: flatten app/ and util/ directory structure 2026-04-06 20:32:24 -05:00
DecalOverdose e452788fff
Revert "Initial Android Support" 2026-04-05 21:16:01 +04:00
ItzVladik fa6861b221 Initial Android Support 2026-04-05 16:49:56 +00:00
ItzVladik 1ea1801271 Edit meson scripts to compile for Android 2026-04-05 08:18:29 +00:00
ppc64be 5264bdf335
fix: improper buffer handling in playSoundTick() (#393)
Signed-off-by: kernaltrap <kernaltrap@proton.me>
2026-04-04 14:04:43 -05:00
Aydin Y. da89ab8c5a
fix: entity push collision (#395) 2026-04-04 14:04:09 -05:00
Tropical 44903526c6 fix: UI_REPEAT constant linkage 2026-04-04 12:39:18 -05:00
Tropical 52b8c8a1d5 fix: broken std::fill call
Some checks failed
Build (Linux, x86-64) / build-linux (push) Has been cancelled
Format Check / clang-format (push) Has been cancelled
2026-04-03 22:00:59 -05:00
MatthewBeshay 31580d44dd refactor: rename CMinecraftApp to Game, extract IPlatformGame interface 2026-04-04 10:17:12 +11:00
MatthewBeshay 7ecb17596a refactor: migrate platform interface callbacks from C-style to std::function 2026-04-04 09:42:27 +11:00
MatthewBeshay f11473776c refactor: switch CompoundTag from unordered_map to flat_map 2026-04-04 09:42:27 +11:00
JuiceyDev 57641ebcca refactor: made renderer clean buffer 2026-04-04 00:16:08 +02:00
JuiceyDev e7f4dfd79e trolling tropical
Some checks are pending
Build (Linux, x86-64) / build-linux (push) Waiting to run
Format Check / clang-format (push) Waiting to run
2026-04-03 23:47:19 +02:00
JuiceyDev dc7625dfdd fix: faster rendering pipeline & introduction to new gl constraints. 2026-04-03 23:38:52 +02:00
JuiceyDev 15f2f54a14 fix: huge performance fix with chunk storage.
insane code by 4j devs, this is objectively the WORST code i've seen
this year, not even yanderedev can compare.
2026-04-03 21:49:54 +02:00
Sally Knight d7e9d798b4 fix: includes and fmt 2026-04-03 21:50:24 +03:00
JuiceyDev 4dfba6ccd8 refactor: faster chunk & schematic loading 2026-04-03 20:40:21 +02:00
Sally Knight 342a195ba8 fix(wither): move livingEntitySelector from static to per-instance
Withers were previously using the same static LES pointer (which gets destroyed on death) causing a segfault when another wither is spawned after the first one is dead
2026-04-03 19:40:17 +03:00
Tropical 63ab8d1b20 trim down XboxStubs 2026-04-03 11:03:11 -05:00
Tropical 94cabb657d move shaders folder inside of sdl2 2026-04-03 10:00:02 -05:00
Tropical bf8679cf69 move compression.h to ConsoleSaveFileIO 2026-04-03 09:55:21 -05:00
MatthewBeshay c3312a9a01 fix: update CI to install libc++ and fix artifact path
Some checks are pending
Build (Linux, x86-64) / build-linux (push) Waiting to run
Format Check / clang-format (push) Waiting to run
2026-04-03 19:43:00 +11:00
MatthewBeshay 5105f89648 refactor: use std::endian directly, enum class EDefaultSkins, rename reserved-prefix helpers 2026-04-03 19:05:19 +11:00
MatthewBeshay 3f33bf4817 fix: remove unnecessary zlib Byte typedef workaround in compression.cpp 2026-04-03 19:01:05 +11:00
MatthewBeshay bfc960c0f1 refactor: split EDefaultSkins out of Definitions.h into SkinTypes.h 2026-04-03 19:01:05 +11:00
MatthewBeshay decc20b70f refactor: dissolve console_helpers into util, platform, and minecraft 2026-04-03 19:01:05 +11:00
MatthewBeshay 116cf4887d refactor: remove dead code and fix thread safety in console_helpers 2026-04-03 19:00:40 +11:00
MatthewBeshay 5bbb045e86 refactor: consolidate timing utilities into header-only Timer.h 2026-04-03 18:57:29 +11:00
MatthewBeshay 98e23cfd4d refactor: consolidate file I/O into IPlatformFileIO, delete PortableFileIO and PathHelper 2026-04-03 18:57:29 +11:00
MatthewBeshay bc2a0d6c7f feat: add IPlatformFileIO interface for cross-platform file access 2026-04-03 18:57:29 +11:00
MatthewBeshay f2a6d29fa1 refactor: wire IPlatformLeaderboard and IPlatformNetwork into PlatformServices 2026-04-03 18:57:29 +11:00
Tropical d2d5cd6536 refactor: clean up Linux_Minecraft and rewrite wstring -> utf8string conversion with simdutf
Some checks are pending
Build (Linux, x86-64) / build-linux (push) Waiting to run
Format Check / clang-format (push) Waiting to run
2026-04-02 21:01:25 -05:00
Sally Knight 658d72a89e fix(jui): switch to normal Lighting::turnOn() 2026-04-03 04:17:09 +03:00
Sally Knight 3c3a5759b8 fix(render): clamp combined diffuse lighting to prevent overlighting
SPECIFICALLY on the top face where both lights add up to >1, causing the issue in the first place
2026-04-03 04:07:48 +03:00
Tropical 2a2a9ef57f nuke app stdafx.h 2026-04-02 12:48:41 -05:00
Tropical 857b3b6560 nuke com.mojang.nbt.h 2026-04-02 12:35:40 -05:00
Tropical 42f6178703 nuke DirectXMath 2026-04-02 12:34:24 -05:00
Tropical 1513483068 nuke xbox_stubs.h 2026-04-02 12:13:57 -05:00
Tropical 2db038ff45 fix jui build 2026-04-02 12:09:27 -05:00
Tropical ee2f9961c5 fix: jui compile due to include ordering 2026-04-02 09:21:09 -05:00
MatthewBeshay eacf5ccf30 refactor: remove backwards-compat enum aliases from PlatformTypes
Some checks are pending
Build (Linux, x86-64) / build-linux (push) Waiting to run
Format Check / clang-format (push) Waiting to run
2026-04-02 16:30:19 +11:00
MatthewBeshay 26222f26e0 refactor: fold 4J.Common into platform types, eliminate last 4J directory 2026-04-02 16:27:06 +11:00
MatthewBeshay 11f9bd6046 refactor: move Minecraft.Client into app 2026-04-02 16:09:32 +11:00
MatthewBeshay e5a859f8a7 refactor: move 4J implementations into platform/sdl2 2026-04-02 16:03:08 +11:00
MatthewBeshay 35b63da24d refactor: migrate CPlatformNetworkManager into IPlatformNetwork 2026-04-02 15:42:22 +11:00
MatthewBeshay 7b1a6092e1 refactor: extract IPlatformLeaderboard from LeaderboardManager 2026-04-02 15:36:42 +11:00
Tropical e57105c5b3 rename IPlatformRender to IPlatformRenderer
Some checks are pending
Build (Linux, x86-64) / build-linux (push) Waiting to run
Format Check / clang-format (push) Waiting to run
2026-04-01 20:16:33 -05:00
Tropical 0299a503f9 nuke net.minecraft.* headers 2026-04-01 19:13:26 -05:00
Tropical 591801909a nuke UI.h 2026-04-01 18:55:01 -05:00
Tropical e84ebdf10f nuke in-tree stb_image implementation 2026-04-01 18:22:40 -05:00
Tropical f1118bf007 format the whole repo (again) 2026-04-01 18:17:44 -05:00
Tropical 3d173c384d fixup bad 4jlibs includes 2026-04-01 18:03:53 -05:00
Tropical 6eb277c9aa run IWYU on entire codebase 2026-04-01 18:02:06 -05:00
Sally Knight 729aad5f06 fix: missing jui includes (and slight structure changes) 2026-04-02 00:28:10 +03:00
Tropical dc4e2287ee run clang-format to order includes, fix include ordering errors 2026-04-01 15:59:19 -05:00
Tropical dd93cfe91e format everything
Some checks are pending
Build (Linux, x86-64) / build-linux (push) Waiting to run
Format Check / clang-format (push) Waiting to run
2026-04-01 13:48:29 -05:00
Tropical 3e813592e4 fix build errors 2026-04-01 13:38:36 -05:00
Tropical 8315a5ba2b rename minecraft folder to `targets 2026-04-01 13:27:58 -05:00