]> de.git.xonotic.org Git - xonotic/darkplaces.git/blob - cl_dyntexture.h
c513ab1262036ca2995d23752e3a92eb31141737
[xonotic/darkplaces.git] / cl_dyntexture.h
1 // Andreas 'Black' Kirsch 07\r
2 #ifndef CL_DYNTEXTURE_H\r
3 #define CL_DYNTEXTURE_H\r
4 \r
5 #define DYNAMIC_TEXTURE_PATH_PREFIX                     "_dynamic/"\r
6 #define MAX_DYNAMIC_TEXTURE_COUNT                       64\r
7 \r
8 // return a valid texture handle for a dynamic texture (might be filler texture if it hasnt been initialized yet)\r
9 // textureflags will be ignored though for now [11/22/2007 Black]\r
10 rtexture_t * CL_GetDynTexture( const char *name );\r
11 \r
12 // link a texture handle as dynamic texture and update texture handles in the renderer and draw_* accordingly\r
13 void CL_LinkDynTexture( const char *name, rtexture_t *texture );\r
14 \r
15 // unlink a texture handle from its name\r
16 void CL_UnlinkDynTexture( const char *name );\r
17 \r
18 #endif