aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/server/env_player_surface_trigger.h
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-12-02 19:31:46 -0800
committerJørgen P. Tjernø <[email protected]>2013-12-02 19:46:31 -0800
commitf56bb35301836e56582a575a75864392a0177875 (patch)
treede61ddd39de3e7df52759711950b4c288592f0dc /mp/src/game/server/env_player_surface_trigger.h
parentMark some more files as text. (diff)
downloadsource-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz
source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/game/server/env_player_surface_trigger.h')
-rw-r--r--mp/src/game/server/env_player_surface_trigger.h98
1 files changed, 49 insertions, 49 deletions
diff --git a/mp/src/game/server/env_player_surface_trigger.h b/mp/src/game/server/env_player_surface_trigger.h
index e5f9d787..96eb0810 100644
--- a/mp/src/game/server/env_player_surface_trigger.h
+++ b/mp/src/game/server/env_player_surface_trigger.h
@@ -1,49 +1,49 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================//
-
-#ifndef ENV_PLAYER_SURFACE_TRIGGER_H
-#define ENV_PLAYER_SURFACE_TRIGGER_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "baseentity.h"
-#include "entityoutput.h"
-
-//-----------------------------------------------------------------------------
-// Purpose: Entity that fires outputs whenever the player stands on a different surface
-//-----------------------------------------------------------------------------
-class CEnvPlayerSurfaceTrigger : public CPointEntity
-{
- DECLARE_CLASS( CEnvPlayerSurfaceTrigger, CPointEntity );
-public:
- DECLARE_DATADESC();
-
- ~CEnvPlayerSurfaceTrigger( void );
- void Spawn( void );
- void OnRestore( void );
-
- // Main interface to all surface triggers
- static void SetPlayerSurface( CBasePlayer *pPlayer, char gameMaterial );
-
- void UpdateMaterialThink( void );
-
-private:
- void PlayerSurfaceChanged( CBasePlayer *pPlayer, char gameMaterial );
- void InputDisable( inputdata_t &inputdata );
- void InputEnable( inputdata_t &inputdata );
-
-private:
- int m_iTargetGameMaterial;
- int m_iCurrentGameMaterial;
- bool m_bDisabled;
-
- // Outputs
- COutputEvent m_OnSurfaceChangedToTarget;
- COutputEvent m_OnSurfaceChangedFromTarget;
-};
-
-#endif // ENV_PLAYER_SURFACE_TRIGGER_H
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#ifndef ENV_PLAYER_SURFACE_TRIGGER_H
+#define ENV_PLAYER_SURFACE_TRIGGER_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "baseentity.h"
+#include "entityoutput.h"
+
+//-----------------------------------------------------------------------------
+// Purpose: Entity that fires outputs whenever the player stands on a different surface
+//-----------------------------------------------------------------------------
+class CEnvPlayerSurfaceTrigger : public CPointEntity
+{
+ DECLARE_CLASS( CEnvPlayerSurfaceTrigger, CPointEntity );
+public:
+ DECLARE_DATADESC();
+
+ ~CEnvPlayerSurfaceTrigger( void );
+ void Spawn( void );
+ void OnRestore( void );
+
+ // Main interface to all surface triggers
+ static void SetPlayerSurface( CBasePlayer *pPlayer, char gameMaterial );
+
+ void UpdateMaterialThink( void );
+
+private:
+ void PlayerSurfaceChanged( CBasePlayer *pPlayer, char gameMaterial );
+ void InputDisable( inputdata_t &inputdata );
+ void InputEnable( inputdata_t &inputdata );
+
+private:
+ int m_iTargetGameMaterial;
+ int m_iCurrentGameMaterial;
+ bool m_bDisabled;
+
+ // Outputs
+ COutputEvent m_OnSurfaceChangedToTarget;
+ COutputEvent m_OnSurfaceChangedFromTarget;
+};
+
+#endif // ENV_PLAYER_SURFACE_TRIGGER_H