]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - protocol.h
fixed bug in gl_lightmaps code that made it not work properly on map
[xonotic/darkplaces.git] / protocol.h
index 309057400c8095bd3865029ff938d79f6ead64ff..ddc9542c16f6466c1e02a2e78a31b4bb80adb29b 100644 (file)
@@ -49,7 +49,7 @@ void Protocol_Names(char *buffer, size_t buffersize);
 #define EF_ADDITIVE                            32
 #define EF_BLUE                                        64
 #define EF_RED                                 128
-#define EF_UNUSED8                             256
+#define EF_NOGUNBOB                            256                     // LordHavoc: when used with .viewmodelforclient this makes the entity attach to the view without gun bobbing and such effects, it also works on the player entity to disable gun bobbing of the engine-managed .viewmodel (without affecting any .viewmodelforclient entities attached to the player)
 #define EF_FULLBRIGHT                  512                     // LordHavoc: fullbright
 #define EF_FLAME                               1024            // LordHavoc: on fire
 #define EF_STARDUST                            2048            // LordHavoc: showering sparks
@@ -64,7 +64,7 @@ void Protocol_Names(char *buffer, size_t buffersize);
 #define EF_UNUSED20                            1048576
 #define EF_UNUSED21                            2197152
 #define EF_LOWPRECISION                        4194304         // LordHavoc: entity is low precision (integer coordinates) to save network bandwidth  (serverside only)
-#define EF_UNUSED23                            8388608
+#define EF_NOMODELFLAGS                        8388608         // indicates the model's .effects should be ignored (allows overriding them)
 #define EF_ROCKET                              16777216        // leave a trail
 #define EF_GRENADE                             33554432        // leave a trail
 #define EF_GIB                                 67108864        // leave a trail