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.

44 lines
876 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef SOUNDPROPERTIES_H
  7. #define SOUNDPROPERTIES_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "basedialogparams.h"
  12. class CSoundEntry;
  13. //-----------------------------------------------------------------------------
  14. // Purpose:
  15. //-----------------------------------------------------------------------------
  16. struct CSoundParams : public CBaseDialogParams
  17. {
  18. bool addsound;
  19. CSoundParams()
  20. {
  21. }
  22. CSoundParams( const CSoundParams& src )
  23. {
  24. addsound = src.addsound;
  25. int c = src.items.Count();
  26. for ( int i = 0; i < c; i++ )
  27. {
  28. items.AddToTail( src.items[ i ] );
  29. }
  30. }
  31. CUtlVector< CSoundEntry * > items;
  32. };
  33. int SoundProperties( CSoundParams *params );
  34. #endif // SOUNDPROPERTIES_H