1 #define STB_SPRINTF_IMPLEMENTATION 2 #include "stb_sprintf.h" 3 4 #define STB_PERLIN_IMPLEMENTATION 5 #define STB_IMAGE_WRITE_IMPLEMENTATION 6 #define STB_C_LEXER_IMPLEMENTATIOn 7 #define STB_DIVIDE_IMPLEMENTATION 8 #define STB_IMAGE_IMPLEMENTATION 9 #define STB_HERRINGBONE_WANG_TILE_IMEPLEMENTATIOn 10 #define STB_IMAGE_RESIZE_IMPLEMENTATION 11 #define STB_RECT_PACK_IMPLEMENTATION 12 #define STB_VOXEL_RENDER_IMPLEMENTATION 13 #define STB_EASY_FONT_IMPLEMENTATION 14 #define STB_DXT_IMPLEMENTATION 15 16 #include "stb_herringbone_wang_tile.h" 17 #include "stb_image.h" 18 #include "stb_image_write.h" 19 #include "stb_perlin.h" 20 #include "stb_c_lexer.h" 21 #include "stb_divide.h" 22 #include "stb_image_resize.h" 23 #include "stb_rect_pack.h" 24 #include "stb_dxt.h" 25 26 #include "stb_ds.h" 27 28 #define STBVOX_CONFIG_MODE 1 29 #include "stb_voxel_render.h" 30 31 #define STBTE_DRAW_RECT(x0,y0,x1,y1,color) 0 32 #define STBTE_DRAW_TILE(x,y,id,highlight,data) 0 33 #define STB_TILEMAP_EDITOR_IMPLEMENTATION 34 #include "stb_tilemap_editor.h" 35 36 quicktest(void)37int quicktest(void) 38 { 39 char buffer[999]; 40 stbsp_sprintf(buffer, "test%%test"); 41 return 0; 42 }