mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 06:36:54 +00:00
35 lines
1.1 KiB
C
35 lines
1.1 KiB
C
//===================== Copyright (c) Valve Corporation. All Rights Reserved. ======================
|
|
//
|
|
//
|
|
//
|
|
//==================================================================================================
|
|
|
|
#ifndef CRCCHECK_SHARED_H
|
|
#define CRCCHECK_SHARED_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
|
|
#ifdef STANDALONE_VPC
|
|
#define VPCCRCCHECK_EXE_FILENAME "vpc.exe"
|
|
#else
|
|
#define VPCCRCCHECK_EXE_FILENAME "vpccrccheck.exe"
|
|
#endif
|
|
|
|
// The file extension for the file that contains the CRCs that a vcproj depends on.
|
|
#define VPCCRCCHECK_FILE_EXTENSION "vpc_crc"
|
|
#define VPCCRCCHECK_FILE_VERSION_STRING "[vpc crc file version 2]"
|
|
|
|
|
|
void Sys_Error( const char *format, ... );
|
|
int Sys_LoadTextFileWithIncludes( const char* filename, char** bufferptr, bool bInsertFileMacroExpansion );
|
|
|
|
bool VPC_CheckProjectDependencyCRCs( const char *pProjectFilename, const char *pReferenceSupplementalString, char *pErrorString, int nErrorStringLength );
|
|
|
|
// Used by vpccrccheck.exe or by vpc.exe to do the CRC check that's initiated in the pre-build steps.
|
|
int VPC_CommandLineCRCChecks( int argc, char **argv );
|
|
|
|
|
|
#endif // CRCCHECK_SHARED_H
|