summaryrefslogtreecommitdiff
path: root/game/client/tf/c_tf_haptics.h
blob: 4b9c6e151c0c629ac9e42fa56bffac089965da33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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