Core.h 690 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include <string>
  3. #include <irrlicht/irrlicht.h>
  4. #include <nlohmann/json.hpp>
  5. namespace WallpaperEngine::Core
  6. {
  7. irr::core::vector3df ato3vf (const char *str);
  8. irr::core::vector2df ato2vf (const char *str);
  9. irr::core::vector3df ato3vf (const std::string& str);
  10. irr::core::vector2df ato2vf (const std::string& str);
  11. irr::video::SColorf atoSColorf (const char *str);
  12. irr::video::SColorf atoSColorf (const std::string& str);
  13. irr::video::SColor atoSColor (const char *str);
  14. irr::video::SColor atoSColor (const std::string& str);
  15. nlohmann::json::iterator jsonFindRequired (nlohmann::json& data, const char *key, const char *notFoundMsg);
  16. };