2021-02-06 22:13:08 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "vk_common.h"
|
|
|
|
|
|
|
|
void R_GetSpriteParms( int *frameWidth, int *frameHeight, int *numFrames, int currentFrame, const model_t *pSprite );
|
|
|
|
int R_GetSpriteTexture( const model_t *m_pSpriteModel, int frame );
|
|
|
|
void Mod_LoadMapSprite( struct model_s *mod, const void *buffer, size_t size, qboolean *loaded );
|
|
|
|
void Mod_LoadSpriteModel( model_t *mod, const void *buffer, qboolean *loaded, uint texFlags );
|
2021-02-15 21:20:25 +01:00
|
|
|
|
2023-02-25 02:43:07 +01:00
|
|
|
void R_VkSpriteDrawModel( cl_entity_t *e, float blend );
|
2023-03-25 19:24:33 +01:00
|
|
|
|
|
|
|
qboolean R_SpriteInit(void);
|
2023-05-31 18:39:27 +02:00
|
|
|
void R_SpriteShutdown(void);
|
2023-05-31 19:15:27 +02:00
|
|
|
|
|
|
|
// FIXME needed to recreate the sprite quad model, otherwise its memory will be freed, reused and corrupted
|
|
|
|
void R_SpriteNewMapFIXME(void);
|
2023-10-17 17:43:38 +02:00
|
|
|
|
|
|
|
void Mod_SpriteUnloadTextures( void *data );
|