summaryrefslogtreecommitdiff
path: root/utils/hlfaceposer/addsoundentry.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /utils/hlfaceposer/addsoundentry.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'utils/hlfaceposer/addsoundentry.h')
-rw-r--r--utils/hlfaceposer/addsoundentry.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/utils/hlfaceposer/addsoundentry.h b/utils/hlfaceposer/addsoundentry.h
new file mode 100644
index 0000000..b5945bd
--- /dev/null
+++ b/utils/hlfaceposer/addsoundentry.h
@@ -0,0 +1,40 @@
+//========= 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