]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_dyntexture.h
Blub's "deflate" extension to the download system.
[xonotic/darkplaces.git] / cl_dyntexture.h
index c513ab1262036ca2995d23752e3a92eb31141737..3b0a683470087a507d9cef1297ccb6ee2ccc4b28 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
@@ -15,4 +17,5 @@ void CL_LinkDynTexture( const char *name, rtexture_t *texture );
 // unlink a texture handle from its name\r
 void CL_UnlinkDynTexture( const char *name );\r
 \r
-#endif
\ No newline at end of file
+#endif\r
+\r