Commit Graph

801 Commits

Author SHA1 Message Date
Bart van Strien 59a407bc6d Add second loader for binary modules 2011-08-12 13:49:49 +02:00
rude 873a99aba1 Add missing #include in VertexBuffer.cpp. 2011-08-12 13:38:42 +02:00
rude 480f936815 Added 'VertexBuffer' abstraction. SpriteBatches are now always supported.
Also improved memory usage in SpriteBatch. (No need to retain full copy of
sprites in memory. Can read that data back later to save data from OpenGL
context destruction).
2011-08-12 11:35:14 +02:00
Bart van Strien c47a7c563b REALLY fix stopping sources 2011-08-08 16:26:38 +02:00
Bart van Strien 0b0d8fe3e5 Unbreak stop (issue #250) 2011-08-08 15:54:43 +02:00
Bart van Strien 3da5b3fd46 Make the eof code compile on windows 2011-08-08 15:32:34 +02:00
Bart van Strien 7e06aebf66 Work around PhysicsFS eof bug on windows (issue #272) 2011-08-07 18:23:07 +02:00
Bart van Strien 03f60e2bf3 Unbuffer when rewinding streaming sources (bug #250) 2011-08-07 13:54:36 +02:00
Bart van Strien d3280ae55b Fix segfault in lines_i 2011-08-06 17:14:52 +02:00
Bart van Strien a79231f9f9 Catch exception in lines 2011-08-06 16:54:04 +02:00
Bart van Strien eae6c0ff85 Remove duplicate lines_i, finally fix leak (issue #271) 2011-08-06 16:51:33 +02:00
Bart van Strien fdc56e7e73 Fix File:getSize crashing for a non-existent file 2011-08-06 14:44:49 +02:00
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
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
Bill Meltsner b3434997bf more joint updates to better match the API
--HG--
branch : box2d-update
2011-07-02 11:46:42 -05: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