瀏覽代碼

update version numbers

Sean Barrett 6 年之前
父節點
當前提交
2c2908f505
共有 12 個文件被更改,包括 37 次插入23 次删除
  1. 12 12
      README.md
  2. 2 1
      stb.h
  3. 2 1
      stb_c_lexer.h
  4. 2 1
      stb_connected_components.h
  5. 6 1
      stb_ds.h
  6. 2 1
      stb_herringbone_wang_tile.h
  7. 2 1
      stb_image.h
  8. 2 1
      stb_image_resize.h
  9. 1 1
      stb_image_write.h
  10. 2 1
      stb_tilemap_editor.h
  11. 2 1
      stb_vorbis.c
  12. 2 1
      stb_voxel_render.h

+ 12 - 12
README.md

@@ -11,30 +11,30 @@ by Jorge L. "VinoBS" Rodriguez, and stb_sprintf by Jeff Roberts.
 
 library    | lastest version | category | LoC | description
 --------------------- | ---- | -------- | --- | --------------------------------
-**[stb_vorbis.c](stb_vorbis.c)** | 1.15 | audio | 5479 | decode ogg vorbis files from file/memory to float/16-bit signed output
-**[stb_image.h](stb_image.h)** | 2.21 | graphics | 7530 | image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC
+**[stb_vorbis.c](stb_vorbis.c)** | 1.16 | audio | 5486 | decode ogg vorbis files from file/memory to float/16-bit signed output
+**[stb_image.h](stb_image.h)** | 2.22 | graphics | 7547 | image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC
 **[stb_truetype.h](stb_truetype.h)** | 1.21 | graphics | 4882 | parse, decode, and rasterize characters from truetype fonts
-**[stb_image_write.h](stb_image_write.h)** | 1.11 | graphics | 1621 | image writing to disk: PNG, TGA, BMP
-**[stb_image_resize.h](stb_image_resize.h)** | 0.95 | graphics | 2627 | resize images larger/smaller with good quality
+**[stb_image_write.h](stb_image_write.h)** | 1.13 | graphics | 1622 | image writing to disk: PNG, TGA, BMP
+**[stb_image_resize.h](stb_image_resize.h)** | 0.96 | graphics | 2630 | resize images larger/smaller with good quality
 **[stb_rect_pack.h](stb_rect_pack.h)** | 1.00 | graphics | 628 | simple 2D rectangle packer with decent quality
-**[stb_ds.h](stb_ds.h)** | 0.3 | utility | 1638 | typesafe dynamic array and hash tables for C, will compile in C++
+**[stb_ds.h](stb_ds.h)** | 0.4 | utility | 1669 | typesafe dynamic array and hash tables for C, will compile in C++
 **[stb_sprintf.h](stb_sprintf.h)** | 1.06 | utility | 1860 | fast sprintf, snprintf for C/C++
 **[stretchy_buffer.h](stretchy_buffer.h)** | 1.03 | utility | 262 | typesafe dynamic array for C (i.e. approximation to vector<>), doesn't compile as C++
 **[stb_textedit.h](stb_textedit.h)** | 1.13 | user&nbsp;interface | 1404 | guts of a text editor for games etc implementing them from scratch
-**[stb_voxel_render.h](stb_voxel_render.h)** | 0.87 | 3D&nbsp;graphics | 3805 | Minecraft-esque voxel rendering "engine" with many more features
+**[stb_voxel_render.h](stb_voxel_render.h)** | 0.88 | 3D&nbsp;graphics | 3806 | Minecraft-esque voxel rendering "engine" with many more features
 **[stb_dxt.h](stb_dxt.h)** | 1.08b | 3D&nbsp;graphics | 728 | Fabian "ryg" Giesen's real-time DXT compressor
 **[stb_perlin.h](stb_perlin.h)** | 0.4 | 3D&nbsp;graphics | 366 | revised Perlin noise (3D input, 1D output)
 **[stb_easy_font.h](stb_easy_font.h)** | 1.0 | 3D&nbsp;graphics | 303 | quick-and-dirty easy-to-deploy bitmap font for printing frame rate, etc
