Commit Graph

783 Commits

Author SHA1 Message Date
vrld 5eb26e8f7e Probably fix issue #312. Needs more testing with intel cards. 2011-10-12 17:11:13 +02:00
vrld 51443454c2 Determine FramebufferStrategy only once 2011-10-12 17:10:04 +02:00
vrld 6b7b68ebd0 Fix issue #314: Can't use #define in shader code. 2011-10-12 12:37:09 +02:00
Bill Meltsner c5cf3fefeb that awkward moment when you forget you can't automatically allocate arrays with variable expressions in C++ 2011-10-12 00:06:15 -05:00
Bill Meltsner bc0cd3b2d5 Changing flipping broke Canvas:getImageData - fortunately, it also made it much simpler (fixes issue #311) 2011-10-11 23:29:10 -05:00
vrld ce9e694acc Make setDefaultImageFilter() not break image:setFilter() (thanks adrix89!) 2011-10-10 12:16:28 +02:00
Bill Meltsner 668b4cbcbd Update MSVC project with new files 2011-10-07 19:52:14 -04:00
vrld d1e5bc4b1f Update changelog 2011-10-07 15:00:40 +02:00
vrld b0b9117721 Add uniform cache in pixel effect. Remove a compiler warning and debug output. 2011-10-07 14:44:57 +02:00
vrld 48137cd2e1 Fix Issue #278: Set default filter mode for new images.
Add the somewhat lengthy named love.graphics.getDefaultImageFilter() and
love.graphics.getDefaultImageFilter(). The verbose name should point to the
fact that changing the default filter midway through the game will not affect
the images already loaded using love.graphics.newImage().
2011-10-07 14:44:17 +02:00
Bart van Strien bee9d49515 Add premultiplied blending 2011-10-06 15:17:21 +02:00
Bill Meltsner ff284e74e4 It's not Canvas:drawq, it's love.graphics.drawq 2011-10-05 01:34:42 -04:00
Bill Meltsner 5fb9f982b0 Ch-ch-ch-ch-changes 2011-10-04 12:47:20 -04:00
Bill Meltsner 4f4fbae9a5 Properly #include DrawQable in wrap_Graphics.cpp 2011-10-04 12:38:40 -04:00
Bill Meltsner 14348f6146 Create DrawQable class, make Image and Canvas DrawQable, and make love.graphics.drawq take a DrawQable as its first argument 2011-10-04 12:33:34 -04:00
Bill Meltsner 4cb247b3ea Change how Canvas is flipped and add Canvas::drawq 2011-10-04 11:34:33 -04:00
Bart van Strien 9425c56de8 Null terminate version compatibility list 2011-10-04 15:19:17 +02:00
Bart van Strien 73de544d21 Add getWidth and getHeight to Canvas (issue #307) 2011-10-03 09:40:41 +02:00
Bill Meltsner 2949d2ea4a Update Xcode project to support 64-bit builds, and clean up some old project cruft 2011-10-03 01:38:13 -04:00
Bart van Strien 4f70742875 Display a warning if the game's version is incompatible. 2011-10-03 00:52:44 +02:00
Bart van Strien bd2172f826 Update version keeping 2011-10-02 17:00:09 +02:00
Bart van Strien 66ecf8aff0 Apply patch for increased timer accuracy (issue #303) 2011-10-02 16:11:24 +02:00
Bart van Strien eb7053b43f Switch love.timer over to double precision floats 2011-09-30 14:57:03 +02:00
Bart van Strien caf46ad430 Prevent infinite loop when destroying sources (issue #250) 2011-09-26 23:21:53 +02:00
Bart van Strien 05c2749760 Joysticks are supposed to be 1-indexed, even in the callbacks.. 2011-09-21 21:26:34 +02:00
Bart van Strien dc873c24f0 Some exception cleanup 2011-09-11 22:55:34 +02:00
Bart van Strien 8f9a4ef15d Improve stop and rewind logic for openal 2011-09-11 22:29:37 +02:00
Bart van Strien 96a5a3e402 Catch not just the generic utf8 exception, but a few specific ones as well (bug #244) 2011-09-11 12:51:34 +02:00
Bart van Strien c28659ae33 Rework source updates, do clean stopping of streaming sources once they end. (bug #295) 2011-09-10 17:28:38 +02:00
Bart van Strien 9199f1be5b Catch ALL the utf8 errors (bug #244) 2011-09-10 15:34:45 +02:00
vrld 65f8bcd375 Another take at issue #294, which should fix issues with nVidia cards.
According to http://www.opengl.org/wiki/Image_Formats#Depth_stencil_formats, no driver really supported an individial stencil attachment. Combined depth/stencil buffers have support since OpenGL 3.0 or with the packed_depth_stencil extension.
2011-09-08 16:09:10 +02:00
vrld 4f0028050d Fix issue #294 (really this time).
Add stencil attachment to framebuffer creation. Needed to remove depth
attachment to make it work, but that should not change anything, since depth
test is not enabled anyway. May need testing nonetheless.
2011-09-08 12:25:43 +02:00
vrld eec0250545 Fix issue #292: Can't send arrays to pixeleffects.
Arrays of numbers, vectors and matrices are supported.
2011-09-07 23:32:54 +02:00
vrld 2eb9ee20d5 Fix issue #291: Usage of unsanitized GLSL compiler errors.
Compiler errors may contain vsprintf-escape sequences, which is used by
love::Exception. Wrap errors in %s to avoid garbage output.
2011-09-07 13:52:07 +02:00
vrld d5dce6284f Fix issue #294: Canvas not working when not rendering to default render target. 2011-09-07 13:42:51 +02:00
Bart van Strien 78389d2e69 Oops, reversed that. 2011-09-05 19:26:20 +02:00
Bart van Strien 31f290f062 Update changelog according to (Anonymous user)'s Guide To A Better Love Changelog for 0.8.0. 2011-09-05 19:22:08 +02:00
Bill Meltsner 77f2f856e1 Reset OS X deployment target to 10.5, we're not abandoning Leopard or anything 2011-09-03 16:25:10 -04:00
Bill Meltsner 884b0bdccd Modernize and update Xcode project to handle love.graphics changes 2011-09-03 16:15:16 -04:00
Bart van Strien 6e630e8987 Fix width for getWrap and catch utf8 decoding errors in getWrap and getSize (issues #230 and #244) 2011-09-03 16:22:21 +02:00
Bart van Strien 190e11d016 Move wrapping to Font::getWrap and make printf use that (fixes issue #230) 2011-09-03 14:31:31 +02:00
Bart van Strien f9084c4625 Thread:getKeys needs to return a 1-indexed table 2011-08-31 12:28:56 +02:00
Bart van Strien cc7b6431eb Change default segments for l.g.circle to max(10, r) 2011-08-31 12:13:06 +02:00
Bart van Strien 7ab910f281 Update changelog 2011-08-30 17:18:11 +02:00
Bart van Strien 3d1fac07b2 Switch love.timer.sleep to seconds 2011-08-28 17:12:59 +02:00
rude 729cce93cd Prepared love.nsi for statically linked Lua. 2011-08-26 13:01:46 +02:00
Bart van Strien 0d174cfb81 Fix compiler warnings 2011-08-26 12:48:57 +02:00
Bart van Strien 5c43ba2779 More float quad work (issue #285) 2011-08-25 14:06:50 +02:00
Bart van Strien b14ca78109 Add string mapping for spritebatch usage parameter (issue #264) 2011-08-24 12:11:08 +02:00
Bart van Strien f0dad41f39 Switch quads over to floats instead of ints (issue #285) 2011-08-24 09:58:16 +02:00