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.

23 lines
787 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef PACIFIER_H
  8. #define PACIFIER_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. // Use these to display a pacifier like:
  13. // ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9... (0)
  14. void StartPacifier( char const *pPrefix ); // Prints the prefix and resets the pacifier
  15. void UpdatePacifier( float flPercent ); // percent value between 0 and 1.
  16. void EndPacifier( bool bCarriageReturn = true ); // Completes pacifier as if 100% was done
  17. void SuppressPacifier( bool bSuppress = true ); // Suppresses pacifier updates if another thread might still be firing them
  18. #endif // PACIFIER_H