-**[stb_tilemap_editor.h](stb_tilemap_editor.h)** | 0.40 | game&nbsp;dev | 4178 | embeddable tilemap editor
-**[stb_herringbone_wa...](stb_herringbone_wang_tile.h)** | 0.6 | game&nbsp;dev | 1220 | herringbone Wang tile map generator
-**[stb_c_lexer.h](stb_c_lexer.h)** | 0.09 | parsing | 962 | simplify writing parsers for C-like languages
+**[stb_tilemap_editor.h](stb_tilemap_editor.h)** | 0.41 | game&nbsp;dev | 4161 | embeddable tilemap editor
+**[stb_herringbone_wa...](stb_herringbone_wang_tile.h)** | 0.7 | game&nbsp;dev | 1221 | herringbone Wang tile map generator
+**[stb_c_lexer.h](stb_c_lexer.h)** | 0.10 | parsing | 964 | simplify writing parsers for C-like languages
 **[stb_divide.h](stb_divide.h)** | 0.92 | math | 421 | 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.h](stb.h)** | 2.33 | misc | 14471 | helper functions for C, mostly redundant in C++; basically author's personal stuff
+**[stb_connected_comp...](stb_connected_components.h)** | 0.96 | misc | 1049 | incrementally compute reachability on grids
+**[stb.h](stb.h)** | 2.34 | misc | 14453 | helper functions for C, mostly redundant in C++; basically author's personal stuff
 **[stb_leakcheck.h](stb_leakcheck.h)** | 0.5 | misc | 190 | quick-and-dirty malloc/free leak-checking
 
 Total libraries: 21  
-Total lines of C code: 55620
+Total lines of C code: 55652
 
 
 FAQ

+ 2 - 1
stb.h

@@ -1,4 +1,4 @@
-/* stb.h - v2.33 - Sean's Tool Box -- public domain -- http://nothings.org/stb.h
+/* stb.h - v2.34 - Sean's Tool Box -- public domain -- http://nothings.org/stb.h
           no warranty is offered or implied; use this code at your own risk
 
    This is a single header file with a bunch of useful utilities
@@ -25,6 +25,7 @@
 
 Version History
 
+   2.34   fix warnings
    2.33   more fixes to random numbers
    2.32   stb_intcmprev, stb_uidict, fix random numbers on Linux
    2.31   stb_ucharcmp

+ 2 - 1
stb_c_lexer.h

@@ -1,4 +1,4 @@
-// stb_c_lexer.h - v0.09 - public domain Sean Barrett 2013
+// stb_c_lexer.h - v0.10 - public domain Sean Barrett 2013
 // lexer for making little C-like languages with recursive-descent parsers
 //
 // This file provides both the interface and the implementation.
@@ -10,6 +10,7 @@
 // suffixes on integer constants are not handled (you can override this).
 //
 // History:
+//     0.10 fix warnings
 //     0.09 hex floats, no-stdlib fixes
 //     0.08 fix bad pointer comparison
 //     0.07 fix mishandling of hexadecimal constants parsed by strtol

+ 2 - 1
stb_connected_components.h

@@ -1,4 +1,4 @@
-// stb_connected_components - v0.95 - public domain connected components on grids
+// stb_connected_components - v0.96 - public domain connected components on grids
 //                                                 http://github.com/nothings/stb
 //
 // Finds connected components on 2D grids for testing reachability between
@@ -37,6 +37,7 @@
 //
 // CHANGELOG
 //
+//    0.96  (2019-03-04)  Fix warnings
 //    0.95  (2016-10-16)  Bugfix if multiple clumps in one cluster connect to same clump in another
 //    0.94  (2016-04-17)  Bugfix & optimize worst case (checkerboard & random)
 //    0.93  (2016-04-16)  Reduce memory by 10x for 1Kx1K map; small speedup

+ 6 - 1
stb_ds.h

@@ -1,4 +1,4 @@
-/* stb_ds.h - v0.3 - public domain data structures - Sean Barrett 2019
+/* stb_ds.h - v0.4 - public domain data structures - Sean Barrett 2019
   
    This is a single-header-file library that provides easy-to-use
    dynamic arrays and hash tables for C (also works in C++).
@@ -72,6 +72,10 @@ DOCUMENTATION
         size_t arrlenu(T*);
           Returns the number of elements in the array as an unsigned type.
 
+      arrpop:
+        T arrpop(T* a)
+          Removes the final element of the array and returns it.
+
       arrput:
         T arrput(T* a, T b);
           Appends the item b to the end of array a. Returns b.
@@ -307,6 +311,7 @@ CREDITS
 
   Sean Barrett -- library, idea for dynamic array API/implementation
   Per Vognsen  -- idea for hash table API/implementation
+  Rafael Sachetto -- arrpop()
 */
 
 #ifdef STBDS_UNIT_TESTS

