]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/csqcmodel/interpolate.qh
move interpolation to the csqcmodel directory
[xonotic/xonotic-data.pk3dir.git] / qcsrc / csqcmodel / interpolate.qh
1 .float iflags;
2 #define IFLAG_VELOCITY 1
3 #define IFLAG_ANGLES 2
4 #define IFLAG_AUTOANGLES 4
5 #define IFLAG_VALID 8
6 #define IFLAG_PREVALID 16
7 #define IFLAG_TELEPORTED 32
8 #define IFLAG_INTERNALMASK (IFLAG_VALID | IFLAG_PREVALID)
9
10 // call this BEFORE reading an entity update
11 void InterpolateOrigin_Undo();
12
13 // call this AFTER receiving an entity update
14 void InterpolateOrigin_Note();
15
16 // call this when the entity got teleported, before InterpolateOrigin_Note
17 void InterpolateOrigin_Reset();
18
19 // call this BEFORE drawing
20 void InterpolateOrigin_Do();