diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /sp/src/public/haptics/haptic_msgs.h | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'sp/src/public/haptics/haptic_msgs.h')
| -rw-r--r-- | sp/src/public/haptics/haptic_msgs.h | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/sp/src/public/haptics/haptic_msgs.h b/sp/src/public/haptics/haptic_msgs.h index 4b2daf83..a7e4df17 100644 --- a/sp/src/public/haptics/haptic_msgs.h +++ b/sp/src/public/haptics/haptic_msgs.h @@ -1,34 +1,34 @@ -#ifndef HAPTIC_MSGS_H
-#define HAPTIC_MSGS_H
-
-void RegisterHapticMessages(void);
-
-//-----------------------------------------------------------------------------
-// Server
-//-----------------------------------------------------------------------------
-#ifndef CLIENT_DLL
- void HapticMsg_SendWeaponAnim( CBasePlayer *pPlayer, int iActivity );
- void HapticMsg_SetDrag(CBasePlayer* pPlayer, float drag);
- void HapticMsg_SetConstantForce(CBasePlayer* pPlayer, Vector force);
- void HapticMsg_HapDmg(CBasePlayer* pPlayer, float pitch, float yaw, float dmg, float dmgType );
- void HapticMsg_Punch(CBasePlayer* pPlayer, float x, float y, float z);
- void HapticMsg_MeleeContact(CBasePlayer* pPlayer);
-#endif // !CLIENT_DLL
-
-//-----------------------------------------------------------------------------
-// Client
-//-----------------------------------------------------------------------------
-#ifdef CLIENT_DLL
- void HookHapticMessages(void);
-
- void __MsgFunc_SPHapWeapEvent( bf_read &HapticMsg );
- void __MsgFunc_HapDmg( bf_read &HapticMsg );
- void __MsgFunc_HapSetConst( bf_read &HapticMsg );
- void __MsgFunc_HapPunch( bf_read &HapticMsg );
- void __MsgFunc_HapGeneric( bf_read &HapticMsg );
- void __MsgFunc_HapSetDrag( bf_read &HapticMsg );
- void __MsgFunc_HapSetDrag( bf_read &HapticMsg );
- void __MsgFunc_HapMeleeContact( bf_read &HapticMsg );
-#endif // CLIENT_DLL
-
-#endif // HAPTIC_MSGS_H
+#ifndef HAPTIC_MSGS_H +#define HAPTIC_MSGS_H + +void RegisterHapticMessages(void); + +//----------------------------------------------------------------------------- +// Server +//----------------------------------------------------------------------------- +#ifndef CLIENT_DLL + void HapticMsg_SendWeaponAnim( CBasePlayer *pPlayer, int iActivity ); + void HapticMsg_SetDrag(CBasePlayer* pPlayer, float drag); + void HapticMsg_SetConstantForce(CBasePlayer* pPlayer, Vector force); + void HapticMsg_HapDmg(CBasePlayer* pPlayer, float pitch, float yaw, float dmg, float dmgType ); + void HapticMsg_Punch(CBasePlayer* pPlayer, float x, float y, float z); + void HapticMsg_MeleeContact(CBasePlayer* pPlayer); +#endif // !CLIENT_DLL + +//----------------------------------------------------------------------------- +// Client +//----------------------------------------------------------------------------- +#ifdef CLIENT_DLL + void HookHapticMessages(void); + + void __MsgFunc_SPHapWeapEvent( bf_read &HapticMsg ); + void __MsgFunc_HapDmg( bf_read &HapticMsg ); + void __MsgFunc_HapSetConst( bf_read &HapticMsg ); + void __MsgFunc_HapPunch( bf_read &HapticMsg ); + void __MsgFunc_HapGeneric( bf_read &HapticMsg ); + void __MsgFunc_HapSetDrag( bf_read &HapticMsg ); + void __MsgFunc_HapSetDrag( bf_read &HapticMsg ); + void __MsgFunc_HapMeleeContact( bf_read &HapticMsg ); +#endif // CLIENT_DLL + +#endif // HAPTIC_MSGS_H |