mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
45 lines
876 B
C++
45 lines
876 B
C++
//========= 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
|