refactor: split QNet stubs out of XboxStubs.cpp, remove dead Xbox symbols

This commit is contained in:
MatthewBeshay
2026-04-06 20:32:24 -05:00
committed by Tropical
parent 54a1f90212
commit f28c722da4
6 changed files with 58 additions and 88 deletions
+2 -9
View File
@@ -5,11 +5,8 @@
#include "platform/PlatformTypes.h"
// XUI forward declarations
// XUI handle type (used by App_structs.h for SceneStackPair)
typedef struct _XUIOBJ* HXUIOBJ;
typedef struct _XUICLASS* HXUICLASS;
typedef struct _XUIBRUSH* HXUIBRUSH;
typedef struct _XUIDC* HXUIDC;
bool IsEqualXUID(PlayerUID a, PlayerUID b);
@@ -50,11 +47,6 @@ bool IsEqualXUID(PlayerUID a, PlayerUID b);
#define VK_PAD_RTHUMB_DOWNRIGHT 0x5836
#define VK_PAD_RTHUMB_DOWNLEFT 0x5837
// D3D stubs
inline constexpr int D3DBLEND_CONSTANTALPHA = 0;
inline constexpr int D3DBLEND_INVCONSTANTALPHA = 0;
inline constexpr int D3DPT_QUADLIST = 0;
// XUI string table
class CXuiStringTable {
public:
@@ -150,6 +142,7 @@ uint32_t XGetLanguage();
uint32_t XGetLocale();
uint32_t XEnableGuestSignin(bool fEnable);
// System notification constants (used by Game.cpp notification handler)
inline constexpr int XN_SYS_SIGNINCHANGED = 0;
inline constexpr int XN_SYS_INPUTDEVICESCHANGED = 1;
inline constexpr int XN_LIVE_CONTENT_INSTALLED = 2;