Commit Graph

217 Commits

Author SHA1 Message Date
Sean Barrett 9c8762a156 update other_libs.md 2016-01-23 08:44:27 -08:00
Sean Barrett 820f63be44 stb_tilemap_editor: fix typo in docuemtnation, update version & credits 2016-01-22 05:17:12 -08:00
Sean Barrett 0860860af6 avoid __forceinline in mingw since their definition for C is broken;
dummy definitions for malloc et al (note you have to modify source to make this work though anyway);
tweak credits change;
2016-01-16 07:19:27 -08:00
Sean Barrett 2b57ea95da fixed version of removed support for CODEBOOK_SHORTS 2015-11-08 19:16:25 -08:00
Sean Barrett bc2219e1b3 fix multiple crashes on invalid files 2015-11-08 16:22:07 -08:00
Sean Barrett ea88e59b5d fix invalid handling of truncated end-of-file indicator 2015-11-08 13:45:33 -08:00
Sean Barrett 69a318bdb3 fix two invalid-file crashes found by fuzz testing 2015-11-08 13:20:55 -08:00
Sean Barrett 2073403a5f fix two setup crashes found by fuzz testing 2015-11-08 13:09:30 -08:00
Sean Barrett 297ff62859 change bmp info to use common header parser 2015-11-08 13:09:16 -08:00
Sean Barrett 876aea3dbe refactor bmp header parser for sharing with stbi_info 2015-11-08 01:22:30 -08:00
Sean Barrett 93b2b82996 get rid of unused return value from write callback 2015-09-14 05:57:42 -07:00
Sean Barrett b4477803cb fix public function names;
fix internal names to be namspaced properly;
2015-09-14 05:48:24 -07:00
Sean Barrett ff116a4fe8 allow font ranges with first_char = 0;
fix divide by 0 for exactly-vertical edges;
fix possible divide by 0 for exactly-horizontal edges
add documentation for stbtt_Rasterize;
2015-09-13 11:42:54 -07:00
Sean Barrett d5b8af12cb fix missing "defined" in #if defined(STBI_NO_foo);
fix incorrect initialization of alpha channel for RGB PSD
2015-09-13 11:08:40 -07:00
Sean Barrett 023ff3ffd2 Merge pull request #140 from ocornut/stb-wingraph-static
stb_wingraph.h: missing lib pragmas for completeness
2015-09-13 07:01:02 -07:00
Sean Barrett 33c9010223 update version & version history 2015-09-13 05:51:16 -07:00
Sean Barrett 90dc93a1cc fix bug where we couldn't rewind a file that reached EOF, which can happen with < 92-byte PIC,PNM,HDR,TGA 2015-09-13 05:41:21 -07:00
Sean Barrett a3d62dfec1 fix a few crash bugs with invalid stb_vorbis files (reported by Philip Bennefall, found using a fuzz tester) 2015-09-03 11:16:19 -07:00
Sean Barrett 0e24ec5feb fix some cases that didn't return outofmem error properly and would crash instead 2015-09-03 07:11:02 -07:00
Sean Barrett c15190373c add missing changes to project file 2015-08-30 19:31:36 -07:00
Sean Barrett ebb54fd7a3 seeking in stb_vorbis (Dougall Johnson)
test program for seeking (stb)
2015-08-30 19:29:35 -07:00
Sean Barrett d821fd83f3 Merge branch 'master' into working
Conflicts:
	stb_voxel_render.h
2015-08-01 04:02:00 -07:00
ocornut be8284de7e stb_wingraph.h: missing lib pragmas for completeness 2015-06-30 20:02:41 -06:00
Sean Barrett aa89970d6b stb_image.h: fix *comp value when loading PSDs
stb_voxel_render.h: fix STBVOX_CONFIG_OPTIMIZED_VHEIGHT
2015-05-28 22:11:45 -07:00
Sean Barrett 3f17b24d90 make sure all libs compile as C++ 2015-04-14 03:53:26 -07:00
Sean Barrett 1384715b11 Merge branch 'master' into working 2015-04-13 11:58:26 -07:00
Sean Barrett 7b72651134 add stb_voxel_render to standard compilation tests 2015-04-12 08:59:49 -07:00
Sean Barrett 9534eb2e08 added input.packed_compact for storing most of the major 2/3-bit values in one byte 2015-04-12 01:23:18 -07:00
Sean Barrett 6685256560 change STBVOX_MAKE_LIGHTING to STBVOX_MAKE_LIGHTING_EXT so header file
doesn't have to see the config variables (although this way is actually
more bug prone since you can now use the wrong macro)
2015-04-11 01:05:55 -07:00
Sean Barrett e2b645e4d7 Add vheight documentation;
Add a missing vheight case;
Add STBVOX_CONFIG_VHEIGHT_IN_LIGHTING;
Fix broken STBVOX_CONFIG_ROTATION_IN_LIGHTING that was broken when I incompletely refactored the #define
2015-04-11 01:01:57 -07:00
Sean Barrett cd1d05b389 voxel render 0.78; compile as C++, fix bad #else 2015-04-02 07:08:27 -07:00
Sean Barrett 90d58e577e Update README.md 2015-04-01 13:52:03 -07:00
Mischanix feae54a2d9 Request a 24-bit depth buffer 2015-04-01 12:41:49 -05:00
Sean Barrett 3bb829574d mostly documented 2015-04-01 00:24:46 -07:00
Sean Barrett 9e5e19f5a3 various fixes 2015-03-31 02:32:17 -07:00
Sean Barrett 28630fb253 various fixes 2015-03-30 13:19:06 -07:00
Sean Barrett 0f8e471f7b various voxel/caveview improvements 2015-03-28 17:36:09 -07:00
Sean Barrett 0669a6659a fixes for premultiplied alpha 2015-03-17 02:21:17 -07:00
Sean Barrett ba49d37e6a premultiplied alpha support 2015-03-17 02:10:58 -07:00
Sean Barrett f49c90c03d beginnings of mode support;
reconstruct full table of bit allocations per mode
2015-03-15 11:17:14 -07:00
Sean Barrett c588d29e95 switch shader variation from runtime-with-tags to dynamic with #ifdefs;
support making all definitions static so you can have multiple copies of file (with different #ifdefs);
move all tables to end of file (this will have to be undone later because IIRC it's not compatible with C++ or with some compilers or something, but it'll make my life easier in the interim);
2015-03-15 10:18:13 -07:00
Sean Barrett 00810b7d11 correct normals for vheight floors 2015-03-14 15:02:51 -07:00
Sean Barrett c10b3fefae correct normals for upwards slope (and dummy lighting to test it) 2015-03-13 19:00:34 -07:00
Sean Barrett 177498673e update readme with wood type status 2015-03-13 12:39:30 -07:00
Sean Barrett 6509e1d1e7 minecraft wood types (only for solid blocks) 2015-03-13 12:45:49 -07:00
Sean Barrett f02b0d700f if vertex buffer is full, mesh builder stops gracefully and remembers where to continue 2015-03-13 12:00:00 -07:00
Sean Barrett efcd76c9ab support texture rotation; better interaction of mouse centering & VC6 debugger; fix in-place conversion when mca blocks are written in different order 2015-03-12 19:03:49 -07:00
Sean Barrett 3d4f545fd7 remove unused gl_fragColor support 2015-03-12 11:38:10 -07:00
Sean Barrett 673cbb1ee4 remove unused code from cave_main 2015-03-12 00:07:50 -07:00
Sean Barrett 0cd5465f52 re-add README.md that was in a different branch 2015-03-12 00:00:10 -07:00