summaryrefslogtreecommitdiff
path: root/game/client/physics.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/physics.h')
-rw-r--r--game/client/physics.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/game/client/physics.h b/game/client/physics.h
new file mode 100644
index 0000000..9da17e0
--- /dev/null
+++ b/game/client/physics.h
@@ -0,0 +1,27 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose: insulates client DLL from dependencies on vphysics
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef PHYSICS_H
+#define PHYSICS_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+#include "interface.h"
+#include "physics_shared.h"
+
+struct objectparams_t;
+struct solid_t;
+
+// HACKHACK: Make this part of IClientSystem somehow???
+extern bool PhysicsDLLInit( CreateInterfaceFn physicsFactory );
+extern void PhysicsReset();
+extern void PhysicsSimulate();
+extern float PhysGetSyncCreateTime();
+
+#endif // PHYSICS_H