Counter Strike : Global Offensive Source Code
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.

36 lines
924 B

  1. //========= Copyright � 1996-2005, 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. // Must have this value in sync(-1) with const.h and effect_dispatch_data.cpp
  20. #define MAX_MODEL_INDEX_BITS 12 // sent as a short
  21. #define MAX_MODELS (1<<MAX_MODEL_INDEX_BITS)
  22. #define MAX_GENERIC_INDEX_BITS 9
  23. #define MAX_GENERIC (1<<MAX_GENERIC_INDEX_BITS)
  24. #define MAX_DECAL_INDEX_BITS 9
  25. #define MAX_BASE_DECALS (1<<MAX_DECAL_INDEX_BITS)
  26. #endif // QLIMITS_H