summaryrefslogtreecommitdiff
path: root/engine/sysexternal.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 /engine/sysexternal.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'engine/sysexternal.h')
-rw-r--r--engine/sysexternal.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/engine/sysexternal.h b/engine/sysexternal.h
new file mode 100644
index 0000000..0786a4b
--- /dev/null
+++ b/engine/sysexternal.h
@@ -0,0 +1,18 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+#ifndef SYSEXTERNAL_H
+#define SYSEXTERNAL_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+// an error will cause the entire program to exit and upload a minidump to us
+void Sys_Error(PRINTF_FORMAT_STRING const char *psz, ...) FMTFUNCTION( 1, 2 );
+// kill the process with an error but don't send us a minidump, its not a bug but a user config problem
+void Sys_Exit( PRINTF_FORMAT_STRING const char *error, ... ) FMTFUNCTION( 1, 2 );
+
+#endif // SYSEXTERNAL_H