X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcsqcmodellib%2Fcl_player.qh;h=1cb42f2a5ce8383b6345546a038766ebcee7a6e8;hb=e557ad1d2eaf0e18be5931c5548049aa4cfecb39;hp=881ad3b329bc30100cc677b0214a72dfeb9454ec;hpb=616650bb18362024afeed71fed91d33dc1708d09;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/csqcmodellib/cl_player.qh b/qcsrc/csqcmodellib/cl_player.qh index 881ad3b32..1cb42f2a5 100644 --- a/qcsrc/csqcmodellib/cl_player.qh +++ b/qcsrc/csqcmodellib/cl_player.qh @@ -26,6 +26,12 @@ float csqcplayer_status; #define CSQCPLAYERSTATUS_FROMSERVER 1 #define CSQCPLAYERSTATUS_PREDICTED 2 +// only ever READ these! +.float pmove_flags; +#define PMF_JUMP_HELD 1 +#define PMF_DUCKED 4 +#define PMF_ONGROUND 8 + void CSQCPlayer_SetCamera(); float CSQCPlayer_PreUpdate(); float CSQCPlayer_PostUpdate();