Commit Graph

559 Commits

Author SHA1 Message Date
Bart van Strien 4165ac7e66 Add love.event.quit 2011-08-06 14:22:00 +02:00
Bart van Strien 620d359331 Add getRenderTarget (issue #257) 2011-08-06 14:16:28 +02:00
Bart van Strien 416370b595 Improve Source controls 2011-08-06 14:02:37 +02:00
Bart van Strien defd6c5ee4 Attempt to close open files when File objects are destroyed 2011-08-06 13:42:57 +02:00
Bart van Strien e4f398604b Fix spelling misstake in setGrab wrapper 2011-08-06 13:39:54 +02:00
Bart van Strien 9ed5906416 Fix lines iterator not closing opened files 2011-08-06 13:36:22 +02:00
Bart van Strien 69f12bf899 Another fix for seeking in audio sources 2011-08-05 12:29:42 +02:00
rude 9a4b921605 Particles now have fixed origin. (ParticleSystem::SetPosition will only affect
new particles, and existing particles will not gravitate against the new point).

This is another requirement to implement ParticleSystem in GLSL.
2011-07-24 18:47:13 +02:00
rude 1274b5d55a Do not allow more than eight sizes and colors in ParticleSystem. This makes it
less impossible to implement ParticleSystem as a vertex shader in the future.
2011-07-24 18:40:22 +02:00
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
vrld 26277b6450 Transformation tables are unlövely 2011-07-23 13:52:04 +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 9923c02b64 Fix automatic load of default font 2011-07-16 20:40:46 +02:00
Bart van Strien 4fa609a059 Use LÖVE as window title for the no game screen (apply Boolsheet's patch for issue #260) 2011-07-15 20:22:36 +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 dd143c76ac Add transform tables to SpriteBatch:add() and SpriteBatch:addq(). 2011-07-05 15:26:42 +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 a012a4408e New no-game screen (credits go to rude), updated version number and codename 2011-06-23 17:08:26 +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 d34d907b00 Rewrite auto.lua
Biggest advantages being automatic header+footer generation, minimal code verification and smaller diffs (from now on)
2011-06-21 19:45:00 +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