Skip to content
Myr

test_c_compilation.c

This file

Path

tests/test_c_compilation.c

50 lines · 1.2 KiB · C

Last changed by

Merge branch 'master' into workingSean Barrettbefore adoption6e9f34d

History of this file

Take it

1#define STB_IMAGE_RESIZE_IMPLEMENTATION2#include "stb_image_resize2.h"34#define STB_SPRINTF_IMPLEMENTATION5#include "stb_sprintf.h"67#define STB_PERLIN_IMPLEMENTATION8#define STB_IMAGE_WRITE_IMPLEMENTATION9#define STB_C_LEXER_IMPLEMENTATIOn10#define STB_DIVIDE_IMPLEMENTATION11#define STB_IMAGE_IMPLEMENTATION12#define STB_HERRINGBONE_WANG_TILE_IMEPLEMENTATIOn13#define STB_RECT_PACK_IMPLEMENTATION14#define STB_VOXEL_RENDER_IMPLEMENTATION15#define STB_EASY_FONT_IMPLEMENTATION16#define STB_DXT_IMPLEMENTATION17#define STB_INCLUDE_IMPLEMENTATION1819#include "stb_herringbone_wang_tile.h"20#include "stb_image.h"21#include "stb_image_write.h"22#include "stb_perlin.h"23#include "stb_c_lexer.h"24#include "stb_divide.h"25#include "stb_rect_pack.h"26#include "stb_dxt.h"27#include "stb_include.h"2829#include "stb_ds.h"3031#define STBVOX_CONFIG_MODE 132#include "stb_voxel_render.h"3334void STBTE_DRAW_RECT(int x0, int y0, int x1, int y1, unsigned int color)35{36}3738void STBTE_DRAW_TILE(int x0, int y0, unsigned short id, int highlight, float *data)39{40}4142#define STB_TILEMAP_EDITOR_IMPLEMENTATION43//#include "stb_tilemap_editor.h"   // @TODO: it's broken4445int quicktest(void)46{47   char buffer[999];48   stbsp_sprintf(buffer, "test%%test");49   return 0;50}