]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/csqcmodel/interpolate.qh
Merge branch 'master' into 'Mario/status_effects'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / csqcmodel / interpolate.qh
index 94af8634003d471dc5529a860db91449c38d0c7a..d02b8e827433a349c3799ac589d2ecea3736cab0 100644 (file)
@@ -21,6 +21,8 @@
  */
 #pragma once
 
+float autocvar_cl_lerpexcess; // TODO: int?
+
 .int iflags;
 const int IFLAG_VELOCITY = BIT(0);
 const int IFLAG_ANGLES = BIT(1);
@@ -34,6 +36,10 @@ const int IFLAG_V_ANGLE_X = BIT(8);
 const int IFLAG_ORIGIN = BIT(9);
 const int IFLAG_INTERNALMASK = IFLAG_VALID | IFLAG_PREVALID;
 
+// InterpolateOrigin can interpolate many things, not just origin;
+// set the appropriate flag(s) to this.iflags before
+// InterpolateOrigin_Note(this) and after InterpolateOrigin_Undo(this)
+
 // call this BEFORE reading an entity update
 void InterpolateOrigin_Undo(entity this);