BsTypes.h 818 B

12345678910111213141516171819202122232425262728
  1. //__________________________ Banshee Project - A modern game development toolkit _________________________________//
  2. //_____________________________________ www.banshee-project.com __________________________________________________//
  3. //________________________ Copyright (c) 2014 Marko Pintera. All rights reserved. ________________________________//
  4. #pragma once
  5. #include "BsPlatformDefines.h"
  6. /**
  7. * @brief Commonly used types.
  8. */
  9. namespace BansheeEngine
  10. {
  11. typedef char INT8;
  12. typedef unsigned char UINT8;
  13. typedef short INT16;
  14. typedef unsigned short UINT16;
  15. typedef int INT32;
  16. typedef unsigned int UINT32;
  17. typedef unsigned short WCHAR;
  18. #if BS_COMPILER == BS_COMPILER_MSVC
  19. typedef unsigned __int64 UINT64;
  20. typedef __int64 INT64;
  21. #else
  22. typedef unsigned long long UINT64;
  23. typedef long long INT64;
  24. #endif
  25. }