Emscripten fixes

This commit is contained in:
Yousef Khadadeh 2026-05-14 14:39:34 +03:00
parent ad1844adc7
commit c083ccc1a9
9 changed files with 60 additions and 18 deletions

View file

@ -45,3 +45,5 @@ NLOHMANN_JSON_SERIALIZE_ENUM(WorldScreenshotInfo::ScreenshotType, {
})
void world_take_screenshot(const std::shared_ptr<World>& w, const WorldScreenshotInfo& info);
std::string world_screenshot_info_get_extension_from_type(WorldScreenshotInfo::ScreenshotType t);
std::string world_screenshot_info_get_mime_from_type(WorldScreenshotInfo::ScreenshotType t);