port: net: better gun and crosshair position sync; fix zooming guns

This commit is contained in:
fgsfds committed 2024-01-01 20:18:32 +01:00
1 parent 96e1c57f61
commit b74cd095a1
8 files changed
+117 -10

No files matched your search

+2 -2
View File
@@ -556,10 +556,10 @@ extern s32 g_BgunGeMuzzleFlashes;
extern s32 g_NetMode;
#define PLAYER_EXTCFG() g_PlayerExtCfg[g_Vars.currentplayerstats->mpindex & 3]
#define PLAYER_DEFAULT_FOV (PLAYER_EXTCFG().fovy)
#define PLAYER_DEFAULT_FOV playerGetDefaultFovY(g_Vars.currentplayerstats->mpindex)
#define ADJUST_ZOOM_FOV(x) ((x) * playerGetZoomFovMult(g_Vars.currentplayerstats->mpindex))
#define TEX_FILTER_2D g_TexFilter2D
#define ADJUST_ZOOM_FOV(x) ((x) * PLAYER_EXTCFG().fovzoommult)
s32 playerGetCount(void);