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.

46 lines
1.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef CBASE_H
  7. #define CBASE_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #ifdef _WIN32
  12. // Silence certain warnings
  13. #pragma warning(disable : 4244) // int or float down-conversion
  14. #pragma warning(disable : 4305) // int or float data truncation
  15. #pragma warning(disable : 4201) // nameless struct/union
  16. #pragma warning(disable : 4511) // copy constructor could not be generated
  17. #pragma warning(disable : 4675) // resolved overload was found by argument dependent lookup
  18. #pragma warning(disable : 4706) // assignment within conditional expression
  19. #endif
  20. #ifdef _DEBUG
  21. #define DEBUG 1
  22. #endif
  23. // Misc C-runtime library headers
  24. #include <math.h>
  25. #include <stdio.h>
  26. #include "minmax.h"
  27. // tier 0
  28. #include "tier0/dbg.h"
  29. #include "tier0/platform.h"
  30. #include "basetypes.h"
  31. // tier 1
  32. #include "tier1/strtools.h"
  33. #include "utlvector.h"
  34. #include "mathlib/vmatrix.h"
  35. #include "filesystem.h"
  36. #include "tier1/ConVar.h"
  37. #include "icvar.h"
  38. #endif // CBASE_H