]> icculus.org git repositories - divverent/darkplaces.git/blob - cl_dyntexture.h
"Finish" cl_gecko.c (input handling is done now, too) for now. I need to update to...
[divverent/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 CLDYNTEXTUREPREFIX                      "_dynamic/"\r
6 #define MAX_DYNAMIC_TEXTURE_COUNT                       64\r
7 \r
8 // always path fully specified names to the dynamic texture functions! (ie. with the _dynamic/ prefix, etc.!)\r
9 \r
10 // return a valid texture handle for a dynamic texture (might be filler texture if it hasnt been initialized yet)\r
11 // or NULL if its not a valid dynamic texture name\r
12 rtexture_t * CL_GetDynTexture( const char *name );\r
13 \r
14 // link a texture handle as dynamic texture and update texture handles in the renderer and draw_* accordingly\r
15 void CL_LinkDynTexture( const char *name, rtexture_t *texture );\r
16 \r
17 // unlink a texture handle from its name\r
18 void CL_UnlinkDynTexture( const char *name );\r
19 \r
20 #endif\r
21 \r