Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
738 B

//========= 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