mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 22:27:05 +00:00
41 lines
962 B
C
41 lines
962 B
C
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
//=============================================================================//
|
||
|
|
||
|
#ifndef ADDSOUNDENTRY_H
|
||
|
#define ADDSOUNDENTRY_H
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
#include "basedialogparams.h"
|
||
|
//-----------------------------------------------------------------------------
|
||
|
// Purpose:
|
||
|
//-----------------------------------------------------------------------------
|
||
|
struct CAddSoundParams : public CBaseDialogParams
|
||
|
{
|
||
|
CAddSoundParams()
|
||
|
{
|
||
|
m_szWaveFile[ 0 ] = 0;
|
||
|
m_szSoundName[ 0 ] = 0;
|
||
|
m_szScriptName[ 0 ] = 0;
|
||
|
m_bAllowExistingSound = false;
|
||
|
m_bReadOnlySoundName = false;
|
||
|
}
|
||
|
|
||
|
char m_szWaveFile[ 256 ];
|
||
|
|
||
|
// i/o input text
|
||
|
char m_szSoundName[ 256 ];
|
||
|
char m_szScriptName[ 256 ];
|
||
|
bool m_bAllowExistingSound;
|
||
|
bool m_bReadOnlySoundName;
|
||
|
};
|
||
|
|
||
|
// Display/create dialog
|
||
|
int AddSound( CAddSoundParams *params, HWND parent );
|
||
|
|
||
|
#endif // ADDSOUNDENTRY_H
|