added stb, more binaryout changes"
[henge/apc.git] / stb / tests / test_c_compilation.c
1 #include "stb_sprintf.h"
2 #define STB_SPRINTF_IMPLEMENTATION
3 #include "stb_sprintf.h"
4
5 #define STB_PERLIN_IMPLEMENTATION
6 #define STB_IMAGE_WRITE_IMPLEMENTATION
7 #define STB_DXT_IMPLEMENATION
8 #define STB_C_LEXER_IMPLEMENTATIOn
9 #define STB_DIVIDE_IMPLEMENTATION
10 #define STB_IMAGE_IMPLEMENTATION
11 #define STB_HERRINGBONE_WANG_TILE_IMEPLEMENTATIOn
12 #define STB_IMAGE_RESIZE_IMPLEMENTATION
13 #define STB_RECT_PACK_IMPLEMENTATION
14 #define STB_VOXEL_RENDER_IMPLEMENTATION
15 #define STB_EASY_FONT_IMPLEMENTATION
16
17 #include "stb_easy_font.h"
18 #include "stb_herringbone_wang_tile.h"
19 #include "stb_image.h"
20 #include "stb_image_write.h"
21 #include "stb_perlin.h"
22 #include "stb_dxt.h"
23 #include "stb_c_lexer.h"
24 #include "stb_divide.h"
25 #include "stb_image_resize.h"
26 #include "stb_rect_pack.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
37 int quicktest(void)
38 {
39 char buffer[999];
40 stbsp_sprintf(buffer, "test%%test");
41 return 0;
42 }