mirror of
https://github.com/w23/xash3d-fwgs
synced 2025-01-22 00:30:18 +01:00
df102994c4
Known issues: - no animations, stuck at first rendered frame of a given submodel. This is as intended for now, needs BLAS update functionality not yet implemented. - wrong positions/transforms. Reasons unknown. May be "as intended" too. - missing heads - Barney model corruption. Consistent between maps/instances/animation frames.
26 lines
681 B
C
26 lines
681 B
C
#pragma once
|
|
|
|
#include "vk_common.h"
|
|
|
|
struct ref_viewpass_s;
|
|
struct draw_list_s;
|
|
struct model_s;
|
|
|
|
void VK_StudioInit( void );
|
|
void VK_StudioShutdown( void );
|
|
|
|
void Mod_LoadStudioModel( model_t *mod, const void *buffer, qboolean *loaded );
|
|
void Mod_StudioLoadTextures( model_t *mod, void *data );
|
|
|
|
void VK_StudioDrawModel( cl_entity_t *ent, int render_mode, float blend );
|
|
|
|
void R_RunViewmodelEvents( void );
|
|
void R_DrawViewModel( void );
|
|
|
|
void CL_InitStudioAPI( void );
|
|
|
|
float R_StudioEstimateFrame( cl_entity_t *e, mstudioseqdesc_t *pseqdesc, double time );
|
|
void R_StudioLerpMovement( cl_entity_t *e, double time, vec3_t origin, vec3_t angles );
|
|
|
|
void R_StudioCacheClear( void );
|