aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/server/ai_looktarget.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/ai_looktarget.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/ai_looktarget.h')
-rw-r--r--mp/src/game/server/ai_looktarget.h92
1 files changed, 46 insertions, 46 deletions
diff --git a/mp/src/game/server/ai_looktarget.h b/mp/src/game/server/ai_looktarget.h
index 60d0d241..a98ceb0b 100644
--- a/mp/src/game/server/ai_looktarget.h
+++ b/mp/src/game/server/ai_looktarget.h
@@ -1,47 +1,47 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================//
-#pragma once
-#ifndef AI_LOOKTARGET_H
-#define AI_LOOKTARGET_H
-
-#define SF_LOOKTARGET_ONLYONCE 0x00000001
-
-//=============================================================================
-//=============================================================================
-class CAI_LookTarget : public CPointEntity
-{
-public:
- DECLARE_CLASS( CAI_LookTarget, CPointEntity );
- DECLARE_DATADESC();
-
- CAI_LookTarget() { m_flTimeNextAvailable = -1; }
-
- // Debugging
- int DrawDebugTextOverlays(void);
-
- // Accessors & Availability
- bool IsEligible( CBaseEntity *pLooker );
- bool IsEnabled() { return !m_bDisabled; }
- bool IsAvailable() { return (gpGlobals->curtime > m_flTimeNextAvailable); }
- void Reserve( float flDuration );
-
- // Searching
- static CAI_LookTarget *GetFirstLookTarget();
- static CAI_LookTarget *GetNextLookTarget( CAI_LookTarget *pCurrentTarget );
-
- int m_iContext;
- int m_iPriority;
-
- void Enable() { m_bDisabled = false; }
- void Disable() { m_bDisabled = true; }
-
-private:
- bool m_bDisabled;
- float m_flTimeNextAvailable;
- float m_flMaxDist;
-};
-
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+#pragma once
+#ifndef AI_LOOKTARGET_H
+#define AI_LOOKTARGET_H
+
+#define SF_LOOKTARGET_ONLYONCE 0x00000001
+
+//=============================================================================
+//=============================================================================
+class CAI_LookTarget : public CPointEntity
+{
+public:
+ DECLARE_CLASS( CAI_LookTarget, CPointEntity );
+ DECLARE_DATADESC();
+
+ CAI_LookTarget() { m_flTimeNextAvailable = -1; }
+
+ // Debugging
+ int DrawDebugTextOverlays(void);
+
+ // Accessors & Availability
+ bool IsEligible( CBaseEntity *pLooker );
+ bool IsEnabled() { return !m_bDisabled; }
+ bool IsAvailable() { return (gpGlobals->curtime > m_flTimeNextAvailable); }
+ void Reserve( float flDuration );
+
+ // Searching
+ static CAI_LookTarget *GetFirstLookTarget();
+ static CAI_LookTarget *GetNextLookTarget( CAI_LookTarget *pCurrentTarget );
+
+ int m_iContext;
+ int m_iPriority;
+
+ void Enable() { m_bDisabled = false; }
+ void Disable() { m_bDisabled = true; }
+
+private:
+ bool m_bDisabled;
+ float m_flTimeNextAvailable;
+ float m_flMaxDist;
+};
+
#endif//AI_LOOKTARGET_H \ No newline at end of file