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.

56 lines
1.2 KiB

  1. // stdafx.h : include file for standard system include files,
  2. // or project specific include files that are used frequently,
  3. // but are changed infrequently
  4. #pragma once
  5. // temporarily make unicode go away as we deal with Valve types
  6. #ifdef _UNICODE
  7. #define PUT_UNICODE_BACK
  8. #undef _UNICODE
  9. #endif
  10. #if _MANAGED
  11. #pragma unmanaged
  12. #undef FASTCALL
  13. #define FASTCALL
  14. #endif
  15. #include "platform.h"
  16. #include "wchartypes.h"
  17. #include <ctype.h>
  18. struct datamap_t;
  19. template <typename T> datamap_t *DataMapInit(T *);
  20. #include "responserules/response_types.h"
  21. #include "../../responserules/runtime/response_types_internal.h"
  22. #include "response_system.h"
  23. #ifdef PUT_UNICODE_BACK
  24. #define _UNICODE
  25. #undef PUT_UNICODE_BACK
  26. #endif
  27. #if _MANAGED
  28. /// implicitly converts a unicode CLR String^
  29. /// to a C string. The pointer returned should
  30. /// not be stored; it is valid only so long as
  31. /// this class exists.
  32. using namespace System;
  33. class StrToAnsi
  34. {
  35. public:
  36. StrToAnsi( String ^unicodestr );
  37. ~StrToAnsi( );
  38. operator TCHAR *() const;
  39. private:
  40. TCHAR *m_pStr;
  41. };
  42. #pragma managed
  43. #undef FASTCALL
  44. #define FASTCALL __fastcall
  45. #include "cli_appsystem_thunk.h"
  46. #include "responserules_cli.h"
  47. #endif