]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_dyntexture.h
do not TOTALLY block translation with csprogs, but restrict it to globals named dotra...
[xonotic/darkplaces.git] / cl_dyntexture.h
index c513ab1262036ca2995d23752e3a92eb31141737..29783cf6bb1d7c4979490411c3c73d15487e8932 100644 (file)
@@ -2,11 +2,12 @@
 #ifndef CL_DYNTEXTURE_H\r
 #define CL_DYNTEXTURE_H\r
 \r
-#define DYNAMIC_TEXTURE_PATH_PREFIX                    "_dynamic/"\r
-#define MAX_DYNAMIC_TEXTURE_COUNT                      64\r
+#define CLDYNTEXTUREPREFIX                     "_dynamic/"\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 +16,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