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.

48 lines
1.4 KiB

  1. //===== Copyright � 1996-2008, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. //===========================================================================//
  6. #ifndef C_DEMO_POLISH_CONSTS_H
  7. #define C_DEMO_POLISH_CONSTS_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. //------------------------------------------------------------------------------------------------------------------------
  12. #define kMaxPlayersSupported 4
  13. #define MAX_STR 256
  14. #define DEMO_POLISH_DIR "demo_polish"
  15. #define DEMO_POLISH_DIR_FILTERED "filtered"
  16. #define DEMO_POLISH_DIR_RAW "raw"
  17. #define DEMO_POLISH_HEADER_NAME "header.bin"
  18. #define DEMO_POLISH_CFG_FILENAME "demo_polish_settings.cfg"
  19. #define SERIALIZE_POLISH_FILES_AS_TEXT false
  20. //------------------------------------------------------------------------------------------------------------------------
  21. enum
  22. {
  23. kMaxBones = 128, // Same as MAXSTUDIOBONES -- including "studio.h" here would be painful
  24. kMaxOverlays = 16 ,
  25. };
  26. enum ESide
  27. {
  28. kInvalidSide = -1,
  29. kLeft,
  30. kRight
  31. };
  32. //------------------------------------------------------------------------------------------------------------------------
  33. inline ESide GetOppositeSide(ESide iSide)
  34. {
  35. Assert( !iSide == (iSide == kLeft ? kRight : kLeft) );
  36. return (ESide)(!(int)iSide);
  37. }
  38. //------------------------------------------------------------------------------------------------------------------------
  39. #endif