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

The walk stopped after 200 commits: lines older than aeec66c point at it.

Merge branch 'master' into workingSean Barrettbefore adoption6e9f34d

lines 1–3why, one step back
1#define STB_IMAGE_RESIZE_IMPLEMENTATION
2#include "stb_image_resize2.h"3

Merge branch 'randlong' of https://github.com/flibitijibibo/stb into workingSean Barrettbefore adoptionaeec66c

lines 4–15why, one step back
4#define STB_SPRINTF_IMPLEMENTATION
5#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_IMPLEMENTATION

update tests and project files for stb_dsSean Barrettbefore adoptione704ed0

line 16why, one step back
16#define STB_DXT_IMPLEMENTATION

test stb_include.hSean Barrettbefore adoption50dc480

line 17why, one step back
17#define STB_INCLUDE_IMPLEMENTATION

Merge branch 'randlong' of https://github.com/flibitijibibo/stb into workingSean Barrettbefore adoptionaeec66c

lines 18–26why, one step back
18
19#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"

test stb_include.hSean Barrettbefore adoption50dc480

line 27why, one step back
27#include "stb_include.h"

update tests and project files for stb_dsSean Barrettbefore adoptione704ed0

lines 28–29why, one step back
28
29#include "stb_ds.h"

Merge branch 'randlong' of https://github.com/flibitijibibo/stb into workingSean Barrettbefore adoptionaeec66c

lines 30–33why, one step back
30
31#define STBVOX_CONFIG_MODE 132#include "stb_voxel_render.h"33

various tests and infrastructure fixesSean Barrettbefore adoption4a7a434

lines 34–41why, one step back
34void 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}41

Merge branch 'randlong' of https://github.com/flibitijibibo/stb into workingSean Barrettbefore adoptionaeec66c

line 42why, one step back
42#define STB_TILEMAP_EDITOR_IMPLEMENTATION

disable broken tilemap editor buildSean Barrettbefore adoption57de42c

line 43why, one step back
43//#include "stb_tilemap_editor.h" // @TODO: it's broken

Merge branch 'randlong' of https://github.com/flibitijibibo/stb into workingSean Barrettbefore adoptionaeec66c

lines 44–50why, one step back
44
45int quicktest(void)46{47 char buffer[999];48 stbsp_sprintf(buffer, "test%%test");49 return 0;50}