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.

26 lines
783 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #ifndef HL2_VEHICLE_RADAR_H
  9. #define HL2_VEHICLE_RADAR_H
  10. #define RADAR_MAX_CONTACTS 24
  11. #define RADAR_CONTACT_TYPE_BITS 3 // Max 8 types of contacts (for networking)
  12. #define RADAR_UPDATE_FREQUENCY 1.5f
  13. #define RADAR_UPDATE_FREQUENCY_FAST 0.5f
  14. enum // If we have more than 16 types of contacts, RADAR_CONTACT_TYPE_BITS
  15. {
  16. RADAR_CONTACT_NONE = -1,
  17. RADAR_CONTACT_GENERIC = 0,
  18. RADAR_CONTACT_MAGNUSSEN_RDU,
  19. RADAR_CONTACT_DOG,
  20. RADAR_CONTACT_ALLY_INSTALLATION,
  21. RADAR_CONTACT_ENEMY, // 'regular' sized enemy (Hunter)
  22. RADAR_CONTACT_LARGE_ENEMY, // Large enemy (Strider)
  23. };
  24. #endif