test_c_compilation.c 914 B

123456789101112131415161718192021222324252627282930
  1. #define STB_PERLIN_IMPLEMENTATION
  2. #define STB_IMAGE_WRITE_IMPLEMENTATION
  3. #define STB_DXT_IMPLEMENATION
  4. #define STB_C_LEXER_IMPLEMENTATIOn
  5. #define STB_DIVIDE_IMPLEMENTATION
  6. #define STB_IMAGE_IMPLEMENTATION
  7. #define STB_HERRINGBONE_WANG_TILE_IMEPLEMENTATIOn
  8. #define STB_IMAGE_RESIZE_IMPLEMENTATION
  9. #define STB_RECT_PACK_IMPLEMENTATION
  10. #define STB_VOXEL_RENDER_IMPLEMENTATION
  11. #define STB_EASY_FONT_IMPLEMENTATION
  12. #include "stb_easy_font.h"
  13. #include "stb_herringbone_wang_tile.h"
  14. #include "stb_image.h"
  15. #include "stb_image_write.h"
  16. #include "stb_perlin.h"
  17. #include "stb_dxt.h"
  18. #include "stb_c_lexer.h"
  19. #include "stb_divide.h"
  20. #include "stb_image_resize.h"
  21. #include "stb_rect_pack.h"
  22. #define STBVOX_CONFIG_MODE 1
  23. #include "stb_voxel_render.h"
  24. #define STBTE_DRAW_RECT(x0,y0,x1,y1,color) 0
  25. #define STBTE_DRAW_TILE(x,y,id,highlight,data) 0
  26. #define STB_TILEMAP_EDITOR_IMPLEMENTATION
  27. #include "stb_tilemap_editor.h"