diff --git a/README.md b/README.md index ca8d5bd4a4361bc35f9918d534907c285a56f7e1..5e2e637e365e79936b8991348c22e12dc2934fc9 100644 --- a/README.md +++ b/README.md @@ -3,26 +3,26 @@ stb single-file public domain libraries for C/C++ -library | lastest version | category | lines of code | description ---------------------- | ---- | -------- | ----------------------------- | -------------------------------- -**stb_vorbis.c** | 1.04 | audio | 5443 | decode ogg vorbis files from file/memory to float/16-bit signed output -**stb_image.h** | 2.03 | graphics | 6426 | image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC -**stb_truetype.h** | 1.03 | graphics | 2629 | parse, decode, and rasterize characters from truetype fonts -**stb_image_write.h** | 0.98 | graphics | 730 | image writing to disk: PNG, TGA, BMP -**stb_image_resize.h** | 0.90 | graphics | 2585 | resize images larger/smaller with good quality -**stb_rect_pack.h** | 0.05 | graphics | 546 | simple 2D rectangle packer with decent quality -**stretchy_buffer.h** | 1.01 | utility | 209 | typesafe dynamic array for C (i.e. approximation to vector<>), doesn't compile as C++ -**stb_textedit.h** | 1.5 | UI | 1284 | guts of a text editor for games etc implementing them from scratch -**stb_voxel_render.h** | 0.80 | 3D graphics | 3644 | Minecraft-esque voxel rendering "engine" with many more features -**stb_dxt.h** | 1.04 | 3D graphics | 624 | Fabian "ryg" Giesen's real-time DXT compressor -**stb_perlin.h** | 0.2 | 3D graphics | 175 | revised Perlin noise (3D input, 1D output) -**stb_easy_font.h** | 0.5 | 3D graphics | 220 | quick-and-dirty easy-to-deploy bitmap font for printing frame rate, etc -**stb_tilemap_editor.h** | 0.30 | game dev | 4097 | embeddable tilemap editor -**stb_herringbone_wa...** | 0.6 | game dev | 1217 | herringbone Wang tile map generator -**stb_c_lexer.h** | 0.06 | parsing | 809 | simplify writing parsers for C-like languages -**stb_divide.h** | 0.91 | math | 373 | more useful 32-bit modulus e.g. "euclidean divide" -**stb.h** | 2.24 | misc | 14086 | helper functions for C, mostly redundant in C++; basically author's personal stuff -**stb_leakcheck.h** | 0.1 | misc | 117 | quick-and-dirty malloc/free leak-checking +library | lastest version | category | LoC | description +--------------------- | ---- | -------- | --- | -------------------------------- +**stb_vorbis.c** | 1.04 | audio | 5443 | decode ogg vorbis files from file/memory to float/16-bit signed output +**stb_image.h** | 2.03 | graphics | 6426 | image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC +**stb_truetype.h** | 1.03 | graphics | 2629 | parse, decode, and rasterize characters from truetype fonts +**stb_image_write.h** | 0.98 | graphics | 730 | image writing to disk: PNG, TGA, BMP +**stb_image_resize.h** | 0.90 | graphics | 2585 | resize images larger/smaller with good quality +**stb_rect_pack.h** | 0.05 | graphics | 546 | simple 2D rectangle packer with decent quality +**stretchy_buffer.h** | 1.01 | utility | 209 | typesafe dynamic array for C (i.e. approximation to vector<>), doesn't compile as C++ +**stb_textedit.h** | 1.5 | UI | 1284 | guts of a text editor for games etc implementing them from scratch +**stb_voxel_render.h** | 0.80 | 3D graphics | 3644 | Minecraft-esque voxel rendering "engine" with many more features +**stb_dxt.h** | 1.04 | 3D graphics | 624 | Fabian "ryg" Giesen's real-time DXT compressor +**stb_perlin.h** | 0.2 | 3D graphics | 175 | revised Perlin noise (3D input, 1D output) +**stb_easy_font.h** | 0.5 | 3D graphics | 220 | quick-and-dirty easy-to-deploy bitmap font for printing frame rate, etc +**stb_tilemap_editor.h** | 0.30 | game dev | 4097 | embeddable tilemap editor +**stb_herringbone_wa...** | 0.6 | game dev | 1217 | herringbone Wang tile map generator +**stb_c_lexer.h** | 0.06 | parsing | 809 | simplify writing parsers for C-like languages +**stb_divide.h** | 0.91 | math | 373 | more useful 32-bit modulus e.g. "euclidean divide" +**stb.h** | 2.24 | misc | 14086 | helper functions for C, mostly redundant in C++; basically author's personal stuff +**stb_leakcheck.h** | 0.1 | misc | 117 | quick-and-dirty malloc/free leak-checking FAQ --- diff --git a/tools/README.header.md b/tools/README.header.md index a5a6fb79a26063fc702cc16a6440e21858a13a10..f30e63128d7d6e9c743aeaffd56db0e602393407 100644 --- a/tools/README.header.md +++ b/tools/README.header.md @@ -3,5 +3,5 @@ stb single-file public domain libraries for C/C++ -library | lastest version | category | lines of code | description ---------------------- | ---- | -------- | ----------------------------- | -------------------------------- +library | lastest version | category | LoC | description +--------------------- | ---- | -------- | --- | -------------------------------- diff --git a/tools/make_readme.c b/tools/make_readme.c index 2fa593f4ad50bf5c65f59e2888babcc615940a24..eb949a69d0abc337089079306a4fe1ce5bd623ba 100644 --- a/tools/make_readme.c +++ b/tools/make_readme.c @@ -41,7 +41,7 @@ int main(int argc, char **argv) s2 = stb_dupreplace(s1, " ", " "); // stb_dupreplace -- search & replace string and malloc result fprintf(f, " | %s", s2); free(s2); - fprintf(f, " | %d", num_lines); + fprintf(f, " | %d", num_lines); for (j=2; j < num; ++j) fprintf(f, " | %s", tokens[j]); fprintf(f, "\n"); diff --git a/tools/make_readme.dsp b/tools/make_readme.dsp index e5969ae0452aa2bd32f054211f8eec7d68c6cbb0..232dd86944c687c46a8d9d79db8d02c6c8fa1c7a 100644 --- a/tools/make_readme.dsp +++ b/tools/make_readme.dsp @@ -87,6 +87,10 @@ SOURCE=.\make_readme.c # End Source File # Begin Source File +SOURCE=.\README.header.md +# End Source File +# Begin Source File + SOURCE=.\README.list # End Source File # End Target