]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_dyntexture.h
Rework cl_video to use dyntextures.
[xonotic/darkplaces.git] / cl_dyntexture.h
index c513ab1262036ca2995d23752e3a92eb31141737..be3f8e141b9a0297b7e9bbdffc7394bdfc2d791c 100644 (file)
@@ -2,11 +2,13 @@
 #ifndef CL_DYNTEXTURE_H\r
 #define CL_DYNTEXTURE_H\r
 \r
-#define DYNAMIC_TEXTURE_PATH_PREFIX                    "_dynamic/"\r
+#define CLDYNTEXTUREPREFIX                     "_dynamic/"\r
 #define MAX_DYNAMIC_TEXTURE_COUNT                      64\r
 \r
+// always path fully specified names to the dynamic texture functions! (ie. with the _dynamic/ prefix, etc.!)\r
+\r
 // return a valid texture handle for a dynamic texture (might be filler texture if it hasnt been initialized yet)\r
-// textureflags will be ignored though for now [11/22/2007 Black]\r
+// or NULL if its not a valid dynamic texture name\r
 rtexture_t * CL_GetDynTexture( const char *name );\r
 \r
 // link a texture handle as dynamic texture and update texture handles in the renderer and draw_* accordingly\r