Browse Source

engine: ref_api: bump RefAPI version to 4, R_StudioEstimateFrame now has time argument

pull/2/head
Alibek Omarov 2 years ago
parent
commit
f1487cf576
  1. 5
      engine/ref_api.h

5
engine/ref_api.h

@ -33,7 +33,8 @@ GNU General Public License for more details.
// 1. Initial release // 1. Initial release
// 2. FS functions are removed, instead we have full fs_api_t // 2. FS functions are removed, instead we have full fs_api_t
// 3. SlerpBones, CalcBonePosition/Quaternion calls were moved to libpublic/mathlib // 3. SlerpBones, CalcBonePosition/Quaternion calls were moved to libpublic/mathlib
#define REF_API_VERSION 3 // 4. R_StudioEstimateFrame now has time argument
#define REF_API_VERSION 4
#define TF_SKY (TF_SKYSIDE|TF_NOMIPMAP) #define TF_SKY (TF_SKYSIDE|TF_NOMIPMAP)
@ -499,7 +500,7 @@ typedef struct ref_interface_s
void (*R_ClearAllDecals)( void ); void (*R_ClearAllDecals)( void );
// studio interface // studio interface
float (*R_StudioEstimateFrame)( cl_entity_t *e, mstudioseqdesc_t *pseqdesc ); 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_StudioLerpMovement)( cl_entity_t *e, double time, vec3_t origin, vec3_t angles );
void (*CL_InitStudioAPI)( void ); void (*CL_InitStudioAPI)( void );

Loading…
Cancel
Save