summaryrefslogtreecommitdiff
path: root/game/shared/vphysicsupdateai.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/shared/vphysicsupdateai.h')
-rw-r--r--game/shared/vphysicsupdateai.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/game/shared/vphysicsupdateai.h b/game/shared/vphysicsupdateai.h
new file mode 100644
index 0000000..02ce7e1
--- /dev/null
+++ b/game/shared/vphysicsupdateai.h
@@ -0,0 +1,24 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================
+
+#ifndef VPHYSICSUPDATEAI_H
+#define VPHYSICSUPDATEAI_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+// this is used to temporarily allow the vphysics shadow object to update the entity's position
+// for entities that typically ignore those updates.
+struct vphysicsupdateai_t
+{
+ float startUpdateTime;
+ float stopUpdateTime;
+ float savedShadowControllerMaxSpeed;
+};
+
+
+#endif // VPHYSICSUPDATEAI_H