summaryrefslogtreecommitdiff
path: root/game/client/tf/c_tf_haptics.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 /game/client/tf/c_tf_haptics.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/client/tf/c_tf_haptics.h')
-rw-r--r--game/client/tf/c_tf_haptics.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/game/client/tf/c_tf_haptics.h b/game/client/tf/c_tf_haptics.h
new file mode 100644
index 0000000..4b9c6e1
--- /dev/null
+++ b/game/client/tf/c_tf_haptics.h
@@ -0,0 +1,34 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+// NVNT haptics for Team Fortress 2
+#ifndef C_TF_HAPTICS_H
+#define C_TF_HAPTICS_H
+
+class C_TFPlayer;
+
+#include "haptics/haptic_utils.h"
+
+class C_TFHaptics {
+protected:
+ C_TFHaptics();
+public:
+ bool wasCloaked : 1;
+ bool wasFullyCloaked : 1;
+ bool wasUber : 1;
+ bool wasBurning :1;
+ bool wasHealing : 1;
+ bool isBeingHealed : 1;
+ bool wasBeingHealed : 1;
+ bool wasBeingHealedMedic : 1;
+ bool wasBeingTeleported :1;
+ bool skippedFirstCloak:1;
+ bool readyForCloak:1;
+ unsigned int healingDispenserCount:16;//short
+ void Revert();
+ // should only be local player!
+ void HapticsThink(C_TFPlayer *player);
+};
+
+extern C_TFHaptics &tfHaptics;
+
+
+#endif // C_TF_HAPTICS_H \ No newline at end of file