X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=cl_dyntexture.h;h=130dc16704bb2a4b0ea70c68118c482f010ad409;hb=119cbafe56ebbac24781cd5526d200e443327267;hp=29783cf6bb1d7c4979490411c3c73d15487e8932;hpb=c1ab987e992c1c56ed9ea09426408f7b62ae5100;p=xonotic%2Fdarkplaces.git diff --git a/cl_dyntexture.h b/cl_dyntexture.h index 29783cf6..130dc167 100644 --- a/cl_dyntexture.h +++ b/cl_dyntexture.h @@ -1,20 +1,20 @@ -// Andreas 'Black' Kirsch 07 -#ifndef CL_DYNTEXTURE_H -#define CL_DYNTEXTURE_H - -#define CLDYNTEXTUREPREFIX "_dynamic/" - -// always path fully specified names to the dynamic texture functions! (ie. with the _dynamic/ prefix, etc.!) - -// return a valid texture handle for a dynamic texture (might be filler texture if it hasnt been initialized yet) -// or NULL if its not a valid dynamic texture name -rtexture_t * CL_GetDynTexture( const char *name ); - -// link a texture handle as dynamic texture and update texture handles in the renderer and draw_* accordingly -void CL_LinkDynTexture( const char *name, rtexture_t *texture ); - -// unlink a texture handle from its name -void CL_UnlinkDynTexture( const char *name ); - -#endif - +// Andreas 'Black' Kirsch 07 +#ifndef CL_DYNTEXTURE_H +#define CL_DYNTEXTURE_H + +#define CLDYNTEXTUREPREFIX "_dynamic/" + +// always path fully specified names to the dynamic texture functions! (ie. with the _dynamic/ prefix, etc.!) + +// return a valid texture handle for a dynamic texture (might be filler texture if it hasnt been initialized yet) +// or NULL if its not a valid dynamic texture name +rtexture_t * CL_GetDynTexture( const char *name ); + +// link a texture handle as dynamic texture and update texture handles in the renderer and draw_* accordingly +void CL_LinkDynTexture( const char *name, rtexture_t *texture ); + +// unlink a texture handle from its name +void CL_UnlinkDynTexture( const char *name ); + +#endif +