ref_api: fix remap code

This commit is contained in:
mittorn
2020-01-30 07:15:23 +07:00
parent dce35f453d
commit 2e2a716710
5 changed files with 39 additions and 42 deletions
+2 -5
View File
@@ -96,9 +96,6 @@ typedef struct ref_globals_s
vec3_t viewangles;
vec3_t vforward, vright, vup;
cl_entity_t *currententity;
model_t *currentmodel;
// todo: fill this without engine help
// move to local
@@ -332,9 +329,9 @@ typedef struct ref_api_s
// remap
struct remap_info_s *(*CL_GetRemapInfoForEntity)( cl_entity_t *e );
void (*CL_AllocRemapInfo)( int topcolor, int bottomcolor );
void (*CL_AllocRemapInfo)( cl_entity_t *ent, int topcolor, int bottomcolor );
void (*CL_FreeRemapInfo)( struct remap_info_s *info );
void (*CL_UpdateRemapInfo)( int topcolor, int bottomcolor );
void (*CL_UpdateRemapInfo)( cl_entity_t *ent, int topcolor, int bottomcolor );
// utils
void (*CL_ExtraUpdate)( void );