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.

73 lines
1.6 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef CBASE_H
  8. #define CBASE_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. struct studiohdr_t;
  13. #include <stdio.h>
  14. #include <stdlib.h>
  15. #include "tier0/platform.h"
  16. #include "tier0/dbg.h"
  17. #include "vprof.h"
  18. #include "tier1/strtools.h"
  19. #include "vstdlib/random.h"
  20. #include "tier1/utlvector.h"
  21. #include "const.h"
  22. #include "string_t.h"
  23. // Steam uses C-runtime calls in headers, need to remap
  24. #ifdef strncpy
  25. #undef strncpy
  26. #define strncpy Q_strncpy
  27. #endif
  28. #ifdef _snprintf
  29. #undef _snprintf
  30. #define _snprintf Q_snprintf
  31. #endif
  32. // These two have to be included very early
  33. #include "predictableid.h"
  34. #include "predictable_entity.h"
  35. #include "cdll_util.h"
  36. #include "util_shared.h"
  37. #include "icvar.h"
  38. #include "sharedvar.h"
  39. #include "baseentity_shared.h"
  40. // This is a precompiled header. Include a bunch of common stuff.
  41. // This is kind of ugly in that it adds a bunch of dependency where it isn't needed.
  42. // But on balance, the compile time is much lower (even incrementally) once the precompiled
  43. // headers contain these headers.
  44. #include "precache_register.h"
  45. #include "c_basecombatweapon.h"
  46. #include "c_basecombatcharacter.h"
  47. #include "gamerules.h"
  48. #include "c_baseplayer.h"
  49. #include "itempents.h"
  50. #include "vphysics_interface.h"
  51. //#include "vphysics2_interface.h"
  52. #include "physics.h"
  53. #include "c_recipientfilter.h"
  54. #include "cdll_client_int.h"
  55. #include "worldsize.h"
  56. #include "engine/ivmodelinfo.h"
  57. #include "npcevent.h"
  58. #include "debugoverlay_shared.h"
  59. #endif // CBASE_H