]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/csqcmodellib/interpolate.qh
Declare more ints as ints
[xonotic/xonotic-data.pk3dir.git] / qcsrc / csqcmodellib / interpolate.qh
index 8254fae8cfc6f44649b7dd158035d7749bec79aa..535e3dae9f4b1e824dd89e45b415abd688d8eef2 100644 (file)
  */
 
 .float iflags;
-#define IFLAG_VELOCITY 1
-#define IFLAG_ANGLES 2
-#define IFLAG_AUTOANGLES 4
-#define IFLAG_VALID 8
-#define IFLAG_PREVALID 16
-#define IFLAG_TELEPORTED 32
+const float IFLAG_VELOCITY = 1;
+const float IFLAG_ANGLES = 2;
+const float IFLAG_AUTOANGLES = 4;
+const float IFLAG_VALID = 8;
+const float IFLAG_PREVALID = 16;
+const float IFLAG_TELEPORTED = 32;
+const float IFLAG_AUTOVELOCITY = 64;
+const float IFLAG_V_ANGLE = 128;
+const float IFLAG_V_ANGLE_X = 256;
+const float IFLAG_ORIGIN = 512;
 #define IFLAG_INTERNALMASK (IFLAG_VALID | IFLAG_PREVALID)
 
 // call this BEFORE reading an entity update
@@ -40,3 +44,6 @@ void InterpolateOrigin_Reset();
 
 // call this BEFORE drawing
 void InterpolateOrigin_Do();
+
+// in case we interpolate that:
+.vector v_angle;