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 /mp/src/game/shared/hl2/hl_movedata.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 'mp/src/game/shared/hl2/hl_movedata.h')
| -rw-r--r-- | mp/src/game/shared/hl2/hl_movedata.h | 102 |
1 files changed, 51 insertions, 51 deletions
diff --git a/mp/src/game/shared/hl2/hl_movedata.h b/mp/src/game/shared/hl2/hl_movedata.h index 36598344..5b7d4f8c 100644 --- a/mp/src/game/shared/hl2/hl_movedata.h +++ b/mp/src/game/shared/hl2/hl_movedata.h @@ -1,51 +1,51 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef HL_MOVEDATA_H
-#define HL_MOVEDATA_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-
-#include "igamemovement.h"
-
-
-// This class contains HL2-specific prediction data.
-class CHLMoveData : public CMoveData
-{
-public:
- bool m_bIsSprinting;
-};
-
-class CFuncLadder;
-class CReservePlayerSpot;
-
-//-----------------------------------------------------------------------------
-// Purpose: Data related to automatic mounting/dismounting from ladders
-//-----------------------------------------------------------------------------
-struct LadderMove_t
-{
- DECLARE_SIMPLE_DATADESC();
-
- // Are we forcing player movement during mount/dismount
- bool m_bForceLadderMove;
- // Is the forced move getting on or off the ladder
- bool m_bForceMount;
-
- // Simulation info for forcing the player move
- float m_flStartTime;
- float m_flArrivalTime;
- Vector m_vecGoalPosition;
- Vector m_vecStartPosition;
-
- // The ladder entity owning the forced move (for marking us "on" the ladder after automounting it)
- CHandle< CFuncLadder > m_hForceLadder;
- CHandle< CReservePlayerSpot > m_hReservedSpot;
-};
-
-#endif // HL_MOVEDATA_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef HL_MOVEDATA_H +#define HL_MOVEDATA_H +#ifdef _WIN32 +#pragma once +#endif + + +#include "igamemovement.h" + + +// This class contains HL2-specific prediction data. +class CHLMoveData : public CMoveData +{ +public: + bool m_bIsSprinting; +}; + +class CFuncLadder; +class CReservePlayerSpot; + +//----------------------------------------------------------------------------- +// Purpose: Data related to automatic mounting/dismounting from ladders +//----------------------------------------------------------------------------- +struct LadderMove_t +{ + DECLARE_SIMPLE_DATADESC(); + + // Are we forcing player movement during mount/dismount + bool m_bForceLadderMove; + // Is the forced move getting on or off the ladder + bool m_bForceMount; + + // Simulation info for forcing the player move + float m_flStartTime; + float m_flArrivalTime; + Vector m_vecGoalPosition; + Vector m_vecStartPosition; + + // The ladder entity owning the forced move (for marking us "on" the ladder after automounting it) + CHandle< CFuncLadder > m_hForceLadder; + CHandle< CReservePlayerSpot > m_hReservedSpot; +}; + +#endif // HL_MOVEDATA_H |