summaryrefslogtreecommitdiff
path: root/external/vpc/utils/vpccrccheck/crccheck_shared.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /external/vpc/utils/vpccrccheck/crccheck_shared.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'external/vpc/utils/vpccrccheck/crccheck_shared.h')
-rw-r--r--external/vpc/utils/vpccrccheck/crccheck_shared.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/external/vpc/utils/vpccrccheck/crccheck_shared.h b/external/vpc/utils/vpccrccheck/crccheck_shared.h
new file mode 100644
index 0000000..ce177d0
--- /dev/null
+++ b/external/vpc/utils/vpccrccheck/crccheck_shared.h
@@ -0,0 +1,34 @@
+//===================== 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