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.

41 lines
1008 B

  1. //====== Copyright � 1996-2005, Valve Corporation, All rights reserved. =======
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef ENV_DEBUGHISTORY_H
  7. #define ENV_DEBUGHISTORY_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. enum debughistorycategories_t
  12. {
  13. HISTORY_ENTITY_IO,
  14. HISTORY_AI_DECISIONS,
  15. HISTORY_SCENE_PRINT,
  16. HISTORY_ALYX_BLIND, // TEMP: until we find and fix this bug
  17. HISTORY_PLAYER_DAMAGE, // record all damage done to the player
  18. // Add new categories here
  19. MAX_HISTORY_CATEGORIES,
  20. };
  21. #if 0//!( defined(_X360) || defined(_PS3) )
  22. #undef DISABLE_DEBUG_HISTORY
  23. #elif !defined(DISABLE_DEBUG_HISTORY)
  24. #define DISABLE_DEBUG_HISTORY
  25. #endif
  26. #if defined(DISABLE_DEBUG_HISTORY)
  27. #define ADD_DEBUG_HISTORY( category, line ) ((void)0)
  28. #else
  29. #define ADD_DEBUG_HISTORY( category, line ) AddDebugHistoryLine( category, line )
  30. void AddDebugHistoryLine( int iCategory, const char *pszLine );
  31. #endif
  32. void ClearDebugHistory();
  33. #endif // ENV_DEBUGHISTORY_H