-// FIXME: move this stuff to cl_screen
-typedef struct cachepic_s
-{
- // size of pic
- int width, height;
- // this flag indicates that it should be loaded and unloaded on demand
- int autoload;
- // texture flags to upload with
- int texflags;
- // texture may be freed after a while
- int lastusedframe;
- // renderer texture to use
- rtexture_t *tex;
- // used for hash lookups
- struct cachepic_s *chain;
- // flags - CACHEPICFLAG_NEWPIC for example
- unsigned int flags;
- // has alpha?
- qboolean hasalpha;
- // name of pic
- char name[MAX_QPATH];
- // allow to override/free the texture
- qboolean allow_free_tex;
-}
-cachepic_t;