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 #define STB_INCLUDE_IMPLEMENTATION
16 
17 #include "stb_herringbone_wang_tile.h"
18 #include "stb_image.h"
19 #include "stb_image_write.h"
20 #include "stb_perlin.h"
21 #include "stb_c_lexer.h"
22 #include "stb_divide.h"
23 #include "stb_image_resize.h"
24 #include "stb_rect_pack.h"
25 #include "stb_dxt.h"
26 #include "stb_include.h"
27 
28 #include "stb_ds.h"
29 
30 #define STBVOX_CONFIG_MODE 1
31 #include "stb_voxel_render.h"
32 
STBTE_DRAW_RECT(int x0,int y0,int x1,int y1,unsigned int color)33 void STBTE_DRAW_RECT(int x0, int y0, int x1, int y1, unsigned int color)
34 {
35 }
36 
STBTE_DRAW_TILE(int x0,int y0,unsigned short id,int highlight,float * data)37 void STBTE_DRAW_TILE(int x0, int y0, unsigned short id, int highlight, float *data)
38 {
39 }
40 
41 #define STB_TILEMAP_EDITOR_IMPLEMENTATION
42 //#include "stb_tilemap_editor.h"   // @TODO: it's broken
43 
quicktest(void)44 int quicktest(void)
45 {
46    char buffer[999];
47    stbsp_sprintf(buffer, "test%%test");
48    return 0;
49 }