diff options
Diffstat (limited to 'engine/download.h')
| -rw-r--r-- | engine/download.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/engine/download.h b/engine/download.h new file mode 100644 index 0000000..069fe89 --- /dev/null +++ b/engine/download.h @@ -0,0 +1,31 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// +//-------------------------------------------------------------------------------------------------------------- +// download.h +// +// Header file for optional HTTP asset downloading +// Author: Matthew D. Campbell ([email protected]), 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 CL_FileDenied( const char *filename, unsigned int requestID ); +int CL_GetDownloadQueueSize(void); +int CL_CanUseHTTPDownload(void); +void CL_MarkMapAsUsingHTTPDownload(void); +bool CL_IsGamePathValidAndSafeForDownload( const char *pGamePath ); + +#endif // DOWNLOAD_H |