mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-16 22:20:01 +01:00
e66810a05b
Now rendering submodules specify their colors and matrices using VK_RenderState global stat api. This is a trade-off between making all submodules track their state on their own, or managing that state centrally.
11 lines
461 B
C
11 lines
461 B
C
#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 );
|
|
|
|
void VK_SpriteDrawModel( cl_entity_t *e );
|