From 45a1b2dfb367b20657e7a5eb0a505a9a4eaee089 Mon Sep 17 00:00:00 2001 From: John Alanbrook Date: Tue, 19 Sep 2023 13:36:39 +0000 Subject: [PATCH] Add config.c for all implementations of headers --- source/engine/config.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 source/engine/config.c diff --git a/source/engine/config.c b/source/engine/config.c new file mode 100644 index 0000000..900cfcd --- /dev/null +++ b/source/engine/config.c @@ -0,0 +1,38 @@ +#include "render.h" +#include "nuke.h" + +#define SOKOL_TRACE_HOOKS +#define SOKOL_IMPL +#include "sokol/sokol_glue.h" +#include "sokol/sokol_audio.h" +#include "sokol/sokol_time.h" +#include "sokol/sokol_args.h" +#include "sokol/sokol_gfx.h" +#include "sokol/sokol_app.h" +#include "sokol/sokol_gfx_ext.h" + +#define MSF_GIF_IMPL +#include "msf_gif.h" + +#define STB_DS_IMPLEMENTATION +#include + +#define STB_TRUETYPE_IMPLEMENTATION +#define STB_TRUETYPE_NO_STDIO +#include + +#define STB_IMAGE_IMPLEMENTATION +#define STBI_FAILURE_USERMSG +#define STBI_NO_STDIO +#ifdef __TINYC__ +#define STBI_NO_SIMD +#endif +#include "stb_image.h" + +#define STB_IMAGE_WRITE_IMPLEMENTATION +#define STBIR_DEFAULT_FILTER_DOWNSAMPLE STBIR_FILTER_BOX +#include "stb_image_write.h" + +#define PL_MPEG_IMPLEMENTATION +#include +