2024-01-05 10:09:35 +01:00
|
|
|
|
|
|
|
|
2024-01-05 22:30:43 +01:00
|
|
|
{{FILEINLINE:tools/merger/sfw_readme.inl.h}}
|
2024-01-13 22:26:34 +01:00
|
|
|
{{FILEINLINE:tools/merger/sfw_linceses_core.inl.h}}
|
|
|
|
{{FILEINLINE:tools/merger/sfw_linceses_render_core.inl.h}}
|
2024-01-05 10:09:35 +01:00
|
|
|
|
2024-01-18 22:26:48 +01:00
|
|
|
// On OSX you need to compile this file separately with an objective c compiler
|
|
|
|
|
2024-01-19 00:04:37 +01:00
|
|
|
#ifndef ONLY_GLAD
|
|
|
|
|
2024-01-18 22:26:48 +01:00
|
|
|
#ifdef __APPLE__
|
2024-01-19 00:04:37 +01:00
|
|
|
#ifndef _APPLE_NO_IMPL_
|
|
|
|
|
2024-01-18 22:26:48 +01:00
|
|
|
#ifndef SFW_3RD_IMPL
|
|
|
|
#define SFW_3RD_IMPL
|
2024-01-19 00:04:37 +01:00
|
|
|
#endif //SFW_3RD_IMPL
|
|
|
|
|
|
|
|
#endif //_APPLE_NO_IMPL_
|
2024-01-18 22:26:48 +01:00
|
|
|
#endif //__APPLE__
|
|
|
|
|
2024-01-05 15:23:30 +01:00
|
|
|
#ifdef SFW_3RD_IMPL
|
2024-01-05 13:22:42 +01:00
|
|
|
#define GLAD_GL_IMPLEMENTATION // glad
|
2024-01-19 00:04:37 +01:00
|
|
|
#endif //SFW_3RD_IMPL
|
|
|
|
|
|
|
|
#endif //ONLY_GLAD
|
2024-01-05 10:09:35 +01:00
|
|
|
|
|
|
|
{{FILE:sfw/render_core/3rd_glad.h}}
|
|
|
|
|
2024-01-19 00:04:37 +01:00
|
|
|
#ifndef ONLY_GLAD
|
|
|
|
|
2024-01-05 15:23:30 +01:00
|
|
|
#ifdef SFW_3RD_IMPL
|
2024-01-05 10:09:35 +01:00
|
|
|
#define STB_TRUETYPE_IMPLEMENTATION
|
2024-09-14 21:38:18 +02:00
|
|
|
#define STB_RECT_PACK_IMPLEMENTATION
|
|
|
|
#define IMGUI_DISABLE_STB_RECT_PACK_IMPLEMENTATION
|
2024-01-19 00:04:37 +01:00
|
|
|
#endif //SFW_3RD_IMPL
|
2024-01-05 10:09:35 +01:00
|
|
|
|
2024-09-14 21:38:18 +02:00
|
|
|
{{FILE:sfw/render_gui/imstb_rectpack.h}}
|
|
|
|
|
2024-01-05 13:22:42 +01:00
|
|
|
{{FILE:sfw/render_core/3rd_stb_truetype.h}}
|
2024-01-05 10:09:35 +01:00
|
|
|
|
2024-01-19 00:04:37 +01:00
|
|
|
#ifdef SFW_3RD_IMPL
|
2024-01-05 10:09:35 +01:00
|
|
|
#define STB_IMAGE_IMPLEMENTATION // stbi
|
|
|
|
#define STB_IMAGE_WRITE_IMPLEMENTATION // stbi_write
|
|
|
|
#define STB_SPRINTF_IMPLEMENTATION // stb_sprintf
|
|
|
|
#define STB_SPRINTF_NOUNALIGNED // stb_sprintf
|
2024-01-19 00:04:37 +01:00
|
|
|
#endif //SFW_3RD_IMPL
|
2024-01-05 10:09:35 +01:00
|
|
|
|
|
|
|
{{FILE:sfw/render_core/3rd_stb_image.h}}
|
|
|
|
|
2024-01-13 21:42:17 +01:00
|
|
|
{{FILE:sfw/render_core/3rd_stb_image_write.h}}
|
|
|
|
|
2024-01-05 10:09:35 +01:00
|
|
|
//---
|
|
|
|
#undef freelist
|
|
|
|
|
2024-01-19 00:04:37 +01:00
|
|
|
#ifdef SFW_3RD_IMPL
|
|
|
|
|
2024-01-05 10:09:35 +01:00
|
|
|
#define _GLFW_IMPLEMENTATION // glfw337
|
|
|
|
#define GLFW_INCLUDE_NONE // glfw337
|
|
|
|
#ifdef __APPLE__
|
|
|
|
#define _GLFW_COCOA // glfw osx
|
|
|
|
#elif defined(_WIN32) || defined(_WIN64)
|
|
|
|
#define _GLFW_WIN32 // glfw win32
|
|
|
|
#else
|
|
|
|
#define _GLFW_X11 // glfw linux, also _GLFW_OSMESA or _GLFW_WAYLAND
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#undef _GNU_SOURCE
|
|
|
|
|
2024-01-19 00:04:37 +01:00
|
|
|
#endif //SFW_3RD_IMPL
|
|
|
|
|
2024-01-05 10:09:35 +01:00
|
|
|
{{FILE:sfw/render_core/3rd_glfw3.h}}
|
|
|
|
|
|
|
|
#undef timeGetTime
|
|
|
|
#undef Time
|
2024-01-05 15:23:30 +01:00
|
|
|
|
2024-01-19 01:41:39 +01:00
|
|
|
#endif //ONLY_GLAD
|
2024-01-19 00:04:37 +01:00
|
|
|
|