diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /utils/scenemanager/soundproperties.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'utils/scenemanager/soundproperties.h')
| -rw-r--r-- | utils/scenemanager/soundproperties.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/utils/scenemanager/soundproperties.h b/utils/scenemanager/soundproperties.h new file mode 100644 index 0000000..d342bf3 --- /dev/null +++ b/utils/scenemanager/soundproperties.h @@ -0,0 +1,44 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef SOUNDPROPERTIES_H +#define SOUNDPROPERTIES_H +#ifdef _WIN32 +#pragma once +#endif + +#include "basedialogparams.h" + +class CSoundEntry; + +//----------------------------------------------------------------------------- +// Purpose: +//----------------------------------------------------------------------------- +struct CSoundParams : public CBaseDialogParams +{ + bool addsound; + + CSoundParams() + { + } + + CSoundParams( const CSoundParams& src ) + { + addsound = src.addsound; + + int c = src.items.Count(); + for ( int i = 0; i < c; i++ ) + { + items.AddToTail( src.items[ i ] ); + } + } + + CUtlVector< CSoundEntry * > items; +}; + +int SoundProperties( CSoundParams *params ); + +#endif // SOUNDPROPERTIES_H |