]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
user (csqc) controllable wavefuncs
[xonotic/darkplaces.git] / model_shared.h
index e02b49e441d5ed404a90a2d411a92a4df70771b9..81ea62ee9c5da48f11040fdc9aa916170980af0c 100644 (file)
@@ -232,7 +232,10 @@ typedef enum q3wavefunc_e
        Q3WAVEFUNC_TRIANGLE,
        Q3WAVEFUNC_COUNT
 }
-q3wavefunc_t;
+q3wavefunc_e;
+typedef int q3wavefunc_t;
+#define Q3WAVEFUNC_USER_COUNT 4
+#define Q3WAVEFUNC_USER_SHIFT 8 // use 8 bits for wave func type
 
 typedef enum q3deform_e
 {