Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
962 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef ADDSOUNDENTRY_H
  7. #define ADDSOUNDENTRY_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "basedialogparams.h"
  12. //-----------------------------------------------------------------------------
  13. // Purpose:
  14. //-----------------------------------------------------------------------------
  15. struct CAddSoundParams : public CBaseDialogParams
  16. {
  17. CAddSoundParams()
  18. {
  19. m_szWaveFile[ 0 ] = 0;
  20. m_szSoundName[ 0 ] = 0;
  21. m_szScriptName[ 0 ] = 0;
  22. m_bAllowExistingSound = false;
  23. m_bReadOnlySoundName = false;
  24. }
  25. char m_szWaveFile[ 256 ];
  26. // i/o input text
  27. char m_szSoundName[ 256 ];
  28. char m_szScriptName[ 256 ];
  29. bool m_bAllowExistingSound;
  30. bool m_bReadOnlySoundName;
  31. };
  32. // Display/create dialog
  33. int AddSound( CAddSoundParams *params, HWND parent );
  34. #endif // ADDSOUNDENTRY_H