]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/csqcmodellib/interpolate.qh
Turn #define'd constants into actual constants
[xonotic/xonotic-data.pk3dir.git] / qcsrc / csqcmodellib / interpolate.qh
index 66bf491e57dd745378e9d939bf65b80e88d4d80e..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
-#define IFLAG_AUTOVELOCITY 64
-#define IFLAG_V_ANGLE 128
-#define IFLAG_V_ANGLE_X 256
-#define IFLAG_ORIGIN 512
+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