Commit graph

191 commits

Author SHA1 Message Date
MatthewBeshay 557dd7430b refactor: extract ITutorial interface and move TutorialEnum to minecraft 2026-04-09 22:20:30 +10:00
MatthewBeshay 6fd9148e17 chore: drop redundant Socket.h includes from PlayerList and PlayerConnection 2026-04-09 22:06:25 +10:00
MatthewBeshay a1b9329ad8 refactor: move GAME_RULE_SAVENAME to ConsoleGameRulesConstants.h 2026-04-09 22:03:05 +10:00
MatthewBeshay 9b729ed19e refactor: drop GameNetworkManager.h transitive include from Socket.h 2026-04-09 21:57:30 +10:00
MatthewBeshay 0a5cf82d80 chore: drop unused extern LinuxGame app from FileHeader.cpp 2026-04-09 21:48:47 +10:00
MatthewBeshay e174fabcb6 chore: drop stale app/common/App_structs.h includes from minecraft consumers 2026-04-09 21:45:21 +10:00
MatthewBeshay 62186f8afb refactor: relocate ConsoleSoundEngine base into minecraft/sounds/ 2026-04-09 21:41:06 +10:00
MatthewBeshay 4d9db3ed3b refactor: hide DLC pack lookups behind TexturePack::needsPurchase and BufferedImage helper 2026-04-09 21:22:07 +10:00
MatthewBeshay 8b202ba5f1 refactor: extract ISkinAssetData so minecraft/ stops including DLCSkinFile.h 2026-04-09 21:11:41 +10:00
MatthewBeshay 80019158da fix: harden Log::info, switch StringTable to span, consolidate getLocale 2026-04-09 20:59:00 +10:00
MatthewBeshay 84140ae6d4 refactor: move StringTable impl into minecraft/locale and inject locales 2026-04-09 20:35:53 +10:00
MatthewBeshay aa250ff560 refactor: inject IPlatformLeaderboard into Minecraft and StatsCounter via constructor 2026-04-09 20:19:50 +10:00
MatthewBeshay 08d8e341b9 refactor: stop inheriting Game from IPlatformGame and delete the override stubs 2026-04-09 19:35:47 +10:00
MatthewBeshay 9c502ce8fc refactor: route IPlatformGame and Leaderboard call sites through platform/ 2026-04-09 19:28:57 +10:00
MatthewBeshay fbfccdeac6 chore: drop a few more dead app/ includes from minecraft 2026-04-09 15:49:31 +10:00
MatthewBeshay 5d86773134 refactor: relocate IPlatformNetwork/Leaderboard/Game interfaces to platform/ 2026-04-09 15:42:23 +10:00
MatthewBeshay e051527607 refactor: replace XuiActionPayload polling with server-owned typed action queue 2026-04-09 15:24:13 +10:00
MatthewBeshay 45c85fcf79 perf: stop heap-allocating mob restriction state and Path nodes
Inlines restrictCenter and leashRestrictionGoal as value members and
stores Path nodes by value, removing per-mob and per-path malloc churn.
2026-04-09 15:24:13 +10:00
MatthewBeshay fe77d9c2a0 build: optional mimalloc replacement for system malloc
Toggle with -Denable_mimalloc=enabled/disabled/auto.
2026-04-09 15:24:13 +10:00
MatthewBeshay b7792622a9 perf: replace EventArray mutex+cv with atomic mask
set() is now lock-free; waiters block via std::atomic::wait.
2026-04-09 15:24:13 +10:00
MatthewBeshay cd4b39cf88 style: clang-format the entire project 2026-04-09 15:24:13 +10:00
MatthewBeshay 81c2eb82f0 fix: clear all build warnings and clean up review nits 2026-04-09 15:24:13 +10:00
MatthewBeshay aa515c5f3d refactor: replace winapi_stubs with std::vector, std::atomic_ref and std::chrono 2026-04-09 15:24:13 +10:00
MatthewBeshay 1b9d27f4a0 refactor: hide miniaudio behind PIMPL in SoundEngine 2026-04-09 15:24:13 +10:00
MatthewBeshay 0ef3b2de31 refactor: pull DLC enums out into their own header 2026-04-09 15:24:13 +10:00
MatthewBeshay b3d6e7151b refactor: extract a network service interface for minecraft to depend on 2026-04-09 15:24:13 +10:00
MatthewBeshay 03618ed156 refactor: move leaderboard/network interfaces back into app 2026-04-09 15:24:13 +10:00
MatthewBeshay 33fe5fec3a chore: drop a few more dead LinuxGame.h includes 2026-04-09 15:24:13 +10:00
MatthewBeshay 61a0d9690b chore: drop a few more dead winapi_stubs.h includes 2026-04-09 15:24:13 +10:00
MatthewBeshay 09a6ba4a12 refactor: move Minecraft_Macros.h into minecraft 2026-04-09 15:24:13 +10:00
MatthewBeshay e14825c302 refactor: move GameRule chain headers into minecraft 2026-04-09 15:24:13 +10:00
MatthewBeshay efe4c91538 refactor: move BuildVer.h into minecraft 2026-04-09 15:24:13 +10:00
MatthewBeshay a3b8adeb5a refactor: move Console_Debug_enum.h into minecraft 2026-04-09 15:24:13 +10:00
MatthewBeshay 58de5bb40b refactor: move ConsoleGameRulesConstants.h into minecraft 2026-04-09 15:24:13 +10:00
MatthewBeshay 1ddf12beb9 refactor: move WstringLookup into minecraft 2026-04-09 15:24:13 +10:00
MatthewBeshay e5cdd2c370 refactor: move NetworkPlayerInterface and SessionInfo into minecraft 2026-04-09 15:24:13 +10:00
MatthewBeshay 9b830f1bfc refactor: carve out a proper sound interface with miniaudio behind it 2026-04-09 15:24:13 +10:00
MatthewBeshay b032e2a3a0 refactor: use function-local statics for platform accessors to dodge SIOF 2026-04-09 15:24:13 +10:00
MatthewBeshay 60410f59bf refactor: split GLRenderer so the class is not tangled with GL macros 2026-04-09 15:24:13 +10:00
MatthewBeshay 9834a95f0e build: break platform_sdl2 up into per-subsystem libraries 2026-04-09 15:24:13 +10:00
MatthewBeshay 7b28bcbcb6 refactor: move ColourTable into minecraft 2026-04-09 15:24:13 +10:00
MatthewBeshay 016b2d91b4 refactor: move StringTable.h into minecraft (impl stays for now) 2026-04-09 15:24:13 +10:00
MatthewBeshay 5f7e4ab703 refactor: move Console_Awards_enum.h into minecraft 2026-04-09 15:24:13 +10:00
MatthewBeshay 95efdb54dd chore: drop dead winapi_stubs.h includes across minecraft 2026-04-09 15:24:13 +10:00
MatthewBeshay 6e1964adb3 chore: drop dead LinuxGame.h includes across minecraft 2026-04-09 15:24:12 +10:00
MatthewBeshay 52b4ccaea2 refactor: type the IGameServices payload as a variant instead of void* 2026-04-09 15:24:12 +10:00
MatthewBeshay 8084ec7857 chore: delete unused IPlatformUIController and Platform aggregator 2026-04-09 15:24:12 +10:00
MatthewBeshay 6b3b0134cf build: list sources explicitly in meson.build instead of shelling out 2026-04-09 15:24:12 +10:00
MatthewBeshay d7eca58551 refactor: split App_Defines.h up by concern and drop the umbrella 2026-04-09 15:24:12 +10:00
MatthewBeshay 875039a6dd refactor: use unique_ptr<byte[]> in ImageFileBuffer instead of malloc/free 2026-04-09 15:24:12 +10:00
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