]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - protocol.h
added r_showtris
[xonotic/darkplaces.git] / protocol.h
index 4d140b450b23c9c83d6c88e84a533faba2989cbe..0d1f87d82fb8c96a7047102cefcd0dda0a20a18f 100644 (file)
@@ -30,6 +30,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 // so here I jump to 3500
 #define        PROTOCOL_DARKPLACES3 3500
 #define PROTOCOL_DARKPLACES4 3501
+#define PROTOCOL_DARKPLACES5 3502
 
 // model effects
 #define        EF_ROCKET       1                       // leave a trail
@@ -60,6 +61,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 #define EF_STEP                                        0x80000000 // internal client use only - present on MOVETYPE_STEP entities, not QC accessible (too many bits)
 
+// flags for the pflags field of entities
+#define PFLAGS_NOSHADOW                        1
+#define PFLAGS_CORONA                  2
+#define PFLAGS_FULLDYNAMIC             128 // must be set or the light fields are ignored
+
 // if the high bit of the servercmd is set, the low bits are fast update flags:
 #define U_MOREBITS             (1<<0)
 #define U_ORIGIN1              (1<<1)