Open Source Tomb Raider Engine
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

stb.cpp 504B

12345678910111213141516171819202122232425
  1. /*!
  2. * \file src/deps/stb/stb.cpp
  3. * \brief stb implementation
  4. *
  5. * \author xythobuz
  6. */
  7. #include "global.h"
  8. #define STB_IMAGE_IMPLEMENTATION
  9. #define STBI_ASSERT(x) orAssert(x)
  10. #define STBI_NO_SIMD
  11. #include "stb/stb_image.h"
  12. #define STB_IMAGE_WRITE_IMPLEMENTATION
  13. #include "stb/stb_image_write.h"
  14. #define STB_RECT_PACK_IMPLEMENTATION
  15. #define STBRP_ASSERT orAssert
  16. #include "stb/stb_rect_pack.h"
  17. #define STB_TRUETYPE_IMPLEMENTATION
  18. #define STBTT_assert(x) orAssert(x)
  19. #include "stb/stb_truetype.h"