X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fphysics%2Fplayer.qh;h=0a5b049f57c3852970861c96cc0732bea9025b33;hp=eb044fb24f31aace84f193b04fdb8320d3d0611a;hb=af2f0cb624aaf967708b22e1303d113668af5114;hpb=3bd01e3ee79ab7ea2670bc781bf5d1d36cb9e79c diff --git a/qcsrc/common/physics/player.qh b/qcsrc/common/physics/player.qh index eb044fb24..0a5b049f5 100644 --- a/qcsrc/common/physics/player.qh +++ b/qcsrc/common/physics/player.qh @@ -71,6 +71,12 @@ float AdjustAirAccelQW(float accelqw, float factor); bool IsFlying(entity a); +#ifdef GAMEQC +REPLICATE_INIT(string, cvar_cl_physics); +REPLICATE_INIT(bool, cvar_cl_jetpack_jump); +REPLICATE_INIT(bool, cvar_cl_movement_track_canjump); +#endif + #define PHYS_PL_MAX(s) STAT(PL_MAX, s) #define PHYS_PL_MIN(s) STAT(PL_MIN, s) #define PHYS_PL_CROUCH_MAX(s) STAT(PL_CROUCH_MAX, s) @@ -82,8 +88,6 @@ bool IsFlying(entity a); #define PHYS_VIEWHEIGHT(s) STAT(VIEWHEIGHT, s) #define PHYS_HEALTH(s) STAT(HEALTH, s) -#define BUFFS_STAT(s) STAT(BUFFS, s) - #define PHYS_ACCELERATE(s) STAT(MOVEVARS_ACCELERATE, s) #define PHYS_AIRACCELERATE(s) STAT(MOVEVARS_AIRACCELERATE, s) #define PHYS_AIRACCEL_QW(s) STAT(MOVEVARS_AIRACCEL_QW, s)