X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcsqcmodellib%2Fcl_player.qh;h=1cb42f2a5ce8383b6345546a038766ebcee7a6e8;hb=e0ac5f9f14e169a1e19d0e36b85cab061a74ed93;hp=0eecabed88e05e626d5be5a98799480de7bc4a21;hpb=8f4d064a1d62a040e788fc0634baf93e888ba2f6;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/csqcmodellib/cl_player.qh b/qcsrc/csqcmodellib/cl_player.qh index 0eecabed8..1cb42f2a5 100644 --- a/qcsrc/csqcmodellib/cl_player.qh +++ b/qcsrc/csqcmodellib/cl_player.qh @@ -20,11 +20,18 @@ * IN THE SOFTWARE. */ +entity csqcplayer; float csqcplayer_status; #define CSQCPLAYERSTATUS_UNPREDICTED 0 #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();