aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/client/c_world.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/client/c_world.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/client/c_world.h')
-rw-r--r--mp/src/game/client/c_world.h156
1 files changed, 78 insertions, 78 deletions
diff --git a/mp/src/game/client/c_world.h b/mp/src/game/client/c_world.h
index 9df3ca5b..3cdbd6a0 100644
--- a/mp/src/game/client/c_world.h
+++ b/mp/src/game/client/c_world.h
@@ -1,79 +1,79 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//=============================================================================//
-#if !defined( C_WORLD_H )
-#define C_WORLD_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "c_baseentity.h"
-
-#if defined( CLIENT_DLL )
-#define CWorld C_World
-#endif
-
-class C_World : public C_BaseEntity
-{
-public:
- DECLARE_CLASS( C_World, C_BaseEntity );
- DECLARE_CLIENTCLASS();
-
- C_World( void );
- ~C_World( void );
-
- // Override the factory create/delete functions since the world is a singleton.
- virtual bool Init( int entnum, int iSerialNum );
- virtual void Release();
-
- virtual void Precache();
- virtual void Spawn();
-
- // Don't worry about adding the world to the collision list; it's already there
- virtual CollideType_t GetCollideType( void ) { return ENTITY_SHOULD_NOT_COLLIDE; }
-
- virtual void OnDataChanged( DataUpdateType_t updateType );
- virtual void PreDataUpdate( DataUpdateType_t updateType );
-
- float GetWaveHeight() const;
- const char *GetDetailSpriteMaterial() const;
-
-public:
- enum
- {
- MAX_DETAIL_SPRITE_MATERIAL_NAME_LENGTH = 256,
- };
-
- float m_flWaveHeight;
- Vector m_WorldMins;
- Vector m_WorldMaxs;
- bool m_bStartDark;
- float m_flMaxOccludeeArea;
- float m_flMinOccluderArea;
- float m_flMinPropScreenSpaceWidth;
- float m_flMaxPropScreenSpaceWidth;
- bool m_bColdWorld;
-
-private:
- void RegisterSharedActivities( void );
- char m_iszDetailSpriteMaterial[MAX_DETAIL_SPRITE_MATERIAL_NAME_LENGTH];
-};
-
-inline float C_World::GetWaveHeight() const
-{
- return m_flWaveHeight;
-}
-
-inline const char *C_World::GetDetailSpriteMaterial() const
-{
- return m_iszDetailSpriteMaterial;
-}
-
-void ClientWorldFactoryInit();
-void ClientWorldFactoryShutdown();
-C_World* GetClientWorldEntity();
-
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+#if !defined( C_WORLD_H )
+#define C_WORLD_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "c_baseentity.h"
+
+#if defined( CLIENT_DLL )
+#define CWorld C_World
+#endif
+
+class C_World : public C_BaseEntity
+{
+public:
+ DECLARE_CLASS( C_World, C_BaseEntity );
+ DECLARE_CLIENTCLASS();
+
+ C_World( void );
+ ~C_World( void );
+
+ // Override the factory create/delete functions since the world is a singleton.
+ virtual bool Init( int entnum, int iSerialNum );
+ virtual void Release();
+
+ virtual void Precache();
+ virtual void Spawn();
+
+ // Don't worry about adding the world to the collision list; it's already there
+ virtual CollideType_t GetCollideType( void ) { return ENTITY_SHOULD_NOT_COLLIDE; }
+
+ virtual void OnDataChanged( DataUpdateType_t updateType );
+ virtual void PreDataUpdate( DataUpdateType_t updateType );
+
+ float GetWaveHeight() const;
+ const char *GetDetailSpriteMaterial() const;
+
+public:
+ enum
+ {
+ MAX_DETAIL_SPRITE_MATERIAL_NAME_LENGTH = 256,
+ };
+
+ float m_flWaveHeight;
+ Vector m_WorldMins;
+ Vector m_WorldMaxs;
+ bool m_bStartDark;
+ float m_flMaxOccludeeArea;
+ float m_flMinOccluderArea;
+ float m_flMinPropScreenSpaceWidth;
+ float m_flMaxPropScreenSpaceWidth;
+ bool m_bColdWorld;
+
+private:
+ void RegisterSharedActivities( void );
+ char m_iszDetailSpriteMaterial[MAX_DETAIL_SPRITE_MATERIAL_NAME_LENGTH];
+};
+
+inline float C_World::GetWaveHeight() const
+{
+ return m_flWaveHeight;
+}
+
+inline const char *C_World::GetDetailSpriteMaterial() const
+{
+ return m_iszDetailSpriteMaterial;
+}
+
+void ClientWorldFactoryInit();
+void ClientWorldFactoryShutdown();
+C_World* GetClientWorldEntity();
+
#endif // C_WORLD_H \ No newline at end of file