mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-18 14:31:58 +00:00
1
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user