git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12998
d7cf8633-e32d-0410-b094-
e92efae38249
#ifndef PMOVE_H
#define PMOVE_H
+#include "qtypes.h"
+#include "protocol.h"
+
+typedef enum waterlevel_e
+{
+ WATERLEVEL_NONE,
+ WATERLEVEL_WETFEET,
+ WATERLEVEL_SWIMMING,
+ WATERLEVEL_SUBMERGED
+}
+waterlevel_t;
+
typedef struct playermove_s
{
// entity to be ignored for movement
// position
vec3_t origin;
vec3_t velocity;
+ vec3_t angles;
+ vec3_t movedir;
// current bounding box (different if crouched vs standing)
vec3_t mins;
vec3_t maxs;
// (this is in seconds and counts down to 0)
float waterjumptime;
+ int movetype;
+
// user command
usercmd_t cmd;
}
float airspeedlimit_nonqw;
} movevars_t;
-
#endif