32 lines
1.3 KiB
C
32 lines
1.3 KiB
C
|
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
|
|||
|
//
|
|||
|
// Purpose:
|
|||
|
//
|
|||
|
// $NoKeywords: $
|
|||
|
//
|
|||
|
//=============================================================================//
|
|||
|
//--------------------------------------------------------------------------------------------------------------
|
|||
|
// download.h
|
|||
|
//
|
|||
|
// Header file for optional HTTP asset downloading
|
|||
|
// Author: Matthew D. Campbell (matt@turtlerockstudios.com), 2004
|
|||
|
//--------------------------------------------------------------------------------------------------------------
|
|||
|
|
|||
|
#ifndef DOWNLOAD_H
|
|||
|
#define DOWNLOAD_H
|
|||
|
|
|||
|
//--------------------------------------------------------------------------------------------------------------
|
|||
|
// Function Prototypes
|
|||
|
//--------------------------------------------------------------------------------------------------------------
|
|||
|
void CL_HTTPStop_f(void);
|
|||
|
bool CL_DownloadUpdate(void);
|
|||
|
void CL_QueueDownload( const char *filename );
|
|||
|
bool CL_FileReceived( const char *filename, unsigned int requestID, bool isReplayDemoFile );
|
|||
|
bool CL_FileDenied( const char *filename, unsigned int requestID, bool isReplayDemoFile );
|
|||
|
int CL_GetDownloadQueueSize(void);
|
|||
|
int CL_CanUseHTTPDownload(void);
|
|||
|
void CL_MarkMapAsUsingHTTPDownload(void);
|
|||
|
bool CL_ShouldRedownloadFile( const char *filename );
|
|||
|
|
|||
|
#endif // DOWNLOAD_H
|