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.

35 lines
833 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef QLIMITS_H
  8. #define QLIMITS_H
  9. #if defined( _WIN32 )
  10. #pragma once
  11. #endif
  12. // DATA STRUCTURE INFO
  13. #define MAX_NUM_ARGVS 50
  14. // SYSTEM INFO
  15. #define MAX_QPATH 96 // max length of a game pathname
  16. #define MAX_OSPATH 260 // max length of a filesystem pathname
  17. #define ON_EPSILON 0.1 // point on plane side epsilon
  18. // Resource counts;
  19. #define MAX_MODEL_INDEX_BITS 12 // sent as a short
  20. #define MAX_MODELS (1<<MAX_MODEL_INDEX_BITS)
  21. #define MAX_GENERIC_INDEX_BITS 9
  22. #define MAX_GENERIC (1<<MAX_GENERIC_INDEX_BITS)
  23. #define MAX_DECAL_INDEX_BITS 9
  24. #define MAX_BASE_DECALS (1<<MAX_DECAL_INDEX_BITS)
  25. #endif // QLIMITS_H