+ 2 - 1
stb_herringbone_wang_tile.h

@@ -1,4 +1,4 @@
-/* stbhw - v0.6 -  http://nothings.org/gamedev/herringbone
+/* stbhw - v0.7 -  http://nothings.org/gamedev/herringbone
    Herringbone Wang Tile Generator - Sean Barrett 2014 - public domain
 
 == LICENSE ==============================
@@ -140,6 +140,7 @@ int main(int argc, char **argv)
 
 == VERSION HISTORY ===================
 
+   0.7   2019-03-04   - fix warnings
 	0.6   2014-08-17   - fix broken map-maker
 	0.5   2014-07-07   - initial release 
 

+ 2 - 1
stb_image.h

@@ -1,4 +1,4 @@
-/* stb_image - v2.21 - public domain image loader - http://nothings.org/stb
+/* stb_image - v2.22 - public domain image loader - http://nothings.org/stb
                                   no warranty implied; use at your own risk
 
    Do this:
@@ -48,6 +48,7 @@ LICENSE
 
 RECENT REVISION HISTORY:
 
+      2.22  (2019-03-04) gif fixes, fix warnings
       2.21  (2019-02-25) fix typo in comment
       2.20  (2019-02-07) support utf8 filenames in Windows; fix warnings and platform ifdefs 
       2.19  (2018-02-11) fix warning

+ 2 - 1
stb_image_resize.h

@@ -1,4 +1,4 @@
-/* stb_image_resize - v0.95 - public domain image resizing
+/* stb_image_resize - v0.96 - public domain image resizing
    by Jorge L Rodriguez (@VinoBS) - 2014
    http://github.com/nothings/stb
 
@@ -159,6 +159,7 @@
       Nathan Reed: warning fixes
 
    REVISIONS
+      0.96 (2019-03-04) fixed warnings
       0.95 (2017-07-23) fixed warnings
       0.94 (2017-03-18) fixed warnings
       0.93 (2017-03-03) fixed bug with certain combinations of heights

+ 1 - 1
stb_image_write.h

@@ -1,4 +1,4 @@
-/* stb_image_write - v1.11 - public domain - http://nothings.org/stb/stb_image_write.h
+/* stb_image_write - v1.13 - 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
                                      no warranty implied; use at your own risk
 

+ 2 - 1
stb_tilemap_editor.h

@@ -1,4 +1,4 @@
-// stb_tilemap_editor.h - v0.40 - Sean Barrett - http://nothings.org/stb
+// stb_tilemap_editor.h - v0.41 - Sean Barrett - http://nothings.org/stb
 // placed in the public domain - not copyrighted - first released 2014-09
 //
 // Embeddable tilemap editor for C/C++
@@ -275,6 +275,7 @@
 //   either approach allows cut&pasting between levels.)
 //
 // REVISION HISTORY
+//   0.41  fix warnings
 //   0.40  fix warning
 //   0.39  fix warning
 //   0.38  fix warning

+ 2 - 1
stb_vorbis.c

@@ -1,4 +1,4 @@
-// Ogg Vorbis audio decoder - v1.15 - public domain
+// Ogg Vorbis audio decoder - v1.16 - public domain
 // http://nothings.org/stb_vorbis/
 //
 // Original version written by Sean Barrett in 2007.
@@ -33,6 +33,7 @@
 //    Timur Gagiev
 //
 // Partial history:
+//    1.16    - 2019-03-04 - fix warnings
 //    1.15    - 2019-02-07 - explicit failure if Ogg Skeleton data is found
 //    1.14    - 2018-02-11 - delete bogus dealloca usage
 //    1.13    - 2018-01-29 - fix truncation of last frame (hopefully)

+ 2 - 1
stb_voxel_render.h

@@ -1,4 +1,4 @@
-// stb_voxel_render.h - v0.87 - Sean Barrett, 2015 - public domain
+// stb_voxel_render.h - v0.88 - Sean Barrett, 2015 - public domain
 //
 // This library helps render large-scale "voxel" worlds for games,
 // in this case, one with blocks that can have textures and that
@@ -192,6 +192,7 @@
 //
 // VERSION HISTORY
 //
+//   0.88   (2019-03-04)  fix warnings
 //   0.87   (2019-02-25)  fix warning
 //   0.86   (2019-02-07)  fix typos in comments
 //   0.85   (2017-03-03)  add block_selector (by guitarfreak)