1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 12:36:05 +08:00

Update from SDK 2013

This commit is contained in:
Kenzzer
2025-02-19 18:39:00 -05:00
committed by Nicholas Hastings
parent 6d5c024820
commit 94b660e16e
7474 changed files with 2597282 additions and 1254065 deletions

View File

@ -1,42 +1,42 @@
//====== Copyright <20> 1996-2005, 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