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
632 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef WEAPON_PROFICIENCY_H
  7. #define WEAPON_PROFICIENCY_H
  8. #if defined( _WIN32 )
  9. #pragma once
  10. #endif
  11. struct WeaponProficiencyInfo_t
  12. {
  13. float spreadscale;
  14. float bias;
  15. };
  16. enum WeaponProficiency_t
  17. {
  18. WEAPON_PROFICIENCY_POOR = 0,
  19. WEAPON_PROFICIENCY_AVERAGE,
  20. WEAPON_PROFICIENCY_GOOD,
  21. WEAPON_PROFICIENCY_VERY_GOOD,
  22. WEAPON_PROFICIENCY_PERFECT,
  23. };
  24. const char *GetWeaponProficiencyName( WeaponProficiency_t proficiency );
  25. #endif // WEAPON_PROFICIENCY_H