Commit Graph

474 Commits

Author SHA1 Message Date
rude e1d1ebb2f1 Fix warnings in MSVC 2010. 2011-07-24 18:32:11 +02:00
Bart van Strien 3c5c4ee604 Add SpriteBatch support to love.graphics.isSupported 2011-07-24 15:37:02 +02:00
Bart van Strien bd2b190a19 Add love.graphics.isSupported
Replaces love.graphics.hasPixelEffects and also does framebuffer support.

Also fixed 4 compiler warnings.
2011-07-24 15:21:52 +02:00
vrld 7b6836466e Add missing files 2011-07-24 14:08:11 +02:00
vrld 24a52f056b Add pixel effects (love-glsl) 2011-07-24 14:03:46 +02:00
Bart van Strien 9c11bfa236 Resolve memory leak in sources 2011-07-24 13:51:24 +02:00
Bart van Strien c924d17de9 Another small fix to the tell 'counting' 2011-07-23 19:57:19 +02:00
Bart van Strien e72f84e7fd Don't reset song counter (for tell) when the decoder loops, but when the song does (bug #251) 2011-07-23 17:49:48 +02:00
rude 387a8ab2dc Issue #262: Add per-sprite colors. 2011-07-23 17:12:29 +02:00
Bart van Strien 5192215122 Fix seek and tell on streaming sounds (bugs #250 and #251) 2011-07-22 16:20:51 +02:00
vrld b1c5b948c3 Fix issue #259: oy ignored in love.graphics.drawq 2011-07-18 02:07:46 +02:00
Bart van Strien 94d16c095c Always check if the fsaa succeeded 2011-07-11 21:08:49 +02:00
Bart van Strien 07393c46f2 Allocate as many samples as requested (issue #240) 2011-07-11 17:18:55 +02:00
Bart van Strien cc4f0e2661 Add love.graphics.getMode, thanks Boolsheet (issue #254) 2011-07-11 17:14:52 +02:00
vrld 1f50a932dc do the merge thing 2011-07-05 16:06:49 +02:00
vrld 6ea187b2f1 Use *ARB versions for VBOs in SpriteBatch. Throw error if SpriteBatch not
supported. Prettier overloading of SpriteBatch:add[q]().
2011-07-05 16:06:14 +02:00
Bart van Strien 77ccb93506 Fix regression due to thread backends commit 2011-07-05 15:30:55 +02:00
vrld d420d68048 Add shear transformation and transform object (issue #152).
Add origin parameters to love.graphics.print.

New shear parameters kx,ky for:
- love.graphics.draw,
- love.graphics.drawq,
- love.graphics.print,
- SpriteBatch:add,
- SpriteBatch:addq.

Transform objects apply to:
- love.graphics.draw,
- love.graphics.drawq,
- love.graphics.print.
2011-07-05 14:33:34 +02:00
Bart van Strien ce5927379d Use a lua_type switch/case in thread.send, to prevent casts (bug #252)
Push non-love userdata as lightuserdata, will probably break it, but shouldn't crash love (bug #243)
2011-07-03 18:02:53 +02:00
Bart van Strien 94ec448a1b Fix getPixel 2011-07-03 12:49:11 +02:00
Bart van Strien fd5ca8e2c3 Missing a not, of course 2011-07-02 18:20:43 +02:00
Bart van Strien 60128e1b06 Fix quads on computers supporting npot textures 2011-07-02 18:17:47 +02:00
Bill Meltsner 5809f6b067 remove the now-unnecessary SDL stuff from love.audio 2011-07-02 10:52:45 -05:00
Bart van Strien 404a3d529c Make seek and tell thread-safe (bug #245) 2011-07-02 16:43:56 +02:00
Bart van Strien f993fe99d3 Catch errors in getPixel and setPixel (bug #93) 2011-07-02 16:24:58 +02:00
Bart van Strien d215c15702 Fix memory leak in audio (bug #249) 2011-07-02 16:21:10 +02:00
Bart van Strien e5cd9f04d2 Apply Boolsheet's cosmetics (ticket #200) 2011-06-30 13:13:58 +02:00
Bart van Strien 176fb7d2f5 Manage our own ImageData, thereby bypassing DevILs thread-safety issues (bug #200) 2011-06-29 12:49:31 +02:00
Bill Meltsner 1cf6a6fee1 update the project for OS X and make pthreads work properly 2011-06-28 22:02:53 -05:00
Bart van Strien 8c5db2a92f Fix up posix threading backend 2011-06-28 17:01:35 +02:00
Bart van Strien b90771d44a Fail gracefully on a utf-8 decoding error (bug #244) 2011-06-24 01:18:48 +02:00
Bart van Strien 160c17c180 Drop old require syntax (no more .lua extension) 2011-06-22 14:54:29 +02:00
Bart van Strien fc5cda36e2 Allow merged games marked as 'release' to have their save dir directly in the appdata dir 2011-06-15 13:09:32 +02:00
Bart van Strien d613505a77 Only pad when needed 2011-06-10 15:03:27 +02:00
Bart van Strien bd158faaaa Revise spritebatch locking (binding now) (issue #231) 2011-06-10 14:40:37 +02:00
Bart van Strien fafe0d7039 Wait until the end of a physics update before destroying bodies (issue #193) 2011-06-10 14:03:56 +02:00
Bart van Strien da4c199467 Hopefully the last fixes to the win32 thread backend 2011-06-09 12:23:11 +02:00
Bart van Strien 994ad74e22 Additional cleanup 2011-06-09 11:01:11 +02:00
Bart van Strien 709263b032 Some fixes for the new threading backends 2011-06-09 10:56:13 +02:00
Bart van Strien f9ec21619a More audio fixes (bug #217) 2011-06-09 10:26:47 +02:00
Bart van Strien a372dcaec8 Some audio fixes (no more mp3 clicking and popping?) (issue #217) 2011-06-08 23:37:01 +02:00
Bart van Strien 43a6357b54 Use correct height for y correction in set/getScissor (bug #234) 2011-06-08 23:17:32 +02:00
Bart van Strien efb8efb45e Prevent overflows and underflows in love.graphics.push and love.graphics.pop (bug #118)
Maximum is hardware maximum - 5, so the engine itself has a few matrices.
2011-06-08 22:45:28 +02:00
Bart van Strien 6e28c49a20 Map box2d asserts to love::Exception and catch them in constructors
Should be added to other functions commonly failing sometime.
2011-06-08 21:44:21 +02:00
Bart van Strien 3460bf918c Enabled headless build in autotools 2011-06-08 17:14:41 +02:00
Przemysław Grzywacz 1d5fca6f46 Multiple thread backends. 2011-06-08 16:54:35 +02:00
Bill Meltsner 09ed781f66 tabs for indentation, not spaces (dammit Xcode) 2011-06-03 17:04:35 -05:00
Bill Meltsner c981d835d3 Cleaned up/updated love.graphics doc comments. 2011-06-03 16:43:33 -05:00
vrld 30d6968ef9 Rename 'defineMask' to 'newMask'. Add inverted mask (issue #226). 2011-05-30 14:45:33 +02:00
Bill Meltsner 42fd4fa9c4 Merge 2011-05-28 22:00:05 -05:00