Commit graph

80 commits

Author SHA1 Message Date
MatthewBeshay 2a3b891be8 refactor: relocate IPlatformNetwork/Leaderboard/Game interfaces to platform/
Pulls the three remaining platform-shaped interfaces out of app/common/
and into platform/network/, platform/leaderboard/ and platform/game/,
each with a function accessor + true no-op stub backend matching the
existing platform/profile/ template. Drops the duplicate
PlatformNetworkManagerInterface.h that was a stale copy of the same
type. Existing app-side singletons (LeaderboardManager,
LinuxLeaderboardManager, IPlatformNetworkStub, LinuxGame) keep working
unchanged - the structural fix is just that the interface they depend
on now lives in platform/ where it belongs.
2026-04-09 15:42:23 +10:00
MatthewBeshay 3304b2e3db refactor: replace XuiActionPayload polling with server-owned typed action queue
Drops the polymorphic XuiActionPayload variant and the per-pad
setXuiServerAction/getXuiServerAction polling on IGameServices in
favour of a std::variant of typed action structs in
minecraft/server/ServerAction.h. MinecraftServer owns the queue,
drains it from the tick loop via std::visit, and exposes
queueServerAction() that any thread can call. Eliminates the
dynamic_cast across the minecraft<-app boundary, the per-pad slot,
and two busy-wait-for-Idle loops.
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 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 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 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 52b4ccaea2 refactor: type the IGameServices payload as a variant instead of void* 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
Tropical dcf9e0bcdb refactor: convert DLC string data directly to UTF-8 w/ simdutf 2026-04-08 01:41:34 -05:00
Tropical 2912e9ae2e refactor: nuke all widestrings and widechars everywhere 2026-04-07 23:23:31 -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 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