summaryrefslogtreecommitdiff
path: root/game/shared/solidsetdefaults.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/shared/solidsetdefaults.h')
-rw-r--r--game/shared/solidsetdefaults.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/game/shared/solidsetdefaults.h b/game/shared/solidsetdefaults.h
new file mode 100644
index 0000000..1017796
--- /dev/null
+++ b/game/shared/solidsetdefaults.h
@@ -0,0 +1,28 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#ifndef SOLIDSETDEFAULTS_H
+#define SOLIDSETDEFAULTS_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+// solid_t parsing
+class CSolidSetDefaults : public IVPhysicsKeyHandler
+{
+public:
+ virtual void ParseKeyValue( void *pData, const char *pKey, const char *pValue );
+ virtual void SetDefaults( void *pData );
+
+ unsigned int GetContentsMask() { return m_contentsMask; }
+
+private:
+ unsigned int m_contentsMask;
+};
+
+extern CSolidSetDefaults g_SolidSetup;
+
+#endif // SOLIDSETDEFAULTS_H