refactor: move HandleXuiActions to separate translation unit

This commit is contained in:
MatthewBeshay 2026-04-06 11:27:48 +10:00 committed by Tropical
parent 3b47b80762
commit 7787015025
7 changed files with 1490 additions and 1438 deletions

File diff suppressed because it is too large Load diff

View file

@ -30,7 +30,7 @@
#include "platform/sdl2/Input.h"
#include "platform/sdl2/Render.h"
#include "platform/sdl2/Storage.h"
#include "protocol/DisconnectPacket.h"
#include "minecraft/network/packet/DisconnectPacket.h"
#include "app/common/Audio/SoundEngine.h"
#include "app/common/DLC/DLCPack.h"
#include "app/common/DLC/DLCManager.h"

File diff suppressed because it is too large Load diff

View file

@ -6,7 +6,7 @@
#include "platform/NetTypes.h"
#include "platform/sdl2/Storage.h"
#include "platform/XboxStubs.h"
#include "protocol/DisconnectPacket.h"
#include "minecraft/network/packet/DisconnectPacket.h"
struct INVITE_INFO;

View file

@ -1,3 +1,4 @@
#include "app/linux/LinuxGame.h"
#include "app/common/SaveManager.h"
#include <chrono>

View file

@ -7,7 +7,7 @@
#include <vector>
#include "app/common/App_structs.h"
#include "minecraft/world/entity/player/SkinBox.h"
#include "minecraft/client/SkinBox.h"
#include "platform/XboxStubs.h"
class ModelPart;

View file

@ -16,14 +16,14 @@ class GameRuleManager;
// SKIN_BOX, FEATURE_DATA, MOJANG_DATA are C-style typedef'd structs
// that cannot be forward-declared. Include the lightweight headers.
#include "minecraft/world/entity/player/SkinBox.h"
#include "minecraft/client/SkinBox.h"
#include "app/common/App_structs.h"
// Enums needed by callers - pulled from app layer.
// These are small POD enums safe to include transitively.
#include "app/common/App_enums.h"
#include "platform/PlatformTypes.h" // PlayerUID
#include "protocol/DisconnectPacket.h" // eDisconnectReason
#include "minecraft/network/packet/DisconnectPacket.h" // eDisconnectReason
#include "minecraft/client/IMenuService.h"
// eINSTANCEOF lives in java/Class.h which is heavyweight.