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.

32 lines
893 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: CTrainingAnnotation Entity. This entity is used to place
  4. // annotations on maps.
  5. //=============================================================================//
  6. #include "cbase.h"
  7. //=============================================================================
  8. // CTrainingAnnotation Entity.
  9. //=============================================================================
  10. class CTrainingAnnotation : public CPointEntity
  11. {
  12. DECLARE_CLASS( CTrainingAnnotation, CPointEntity );
  13. public:
  14. DECLARE_DATADESC();
  15. CTrainingAnnotation();
  16. ~CTrainingAnnotation(){}
  17. // Input.
  18. void InputShow( inputdata_t &inputdata ){ Show(); }
  19. void InputHide( inputdata_t &inputdata ) {Hide(); }
  20. void Show();
  21. void Hide();
  22. string_t m_displayText;
  23. float m_flLifetime;
  24. float m_flVerticalOffset;
  25. };