]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/csqcmodel/common.qh
Send player/local status so CSQC can do some things with it without relying on entnum
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / csqcmodel / common.qh
index f8375d09e8202de55cdda5a61dcc6de4d85b9912..942c021e828d0d125bac46ff8808ff84ddaac205 100644 (file)
@@ -53,6 +53,10 @@ IN THE SOFTWARE.\
 .float frame2time;
 .float lerpfrac;
 
+const int ISPLAYER_MODEL = BIT(0); // using a player model
+const int ISPLAYER_ENT = BIT(1); // is an actual player
+const int ISPLAYER_LOCAL = BIT(2); // is the local player
+
 const int CSQCMODEL_PROPERTY_FRAME = BIT(23);
 const int CSQCMODEL_PROPERTY_TELEPORTED = BIT(22); // the "teleport bit" cancelling interpolation
 const int CSQCMODEL_PROPERTY_MODELINDEX = BIT(21);