diff options
Diffstat (limited to 'src/client/client.h')
-rw-r--r-- | src/client/client.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/client/client.h b/src/client/client.h index ae5915db..77cf7dca 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -31,12 +31,15 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include "../cgame/cg_public.h" #include "../game/bg_public.h" +#if USE_CURL +#include "cl_curl.h" +#endif /* USE_CURL */ + // tjw: file full of random crap that gets used to create cl_guid #define QKEY_FILE "qkey" #define RETRANSMIT_TIMEOUT 3000 // time between connection packet retransmits - // snapshots are a view of the server at a given time typedef struct { qboolean valid; // cleared if delta parsing was invalid @@ -187,6 +190,16 @@ typedef struct { fileHandle_t download; char downloadTempName[MAX_OSPATH]; char downloadName[MAX_OSPATH]; +#ifdef USE_CURL + qboolean cURLEnabled; + qboolean cURLUsed; + qboolean cURLDisconnected; + char downloadURL[MAX_OSPATH]; + CURL *downloadCURL; + CURLM *downloadCURLM; +#endif /* USE_CURL */ + int sv_allowDownload; + char sv_dlURL[MAX_CVAR_VALUE_STRING]; int downloadNumber; int downloadBlock; // block we are waiting for int downloadCount; // how many bytes we got @@ -352,10 +365,12 @@ extern cvar_t *cl_aviMotionJpeg; extern cvar_t *cl_activeAction; extern cvar_t *cl_allowDownload; +extern cvar_t *cl_downloadMethod; extern cvar_t *cl_conXOffset; extern cvar_t *cl_inGameVideo; extern cvar_t *cl_lanForcePackets; +extern cvar_t *cl_autoRecordDemo; //================================================= @@ -380,6 +395,7 @@ void CL_ReadDemoMessage( void ); demoState_t CL_DemoState( void ); int CL_DemoPos( void ); void CL_DemoName( char *buffer, int size ); +void CL_StopRecord_f( void ); void CL_InitDownloads(void); void CL_NextDownload(void); @@ -393,6 +409,7 @@ void CL_ShutdownRef( void ); void CL_InitRef( void ); int CL_ServerStatus( char *serverAddress, char *serverStatusString, int maxLen ); +qboolean CL_CheckPaused(void); // // cl_input |