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/SceneCache.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/SceneCache.h')
| -rw-r--r-- | mp/src/game/shared/SceneCache.h | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/mp/src/game/shared/SceneCache.h b/mp/src/game/shared/SceneCache.h index 0ac9e3cb..72dff667 100644 --- a/mp/src/game/shared/SceneCache.h +++ b/mp/src/game/shared/SceneCache.h @@ -1,42 +1,42 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================
-
-#ifndef SCENECACHE_H
-#define SCENECACHE_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "UtlCachedFileData.h"
-#include "SoundEmitterSystem/isoundemittersystembase.h"
-
-class CChoreoEvent;
-
-#define SCENECACHE_VERSION 7
-
-#pragma pack(1)
-class CSceneCache : public IBaseCacheInfo
-{
-public:
- unsigned int msecs;
- CUtlVector< unsigned short > sounds;
-
- CSceneCache();
- CSceneCache( const CSceneCache& src );
-
- int GetSoundCount() const;
- char const *GetSoundName( int index );
-
- virtual void Save( CUtlBuffer& buf );
- virtual void Restore( CUtlBuffer& buf );
- virtual void Rebuild( char const *filename );
-
- static unsigned int ComputeSoundScriptFileTimestampChecksum();
- static void PrecacheSceneEvent( CChoreoEvent *event, CUtlVector< unsigned short >& soundlist );
-};
-#pragma pack()
-
-#endif // SCENECACHE_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//============================================================================= + +#ifndef SCENECACHE_H +#define SCENECACHE_H +#ifdef _WIN32 +#pragma once +#endif + +#include "UtlCachedFileData.h" +#include "SoundEmitterSystem/isoundemittersystembase.h" + +class CChoreoEvent; + +#define SCENECACHE_VERSION 7 + +#pragma pack(1) +class CSceneCache : public IBaseCacheInfo +{ +public: + unsigned int msecs; + CUtlVector< unsigned short > sounds; + + CSceneCache(); + CSceneCache( const CSceneCache& src ); + + int GetSoundCount() const; + char const *GetSoundName( int index ); + + virtual void Save( CUtlBuffer& buf ); + virtual void Restore( CUtlBuffer& buf ); + virtual void Rebuild( char const *filename ); + + static unsigned int ComputeSoundScriptFileTimestampChecksum(); + static void PrecacheSceneEvent( CChoreoEvent *event, CUtlVector< unsigned short >& soundlist ); +}; +#pragma pack() + +#endif // SCENECACHE_H |