From e123499e2367bc37e9e6a96278e38eb7e9257c6b Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 12 Jul 2018 23:22:06 +0300 Subject: [PATCH] Fix build --- engine/client/cl_frame.c | 2 +- engine/client/client.h | 5 +++++ engine/client/gl_rpart.c | 2 +- engine/common/common.h | 1 + 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/engine/client/cl_frame.c b/engine/client/cl_frame.c index 3a66cd09..2d09ffa1 100644 --- a/engine/client/cl_frame.c +++ b/engine/client/cl_frame.c @@ -1328,4 +1328,4 @@ void CL_ExtraUpdate( void ) { clgame.dllFuncs.IN_Accumulate(); S_ExtraUpdate(); -} \ No newline at end of file +} diff --git a/engine/client/client.h b/engine/client/client.h index 442189dd..d4d1ca90 100644 --- a/engine/client/client.h +++ b/engine/client/client.h @@ -954,6 +954,8 @@ void CL_InitStudioAPI( void ); // // cl_frame.c // +struct channel_s; +struct rawchan_s; int CL_ParsePacketEntities( sizebuf_t *msg, qboolean delta ); qboolean CL_AddVisibleEntity( cl_entity_t *ent, int entityType ); void CL_ResetLatchedVars( cl_entity_t *ent, qboolean full_reset ); @@ -979,6 +981,7 @@ void CL_ClearAllRemaps( void ); // // cl_tent.c // +struct particle_s; int CL_AddEntity( int entityType, cl_entity_t *pEnt ); void CL_WeaponAnim( int iAnim, int body ); void CL_ClearEffects( void ); @@ -1111,4 +1114,6 @@ void SCR_RunCinematic( void ); void SCR_StopCinematic( void ); void CL_PlayVideo_f( void ); +extern rgba_t g_color_table[8]; + #endif//CLIENT_H diff --git a/engine/client/gl_rpart.c b/engine/client/gl_rpart.c index b2ba1b5a..b86950a7 100644 --- a/engine/client/gl_rpart.c +++ b/engine/client/gl_rpart.c @@ -1664,4 +1664,4 @@ void CL_ReadPointFile_f( void ) if( count ) Con_Printf( "%i points read\n", count ); else Con_Printf( "map %s has no leaks!\n", clgame.mapname ); -} \ No newline at end of file +} diff --git a/engine/common/common.h b/engine/common/common.h index f821bb78..d2e04c71 100644 --- a/engine/common/common.h +++ b/engine/common/common.h @@ -979,6 +979,7 @@ void Key_EnableTextInput( qboolean enable, qboolean force ); #include "avi/avi.h" // shared calls +struct physent_s; typedef struct sv_client_s sv_client_t; typedef struct sizebuf_s sizebuf_t; qboolean CL_IsInGame( void );