mirror of https://github.com/nothings/stb.git
Update version numbers
This commit is contained in:
parent
0fbbda56fa
commit
555efbedfc
20
README.md
20
README.md
|
@ -11,17 +11,17 @@ by Jorge L. "VinoBS" Rodriguez, and stb_sprintf by Jeff Roberts.
|
||||||
|
|
||||||
library | lastest version | category | LoC | description
|
library | lastest version | category | LoC | description
|
||||||
--------------------- | ---- | -------- | --- | --------------------------------
|
--------------------- | ---- | -------- | --- | --------------------------------
|
||||||
**[stb_vorbis.c](stb_vorbis.c)** | 1.10 | audio | 5447 | decode ogg vorbis files from file/memory to float/16-bit signed output
|
**[stb_vorbis.c](stb_vorbis.c)** | 1.11 | audio | 5448 | decode ogg vorbis files from file/memory to float/16-bit signed output
|
||||||
**[stb_image.h](stb_image.h)** | 2.15 | graphics | 7177 | image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC
|
**[stb_image.h](stb_image.h)** | 2.16 | graphics | 7187 | image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC
|
||||||
**[stb_truetype.h](stb_truetype.h)** | 1.15 | graphics | 4061 | parse, decode, and rasterize characters from truetype fonts
|
**[stb_truetype.h](stb_truetype.h)** | 1.17 | graphics | 4566 | parse, decode, and rasterize characters from truetype fonts
|
||||||
**[stb_image_write.h](stb_image_write.h)** | 1.05 | graphics | 1092 | image writing to disk: PNG, TGA, BMP
|
**[stb_image_write.h](stb_image_write.h)** | 1.06 | graphics | 1456 | image writing to disk: PNG, TGA, BMP
|
||||||
**[stb_image_resize.h](stb_image_resize.h)** | 0.94 | graphics | 2624 | resize images larger/smaller with good quality
|
**[stb_image_resize.h](stb_image_resize.h)** | 0.95 | graphics | 2627 | resize images larger/smaller with good quality
|
||||||
**[stb_rect_pack.h](stb_rect_pack.h)** | 0.11 | graphics | 635 | simple 2D rectangle packer with decent quality
|
**[stb_rect_pack.h](stb_rect_pack.h)** | 0.11 | graphics | 624 | simple 2D rectangle packer with decent quality
|
||||||
**[stb_sprintf.h](stb_sprintf.h)** | 1.02 | utility | 1202 | fast sprintf, snprintf for C/C++
|
**[stb_sprintf.h](stb_sprintf.h)** | 1.03 | utility | 1812 | fast sprintf, snprintf for C/C++
|
||||||
**[stretchy_buffer.h](stretchy_buffer.h)** | 1.02 | utility | 257 | typesafe dynamic array for C (i.e. approximation to vector<>), doesn't compile as C++
|
**[stretchy_buffer.h](stretchy_buffer.h)** | 1.02 | utility | 257 | typesafe dynamic array for C (i.e. approximation to vector<>), doesn't compile as C++
|
||||||
**[stb_textedit.h](stb_textedit.h)** | 1.11 | user interface | 1393 | guts of a text editor for games etc implementing them from scratch
|
**[stb_textedit.h](stb_textedit.h)** | 1.11 | user interface | 1393 | guts of a text editor for games etc implementing them from scratch
|
||||||
**[stb_voxel_render.h](stb_voxel_render.h)** | 0.85 | 3D graphics | 3803 | Minecraft-esque voxel rendering "engine" with many more features
|
**[stb_voxel_render.h](stb_voxel_render.h)** | 0.85 | 3D graphics | 3803 | Minecraft-esque voxel rendering "engine" with many more features
|
||||||
**[stb_dxt.h](stb_dxt.h)** | 1.06 | 3D graphics | 687 | Fabian "ryg" Giesen's real-time DXT compressor
|
**[stb_dxt.h](stb_dxt.h)** | 1.07 | 3D graphics | 719 | Fabian "ryg" Giesen's real-time DXT compressor
|
||||||
**[stb_perlin.h](stb_perlin.h)** | 0.3 | 3D graphics | 316 | revised Perlin noise (3D input, 1D output)
|
**[stb_perlin.h](stb_perlin.h)** | 0.3 | 3D graphics | 316 | revised Perlin noise (3D input, 1D output)
|
||||||
**[stb_easy_font.h](stb_easy_font.h)** | 1.0 | 3D graphics | 303 | quick-and-dirty easy-to-deploy bitmap font for printing frame rate, etc
|
**[stb_easy_font.h](stb_easy_font.h)** | 1.0 | 3D graphics | 303 | quick-and-dirty easy-to-deploy bitmap font for printing frame rate, etc
|
||||||
**[stb_tilemap_editor.h](stb_tilemap_editor.h)** | 0.38 | game dev | 4172 | embeddable tilemap editor
|
**[stb_tilemap_editor.h](stb_tilemap_editor.h)** | 0.38 | game dev | 4172 | embeddable tilemap editor
|
||||||
|
@ -30,10 +30,10 @@ library | lastest version | category | LoC | description
|
||||||
**[stb_divide.h](stb_divide.h)** | 0.91 | math | 419 | more useful 32-bit modulus e.g. "euclidean divide"
|
**[stb_divide.h](stb_divide.h)** | 0.91 | math | 419 | more useful 32-bit modulus e.g. "euclidean divide"
|
||||||
**[stb_connected_comp...](stb_connected_components.h)** | 0.95 | misc | 1045 | incrementally compute reachability on grids
|
**[stb_connected_comp...](stb_connected_components.h)** | 0.95 | misc | 1045 | incrementally compute reachability on grids
|
||||||
**[stb.h](stb.h)** | 2.29 | misc | 14324 | helper functions for C, mostly redundant in C++; basically author's personal stuff
|
**[stb.h](stb.h)** | 2.29 | misc | 14324 | helper functions for C, mostly redundant in C++; basically author's personal stuff
|
||||||
**[stb_leakcheck.h](stb_leakcheck.h)** | 0.3 | misc | 165 | quick-and-dirty malloc/free leak-checking
|
**[stb_leakcheck.h](stb_leakcheck.h)** | 0.4 | misc | 186 | quick-and-dirty malloc/free leak-checking
|
||||||
|
|
||||||
Total libraries: 20
|
Total libraries: 20
|
||||||
Total lines of C code: 51304
|
Total lines of C code: 52839
|
||||||
|
|
||||||
|
|
||||||
FAQ
|
FAQ
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// stb_dxt.h - v1.06 - DXT1/DXT5 compressor - public domain
|
// stb_dxt.h - v1.07 - DXT1/DXT5 compressor - public domain
|
||||||
// original by fabian "ryg" giesen - ported to C by stb
|
// original by fabian "ryg" giesen - ported to C by stb
|
||||||
// use '#define STB_DXT_IMPLEMENTATION' before including to create the implementation
|
// use '#define STB_DXT_IMPLEMENTATION' before including to create the implementation
|
||||||
//
|
//
|
||||||
|
@ -9,6 +9,7 @@
|
||||||
// and "high quality" using mode.
|
// and "high quality" using mode.
|
||||||
//
|
//
|
||||||
// version history:
|
// version history:
|
||||||
|
// v1.07 - bc4; allow not using libc; add STB_DXT_STATIC
|
||||||
// v1.06 - (stb) fix to known-broken 1.05
|
// v1.06 - (stb) fix to known-broken 1.05
|
||||||
// v1.05 - (stb) support bc5/3dc (Arvids Kokins), use extern "C" in C++ (Pavel Krajcevski)
|
// v1.05 - (stb) support bc5/3dc (Arvids Kokins), use extern "C" in C++ (Pavel Krajcevski)
|
||||||
// v1.04 - (ryg) default to no rounding bias for lerped colors (as per S3TC/DX10 spec);
|
// v1.04 - (ryg) default to no rounding bias for lerped colors (as per S3TC/DX10 spec);
|
||||||
|
|
16
stb_image.h
16
stb_image.h
|
@ -1,4 +1,4 @@
|
||||||
/* stb_image - v2.15 - public domain image loader - http://nothings.org/stb_image.h
|
/* stb_image - v2.16 - public domain image loader - http://nothings.org/stb_image.h
|
||||||
no warranty implied; use at your own risk
|
no warranty implied; use at your own risk
|
||||||
|
|
||||||
Do this:
|
Do this:
|
||||||
|
@ -48,6 +48,7 @@ LICENSE
|
||||||
|
|
||||||
RECENT REVISION HISTORY:
|
RECENT REVISION HISTORY:
|
||||||
|
|
||||||
|
2.16 (2017-07-23) all functions have 16-bit variants; optimizations; bugfixes
|
||||||
2.15 (2017-03-18) fix png-1,2,4; all Imagenet JPGs; no runtime SSE detection on GCC
|
2.15 (2017-03-18) fix png-1,2,4; all Imagenet JPGs; no runtime SSE detection on GCC
|
||||||
2.14 (2017-03-03) remove deprecated STBI_JPEG_OLD; fixes for Imagenet JPGs
|
2.14 (2017-03-03) remove deprecated STBI_JPEG_OLD; fixes for Imagenet JPGs
|
||||||
2.13 (2016-12-04) experimental 16-bit API, only for PNG so far; fixes
|
2.13 (2016-12-04) experimental 16-bit API, only for PNG so far; fixes
|
||||||
|
@ -58,10 +59,6 @@ RECENT REVISION HISTORY:
|
||||||
correct channel count for PNG & BMP
|
correct channel count for PNG & BMP
|
||||||
2.10 (2016-01-22) avoid warning introduced in 2.09
|
2.10 (2016-01-22) avoid warning introduced in 2.09
|
||||||
2.09 (2016-01-16) 16-bit TGA; comments in PNM files; STBI_REALLOC_SIZED
|
2.09 (2016-01-16) 16-bit TGA; comments in PNM files; STBI_REALLOC_SIZED
|
||||||
2.08 (2015-09-13) fix to 2.07 cleanup, reading RGB PSD as RGBA
|
|
||||||
2.07 (2015-09-13) partial animated GIF support
|
|
||||||
limited 16-bit PSD support
|
|
||||||
minor bugs, code cleanup, and compiler warnings
|
|
||||||
|
|
||||||
See end of file for full revision history.
|
See end of file for full revision history.
|
||||||
|
|
||||||
|
@ -99,7 +96,7 @@ RECENT REVISION HISTORY:
|
||||||
Michaelangel007@github Philipp Wiesemann Dale Weiler github:grim210
|
Michaelangel007@github Philipp Wiesemann Dale Weiler github:grim210
|
||||||
Oriol Ferrer Mesia Josh Tobin Matthew Gregan github:sammyhw
|
Oriol Ferrer Mesia Josh Tobin Matthew Gregan github:sammyhw
|
||||||
Blazej Dariusz Roszkowski Gregory Mullen github:phprus
|
Blazej Dariusz Roszkowski Gregory Mullen github:phprus
|
||||||
Christian Floisand Kevin Schmidt github:poppolopoppo
|
Christian Floisand Kevin Schmidt github:poppolopoppo
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef STBI_INCLUDE_STB_IMAGE_H
|
#ifndef STBI_INCLUDE_STB_IMAGE_H
|
||||||
|
@ -6972,6 +6969,13 @@ STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int
|
||||||
|
|
||||||
/*
|
/*
|
||||||
revision history:
|
revision history:
|
||||||
|
2.16 (2017-07-23) all functions have 16-bit variants;
|
||||||
|
STBI_NO_STDIO works again;
|
||||||
|
compilation fixes;
|
||||||
|
fix rounding in unpremultiply;
|
||||||
|
optimize vertical flip;
|
||||||
|
disable raw_len validation;
|
||||||
|
documentation fixes
|
||||||
2.15 (2017-03-18) fix png-1,2,4 bug; now all Imagenet JPGs decode;
|
2.15 (2017-03-18) fix png-1,2,4 bug; now all Imagenet JPGs decode;
|
||||||
warning fixes; disable run-time SSE detection on gcc;
|
warning fixes; disable run-time SSE detection on gcc;
|
||||||
uniform handling of optional "return" values;
|
uniform handling of optional "return" values;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* stb_image_resize - v0.94 - public domain image resizing
|
/* stb_image_resize - v0.95 - public domain image resizing
|
||||||
by Jorge L Rodriguez (@VinoBS) - 2014
|
by Jorge L Rodriguez (@VinoBS) - 2014
|
||||||
http://github.com/nothings/stb
|
http://github.com/nothings/stb
|
||||||
|
|
||||||
|
@ -159,6 +159,7 @@
|
||||||
Nathan Reed: warning fixes
|
Nathan Reed: warning fixes
|
||||||
|
|
||||||
REVISIONS
|
REVISIONS
|
||||||
|
0.95 (2017-07-23) fixed warnings
|
||||||
0.94 (2017-03-18) fixed warnings
|
0.94 (2017-03-18) fixed warnings
|
||||||
0.93 (2017-03-03) fixed bug with certain combinations of heights
|
0.93 (2017-03-03) fixed bug with certain combinations of heights
|
||||||
0.92 (2017-01-02) fix integer overflow on large (>2GB) images
|
0.92 (2017-01-02) fix integer overflow on large (>2GB) images
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* stb_image_write - v1.05 - public domain - http://nothings.org/stb/stb_image_write.h
|
/* stb_image_write - v1.06 - public domain - http://nothings.org/stb/stb_image_write.h
|
||||||
writes out PNG/BMP/TGA/JPEG/HDR images to C stdio - Sean Barrett 2010-2015
|
writes out PNG/BMP/TGA/JPEG/HDR images to C stdio - Sean Barrett 2010-2015
|
||||||
no warranty implied; use at your own risk
|
no warranty implied; use at your own risk
|
||||||
|
|
||||||
|
@ -1377,6 +1377,9 @@ STBIWDEF int stbi_write_jpg(char const *filename, int x, int y, int comp, const
|
||||||
#endif // STB_IMAGE_WRITE_IMPLEMENTATION
|
#endif // STB_IMAGE_WRITE_IMPLEMENTATION
|
||||||
|
|
||||||
/* Revision history
|
/* Revision history
|
||||||
|
1.06 (2017-07-23)
|
||||||
|
writing JPEG (using Jon Olick's code)
|
||||||
|
1.05 ???
|
||||||
1.04 (2017-03-03)
|
1.04 (2017-03-03)
|
||||||
monochrome BMP expansion
|
monochrome BMP expansion
|
||||||
1.03 ???
|
1.03 ???
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// stb_leakcheck.h - v0.3 - quick & dirty malloc leak-checking - public domain
|
// stb_leakcheck.h - v0.4 - quick & dirty malloc leak-checking - public domain
|
||||||
// LICENSE
|
// LICENSE
|
||||||
//
|
//
|
||||||
// See end of file.
|
// See end of file.
|
||||||
|
@ -135,8 +135,8 @@ void stb_leakcheck_dumpmem(void)
|
||||||
#define free(p) stb_leakcheck_free(p)
|
#define free(p) stb_leakcheck_free(p)
|
||||||
#define realloc(p,sz) stb_leakcheck_realloc(p,sz, __FILE__, __LINE__)
|
#define realloc(p,sz) stb_leakcheck_realloc(p,sz, __FILE__, __LINE__)
|
||||||
|
|
||||||
extern void * stb_leakcheck_malloc(size_t sz, char *file, int line);
|
extern void * stb_leakcheck_malloc(size_t sz, const char *file, int line);
|
||||||
extern void * stb_leakcheck_realloc(void *ptr, size_t sz, char *file, int line);
|
extern void * stb_leakcheck_realloc(void *ptr, size_t sz, const char *file, int line);
|
||||||
extern void stb_leakcheck_free(void *ptr);
|
extern void stb_leakcheck_free(void *ptr);
|
||||||
extern void stb_leakcheck_dumpmem(void);
|
extern void stb_leakcheck_dumpmem(void);
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,13 @@
|
||||||
// stb_sprintf - v1.02 - public domain snprintf() implementation
|
// stb_sprintf - v1.03 - public domain snprintf() implementation
|
||||||
// originally by Jeff Roberts / RAD Game Tools, 2015/10/20
|
// originally by Jeff Roberts / RAD Game Tools, 2015/10/20
|
||||||
// http://github.com/nothings/stb
|
// http://github.com/nothings/stb
|
||||||
//
|
//
|
||||||
// allowed types: sc uidBboXx p AaGgEef n
|
// allowed types: sc uidBboXx p AaGgEef n
|
||||||
// lengths : h ll j z t I64 I32 I
|
// lengths : h ll j z t I64 I32 I
|
||||||
//
|
//
|
||||||
|
// Contributors:
|
||||||
|
// Fabian "ryg" Giesen (reformatting)
|
||||||
|
//
|
||||||
// Contributors (bugfixes):
|
// Contributors (bugfixes):
|
||||||
// github:d26435
|
// github:d26435
|
||||||
// github:trex78
|
// github:trex78
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// stb_truetype.h - v1.16 - public domain
|
// stb_truetype.h - v1.17 - public domain
|
||||||
// authored from 2009-2016 by Sean Barrett / RAD Game Tools
|
// authored from 2009-2016 by Sean Barrett / RAD Game Tools
|
||||||
//
|
//
|
||||||
// This library processes TrueType files:
|
// This library processes TrueType files:
|
||||||
|
@ -57,6 +57,7 @@
|
||||||
//
|
//
|
||||||
// VERSION HISTORY
|
// VERSION HISTORY
|
||||||
//
|
//
|
||||||
|
// 1.17 (2017-07-23) make more arguments const; doc fix
|
||||||
// 1.16 (2017-07-12) SDF support
|
// 1.16 (2017-07-12) SDF support
|
||||||
// 1.15 (2017-03-03) make more arguments const
|
// 1.15 (2017-03-03) make more arguments const
|
||||||
// 1.14 (2017-01-16) num-fonts-in-TTC function
|
// 1.14 (2017-01-16) num-fonts-in-TTC function
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Ogg Vorbis audio decoder - v1.10 - public domain
|
// Ogg Vorbis audio decoder - v1.11 - public domain
|
||||||
// http://nothings.org/stb_vorbis/
|
// http://nothings.org/stb_vorbis/
|
||||||
//
|
//
|
||||||
// Original version written by Sean Barrett in 2007.
|
// Original version written by Sean Barrett in 2007.
|
||||||
|
@ -32,6 +32,7 @@
|
||||||
// manxorist@github saga musix
|
// manxorist@github saga musix
|
||||||
//
|
//
|
||||||
// Partial history:
|
// Partial history:
|
||||||
|
// 1.11 - 2017/07/23 - fix MinGW compilation
|
||||||
// 1.10 - 2017/03/03 - more robust seeking; fix negative ilog(); clear error in open_memory
|
// 1.10 - 2017/03/03 - more robust seeking; fix negative ilog(); clear error in open_memory
|
||||||
// 1.09 - 2016/04/04 - back out 'truncation of last frame' fix from previous version
|
// 1.09 - 2016/04/04 - back out 'truncation of last frame' fix from previous version
|
||||||
// 1.08 - 2016/04/02 - warnings; setup memory leaks; truncation of last frame
|
// 1.08 - 2016/04/02 - warnings; setup memory leaks; truncation of last frame
|
||||||
|
|
|
@ -66,7 +66,7 @@ LINK32=link.exe
|
||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
# ADD CPP /nologo /MTd /W3 /GX /Zi /Od /I ".." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "GRID_TEST" /FR /FD /GZ /c
|
# ADD CPP /nologo /MTd /W3 /GX /Zi /Od /I ".." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "VORBIS_TEST" /FR /FD /GZ /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
||||||
# ADD RSC /l 0x409 /d "_DEBUG"
|
# ADD RSC /l 0x409 /d "_DEBUG"
|
||||||
|
|
Loading…
Reference in New Issue