diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /thirdparty/stb/tests/test_c_compilation.c | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'thirdparty/stb/tests/test_c_compilation.c')
| -rw-r--r-- | thirdparty/stb/tests/test_c_compilation.c | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/thirdparty/stb/tests/test_c_compilation.c b/thirdparty/stb/tests/test_c_compilation.c new file mode 100644 index 0000000..40bc5a4 --- /dev/null +++ b/thirdparty/stb/tests/test_c_compilation.c @@ -0,0 +1,41 @@ +#define STB_SPRINTF_IMPLEMENTATION +#include "stb_sprintf.h" + +#define STB_PERLIN_IMPLEMENTATION +#define STB_IMAGE_WRITE_IMPLEMENTATION +#define STB_C_LEXER_IMPLEMENTATIOn +#define STB_DIVIDE_IMPLEMENTATION +#define STB_IMAGE_IMPLEMENTATION +#define STB_HERRINGBONE_WANG_TILE_IMEPLEMENTATIOn +#define STB_IMAGE_RESIZE_IMPLEMENTATION +#define STB_RECT_PACK_IMPLEMENTATION +#define STB_VOXEL_RENDER_IMPLEMENTATION +#define STB_EASY_FONT_IMPLEMENTATION + +#include "stb_herringbone_wang_tile.h" +#include "stb_image.h" +#include "stb_image_write.h" +#include "stb_perlin.h" +#include "stb_c_lexer.h" +#include "stb_divide.h" +#include "stb_image_resize.h" +#include "stb_rect_pack.h" + +#define STB_DXT_IMPLEMENTATION +#include "stb_dxt.h" + +#define STBVOX_CONFIG_MODE 1 +#include "stb_voxel_render.h" + +#define STBTE_DRAW_RECT(x0,y0,x1,y1,color) 0 +#define STBTE_DRAW_TILE(x,y,id,highlight,data) 0 +#define STB_TILEMAP_EDITOR_IMPLEMENTATION +#include "stb_tilemap_editor.h" + + +int quicktest(void) +{ + char buffer[999]; + stbsp_sprintf(buffer, "test%%test"); + return 0; +}
\ No newline at end of file |