mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-06-06 09:53:00 +00:00
refactor: move HandleXuiActions to separate translation unit
This commit is contained in:
parent
3b47b80762
commit
7787015025
File diff suppressed because it is too large
Load diff
|
|
@ -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"
|
||||
|
|
|
|||
1484
targets/app/common/Game_XuiActions.cpp
Normal file
1484
targets/app/common/Game_XuiActions.cpp
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/common/SaveManager.h"
|
||||
|
||||
#include <chrono>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue